diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/config.rs b/src/config.rs index 76a9463..f3b40f6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -25,15 +25,12 @@ pub const BORDER_NORMAL: Colour = Colour::from_hex(0x000000); pub const BORDER_FOCUSED: Colour = Colour::from_hex(0xff0000); /// The main modifier used for keybinds. -pub const MAIN_MODIFIER: ModMask = ModMask::N4; - -/// Command for application menu / launcher. -pub const MENU_COMMAND: &str = "j4-dmenu-desktop"; +pub const MAIN_MODIFIER: ModMask = ModMask::CONTROL; /// The keybinds to use. pub const KEYBINDS: Keybinds = Keybinds(&[ - bind!(MAIN_MODIFIER , Return -> &|_| spawn::<_, &str>(MENU_COMMAND, [])), - bind!(MAIN_MODIFIER , t -> &|_| spawn::<_, &str>("alacritty", [])), + bind!(MAIN_MODIFIER , Return -> &|_| spawn::<_, &str>("dmenu_run", [])), + bind!(MAIN_MODIFIER , t -> &|_| spawn::<_, &str>("xterm", [])), bind!(MAIN_MODIFIER , i -> &|_| spawn::<_, &str>("sh", ["-c", "if pgrep eww; then pkill eww; else eww daemon && eww open overlay; fi"])), bind!(MAIN_MODIFIER , XF86_AudioRaiseVolume -> &|_| spawn::<_, &str>("/run/current-system/sw/bin/wpctl", ["set-volume", "@DEFAULT_AUDIO_SINK@", "5%+"])), bind!(MAIN_MODIFIER , F7 -> &|_| spawn::<_, &str>("/run/current-system/sw/bin/wpctl", ["set-volume", "@DEFAULT_AUDIO_SINK@", "5%+"])), |