diff options
author | tcmal <me@aria.rip> | 2024-08-25 21:10:02 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-28 21:34:33 +0100 |
commit | 59e2829634b6a96a36c6358253860db4350024b4 (patch) | |
tree | 0e5e43816f1995fc4b20d306dad08df054ba6672 | |
parent | ac4eee711e313c1dbcdd3fdf7fb13c3ad360eabd (diff) |
Different config for testing
-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%+"])), |