From 24a962e8dc038614b6f29980075e5c29ff735f16 Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Thu, 25 Jan 2024 04:06:42 +0400 Subject: [PATCH] add hycov keybindings --- hypr/autostart.conf | 3 +++ hypr/hyprland.conf | 1 - hypr/plugins.conf | 16 ++++++++++++++++ hypr/rofi.conf | 2 +- hypr/specialworkspace.conf | 4 ++-- 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/hypr/autostart.conf b/hypr/autostart.conf index 0ebd480..8287cb1 100755 --- a/hypr/autostart.conf +++ b/hypr/autostart.conf @@ -18,6 +18,9 @@ exec-once = wl-paste --type image --watch cliphist store #Stores only image data exec-once = python3 -m http.server -d /home/themystery/Bento +# initialize it here so that other conf files could use it +$mainMod = SUPER + # wallpapers source = ~/.config/hypr/wallpaper.conf diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a9c01f9..8b7d341 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -183,7 +183,6 @@ device:epic-mouse-v1 { # See https://wiki.hyprland.org/Configuring/Keywords/ for more -$mainMod = SUPER $secondaryMod = ALT # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more diff --git a/hypr/plugins.conf b/hypr/plugins.conf index 637b97a..3aaeca2 100644 --- a/hypr/plugins.conf +++ b/hypr/plugins.conf @@ -1,2 +1,18 @@ exec-once = hyprctl plugin load /home/themystery/Documents/hyprland-plugins/hyprland-official-plugins/csgo-vulkan-fix/csgo-vulkan-fix.so exec-once = hyprctl plugin load /home/themystery/Documents/hyprland-plugins/hycov/build/libhycov.so + + +# keymaps + +## hycov +bind = $mainMod, W, hycov:toggleoverview + + + + +# plugin config +plugin { + hycov { + enable_hotarea = 0 + } +} diff --git a/hypr/rofi.conf b/hypr/rofi.conf index aa4bdf2..9dc1e39 100644 --- a/hypr/rofi.conf +++ b/hypr/rofi.conf @@ -1,6 +1,6 @@ bind = $mainMod, R, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m drun bind = $mainMod, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m run -bind = $mainMod, W, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m window +# bind = $mainMod, W, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m window bind = $mainMod_ALT, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m filebrowser bind = $mainMod, X, exec, ~/.config/rofi/powermenu/type-6/powermenu.sh bind = $secondaryMod, V, exec, ~/.config/rofi/applets/bin/volume.sh diff --git a/hypr/specialworkspace.conf b/hypr/specialworkspace.conf index 093d09e..7d09373 100644 --- a/hypr/specialworkspace.conf +++ b/hypr/specialworkspace.conf @@ -1,7 +1,7 @@ # binding bind=CTRL,Tab,togglespecialworkspace -bind=SUPER, Tab, togglespecialworkspace, minimize -bind=SUPER_SHIFT, C, movetoworkspacesilent, special:minimize +bind=$mainMod, Tab, togglespecialworkspace, minimize +bind=$mainMod_SHIFT, C, movetoworkspacesilent, special:minimize # kitty exec-once=[workspace special silent;size 75% 20%;move 12.5% 40] kitty