aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/data/config.scm
blob: daa37f2221394d0cf2a363ecc267867b11e5e3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
(define-module (oni home data config)
  #:use-module (gnu home)
  #:use-module (gnu home services)
  #:use-module (gnu home services shells)
  #:use-module (gnu home services desktop)
  #:use-module (gnu services)
  #:use-module (gnu packages)
  #:use-module (gnu packages admin)
  #:use-module (guix gexp)
  #:use-module (oni home services xdisorg)
  #:use-module (oni home services xmodmap))

(home-environment
 (packages (list (specification->package+output "glibc-locales")))

 (services
  (list
   (simple-service 'some-useful-env-vars-service
                   home-environment-variables-service-type
                   `(("LESS" . "FXRSi")
                     ("MY_GUIX_CONFIGURED" . "1")
                     ("DOTNET_CLI_TELEMETRY_OPTOUT" . "1")
                     ("EDITOR" . "emacsclient")
                     ("CALIBRE_USE_DARK_PALETTE" . "1")
                     ("GUIX_LOCPATH" . "$HOME/.guix-home/profile/lib/locale")))

   (service home-redshift-service-type
            (home-redshift-configuration
             (location-provider 'manual)
             (latitude 49.2127205)
             (longitude 122.9267927)))

   (service home-zsh-service-type)

   (service home-rofi-service-type
            (home-rofi-configuration
             (config
              '((kb-cancel . "Escape,Control+g")
                (window-format . "{c}  {t}")))
             (theme
              '((* ((text-color . "#bfbfbf")
                    (background-color . "#3f4242")
                    (lightbg . "#5b6161")
                    (red . "#a85454")
                    (orange . "#faa41a")
                    (blue . "#1f2c3f")

                    (selected-normal-foreground . "@foreground")
                    (normal-foreground . "@foreground")
                    (alternate-normal-background . "@background")
                    (selected-urgent-foreground . "@foreground")
                    (urgent-foreground . "@foreground")
                    (alternate-urgent-background . "@background")
                    (active-foreground . "@text-color")
                    (selected-active-foreground . "@foreground")
                    (alternate-normal-foreground . "@foreground")
                    (alternate-active-background . "@blue")
                    (bordercolor . "@foreground")
                    (normal-background . "@background")
                    (selected-normal-background . "@blue")
                    (separatorcolor . "@orange")
                    (spacing . 2)
                    (urgent-background . "@red")
                    (alternate-urgent-foreground . "@foreground")
                    (selected-urgent-background . "@red")
                    (alternate-active-foreground . "@foreground")
                    (selected-active-background . "@blue")
                    (active-background . "@red")

                    (font . "Fantasque Sans Mono 14")))
                (window ((border . 0)
                         (text-color . "@foreground")
                         (background-color . "rgba(0, 0, 0, 0%)")
                         (padding . 5)
                         (text-color . "@bordercolor")
                         (background-color . "@background")))
                (mainbox ((border . 0)
                          (padding . 0)))
                (message ((border . "1px dash 0px 0px")
                          (text-color . "@separatorcolor")
                          (padding . "2px 0px 0px")))
                (textbox ((text-color . "@foreground")))
                (listview ((fixed-height . 0)
                           (border . "2px 0px 0px")
                           (padding . "2px 0px 0px")
                           (text-color . "@separatorcolor")))
                (element ((border . 0)
                          (children "element-icon" "element-text")
                          (spacing . "5px")))
                (element-text
                 element-icon ((background-color . "inherit")
                               (text-color . "inherit")))
                (element.normal.normal ((text-color . "@normal-foreground")
                                        (background-color . "@normal-background")))
                (element.normal.urgent ((text-color . "@urgent-foreground")
                                        (background-color . "@urgent-background")))
                (element.normal.active ((text-color . "@active-foreground")
                                        (background-color . "@active-background")))
                (element.selected.normal ((text-color . "@selected-normal-foreground")
                                          (background-color . "@selected-normal-background")))
                (element.selected.urgent ((text-color . "@selected-urgent-foreground")
                                          (background-color . "@selected-urgent-background")))
                (element.selected.active ((text-color . "@selected-active-foreground")
                                          (background-color . "@selected-active-foreground")))
                (element.alternate.normal ((text-color . "@alternate-normal-foreground")
                                           (background-color . "@alternate-normal-background")))
                (element.alternate.urgent ((text-color . "@alternate-urgent-foreground")
                                           (background-color . "@alternate-urgent-background")))
                (element.alternate.active ((text-color . "@alternate-active-foreground")
                                           (background-color . "@alternate-active-background")))
                (mode-switcher ((border . "1px dash 0px 0px")))
                (#{button selected}# ((text-color . "@selected-normal-foreground")
                                      (background-color . "@selected-normal-background")))
                (inputbar ((spacing . 0)
                           (border . "0px")
                           (children "prompt" "textbox-prompt-colon" "entry" "case-indicator")))
                (#{button normal}# ((text-color . "@foreground")))
                (text-prompt-color ((expand . #f)
                                    (str . ":")
                                    (margin . "0px 0.3em 0em 0em")
                                    (text-color . "@normal-foreground")))))))

   (service home-xmodmap-service-type
            (home-xmodmap-configuration
             (pointer '(3 2 1))
             (extra '("remove Mod5 = ISO_Level3_Shift"
                      "keycode 108 = Alt_L"
                      "add Mod1 = Alt_L")))))))