summaryrefslogtreecommitdiff
path: root/config/hikari/hikari.conf
blob: b23b38257a4f7d929f740cc8c309fe2712387559 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
ui {
  border = 4
  gap = 5
  step = 100
  font = "Iosevka Aile"

 colorscheme {
    background = 0x282C34
    foreground = 0x000000
    selected   = 0xF5E094
    grouped    = 0xFDAF53
    first      = 0xAA0000
    conflict   = 0xED6B32
    insert     = 0xE3C3FA
    inactive   = 0xE8E8E8
    active     = 0x559999

  }
}

layouts {
  # main stack
  s = {
    scale = {
      min = 0.5
      max = 0.75
    }
    left = single
    right = stack
  }

  # main queue
  q = {
    scale = 0.75
    top = single
    bottom = queue
  }

  # nautilus
  n = {
    left = single
    right = {
      top = single
      bottom = {
        right = single
        left = {
          bottom = single
          top = full
        }
      }
    }
  }

  f = full
  h = stack
  v = queue
  g = grid
}

actions {
  terminal = "alacritty"
  emacs = "emacsclient -nc"
  email = "alacritty -e aerc"
  browser = "firefox"
  bemenu = "/bin/sh -c bemenu-toggle"
  brightness-down = "backlight decr 10"
  brightness-up = "backlight incr 10"
  print = "sh -c 'grim - | swappy -f -'"
  print-part = "sh -c 'grim -g \"$(slurp)\" - | swappy -f -'"
  color-picker = "sh -c 'grim -g \"$(slurp -p)\" -t ppm - | convert - -format \"%[pixel:p{0,0}]\" txt:- | tail -n 1 | cut -d \" \" -f 4 | wl-copy'"
}

inputs {
  pointers {
    "*" = {
      natural-scrolling = true
    }
  }
    
  keyboards {
    "*" = {
      xkb = {
        layout = "us(colemak)"
        options = "caps:escape"
      }
    }
  }
}
bindings {
  keyboard {
    "L+0"                     = workspace-switch-to-sheet-0
    "L+1"                     = workspace-switch-to-sheet-1
    "L+2"                     = workspace-switch-to-sheet-2
    "L+3"                     = workspace-switch-to-sheet-3
    "L+4"                     = workspace-switch-to-sheet-4
    "L+5"                     = workspace-switch-to-sheet-5
    "L+6"                     = workspace-switch-to-sheet-6
    "L+7"                     = workspace-switch-to-sheet-7
    "L+8"                     = workspace-switch-to-sheet-8
    "L+9"                     = workspace-switch-to-sheet-9
    "L+numbersign"            = workspace-switch-to-sheet-alternate
    "L+Comma"                 = workspace-switch-to-sheet-next-inhabited
    "LS+Comma"                = workspace-switch-to-sheet-prev-inhabited
    "LSC+Period"              = workspace-show-all

    "LA+r"                    = layout-reset
    "LA+Return"               = layout-restack-append
    "LAS+Return"              = layout-restack-prepend
    "L+x"                     = layout-exchange-view-next
    "LS+x"                    = layout-exchange-view-prev
    "LA+x"                    = layout-exchange-view-main

    "LS+0"                    = view-pin-to-sheet-0
    "LS+1"                    = view-pin-to-sheet-1
    "LS+2"                    = view-pin-to-sheet-2
    "LS+3"                    = view-pin-to-sheet-3
    "LS+4"                    = view-pin-to-sheet-4
    "LS+5"                    = view-pin-to-sheet-5
    "LS+6"                    = view-pin-to-sheet-6
    "LS+7"                    = view-pin-to-sheet-7
    "LS+8"                    = view-pin-to-sheet-8
    "LS+9"                    = view-pin-to-sheet-9
    "LS+numbersign"           = view-pin-to-sheet-alternate

    "L+d"                     = view-lower
    "L+o"                     = view-only

    "L+p"                     = view-move-up
    "L+n"                     = view-move-down
    "L+b"                     = view-move-left
    "L+f"                     = view-move-right
    "LS+p"                    = view-decrease-size-up
    "LAS+p"                   = view-increase-size-up
    "LS+n"                    = view-increase-size-down
    "LAS+n"                   = view-decrease-size-down
    "LS+b"                    = view-decrease-size-left
    "LS+b"                    = view-increase-size-left
    "LS+f"                    = view-increase-size-right
    "LAS+f"                   = view-decrease-size-right

    "L+u"                     = view-toggle-maximize-vertical
    "L+less"                  = view-toggle-maximize-horizontal
    "L+minus"                 = view-toggle-maximize-full
    "L5+plus"                 = view-toggle-floating
    "L5+p"                    = view-toggle-public

    "LS+o"                    = group-only
    "LS+u"                    = group-raise
    "LS+d"                    = group-lower
    "L+Tab"                   = group-cycle-prev
    "LS+Tab"                  = group-cycle-next
    "L+period"                = group-cycle-view-prev

    "L+l"                     = mode-enter-layout
    "L+s"                     = mode-enter-sheet-assign
    "L+g"                     = mode-enter-group-assign
    "L+m"                     = mode-enter-mark-assign
    "L+acute"                 = mode-enter-mark-select
    "LS+acute"                = mode-enter-mark-switch-select
    "LCA+g"                   = mode-enter-input-grab

    "LS+Backspace"            = lock
    "L+r"                     = reload
    "L+q"                    = view-quit

    "L+Return"                = action-terminal
    "L+e"                     = action-email
    "L+Space"                 = action-bemenu

    "0+XF86MonBrightnessUp"   = action-brightness-up
    "0+XF86MonBrightnessDown" = action-brightness-down
    "0+Print"                 = action-print
    "LS+Print"                = action-print-part
    "LS+q"                    = action-color-picker

    "A+F1"                    = vt-switch-to-1
    "A+F2"                    = vt-switch-to-2
    "A+F3"                    = vt-switch-to-3
    "A+F4"                    = vt-switch-to-4
    "A+F5"                    = vt-switch-to-5
    "A+F6"                    = vt-switch-to-6
    "A+F7"                    = vt-switch-to-7
    "A+F8"                    = vt-switch-to-8
    "A+F9"                    = vt-switch-to-9
  }
  
  mouse {
    "L+left"  = mode-enter-move
    "L+right" = mode-enter-resize
  }
}