2022-09-04 10:25:18 +00:00
|
|
|
# Global variables
|
|
|
|
[global]
|
2022-09-04 12:05:41 +00:00
|
|
|
terminal = "$HOME/.local/bin/st"
|
|
|
|
browser = "prime-run librewolf"
|
|
|
|
modkey = "Mod4"
|
2022-09-08 10:56:04 +00:00
|
|
|
theme = "unity"
|
2022-09-04 12:05:41 +00:00
|
|
|
shell = "zsh"
|
2022-09-04 10:25:18 +00:00
|
|
|
|
|
|
|
# Keybindings
|
|
|
|
# Format: <modifier>(+<modifier>+...)+<key> = "<command or :internal.function>"
|
|
|
|
# "modkey" as modifier will be substituted for modkey variable in [global]
|
|
|
|
[keys]
|
|
|
|
modkey+Up = ":root.client_next"
|
|
|
|
modkey+Down = ":root.client_previous"
|
|
|
|
modkey+Control+Up = ":root.screen_next"
|
|
|
|
modkey+Control+Down = ":root.screen_previous"
|
|
|
|
modkey+Tab = ":root.client_swap"
|
|
|
|
modkey+Return = ":root.spawn_terminal"
|
|
|
|
modkey+Shift+Return = ":root.spawn_browser"
|
2022-12-10 22:28:22 +00:00
|
|
|
modkey+Shift+y = ":root.toggle_titlebars"
|
2022-09-04 10:25:18 +00:00
|
|
|
|
|
|
|
# Client keys only work if a focused client exists
|
|
|
|
modkey+Shift+c = ":client.kill"
|
|
|
|
modkey+t = ":client.cycle_screen"
|
|
|
|
modkey+o = ":client.ontop"
|
|
|
|
modkey+b = ":client.below"
|
|
|
|
modkey+f = ":client.fullscreen"
|
|
|
|
modkey+n = ":client.minimize"
|
|
|
|
modkey+m = ":client.maximize"
|
2022-09-16 18:42:50 +00:00
|
|
|
modkey+p = ":client.pin"
|
|
|
|
modkey+y = ":client.toggle_titlebars"
|
2022-09-04 10:25:18 +00:00
|
|
|
|
2022-09-07 17:43:25 +00:00
|
|
|
# Widget keys
|
|
|
|
modkey+r = ":dismal.run"
|
|
|
|
modkey+s = ":help.show"
|
2022-09-16 18:42:50 +00:00
|
|
|
Control+XF86AudioRaiseVolume = ":client.volume_up"
|
|
|
|
Control+XF86AudioLowerVolume = ":client.volume_down"
|
|
|
|
Control+XF86AudioMute = ":client.volume_mute"
|
|
|
|
XF86MonBrightnessUp = ":battery.brightness_up"
|
|
|
|
XF86MonBrightnessDown = ":battery.brightness_down"
|
|
|
|
XF86AudioPlay = ":mpc.play"
|
|
|
|
XF86AudioPrev = ":mpc.prev"
|
|
|
|
XF86AudioNext = ":mpc.next"
|
2022-12-10 22:28:22 +00:00
|
|
|
|
2022-09-04 10:25:18 +00:00
|
|
|
# Custom keys
|
2022-09-04 10:49:18 +00:00
|
|
|
Print = "flameshot gui"
|
2022-09-04 12:05:41 +00:00
|
|
|
Shift+Print = "flameshot launcher"
|