update: slightly WIP update with cool features
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
$mainMod = SUPER
|
||||
|
||||
# change layout that supports no shift retapping
|
||||
bindl = ALT, Shift_L, exec, hyprctl switchxkblayout main next
|
||||
bindln = Shift_L, ALT_L, exec, hyprctl switchxkblayout main next
|
||||
bindln = ALT_L, Shift_L, exec, hyprctl switchxkblayout main next
|
||||
|
||||
|
||||
# Toggle performance mode
|
||||
@@ -30,12 +31,19 @@ bind = $mainMod, Q, exec, kitty
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, R, exec, rofi -show drun -terminal kitty -no-history -matching prefix -drun-match-fields name -no-tokenize
|
||||
bind = $mainMod SHIFT, R, exec, ~/.config/rofi/network-manager/run-manager.sh
|
||||
bind = $mainMod, C, exec, hyprpicker -a
|
||||
bind = $mainMod, S, exec, hyprpicker -a
|
||||
bind = $mainMod, C, exec, dunstctl close-all
|
||||
|
||||
|
||||
# copy binds
|
||||
# clipboard binds
|
||||
bind = $mainMod, V, exec, rofi -modi clipboard:/$HOME/.config/rofi/clipboard/cliphist-rofi-img.sh -show clipboard -show-icon -config ~/.config/rofi/clipboard-config.rasi
|
||||
bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
|
||||
|
||||
|
||||
# screenshot binds
|
||||
# no screen freeze
|
||||
# bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
|
||||
# screen freeze
|
||||
bind = $mainMod SHIFT, S, exec, hyprpicker -r -z & sleep 0.2; IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG; kill $!
|
||||
bind = , PRINT, exec, grim - | wl-copy
|
||||
|
||||
|
||||
@@ -115,6 +123,10 @@ binde = $mainMod CTRL, j, resizeactive, 0 30
|
||||
binde = $mainMod CTRL, k, resizeactive, 0 -30
|
||||
|
||||
|
||||
# Focus on initial workspace (TODO: different for monitors)
|
||||
bind = $mainMod, 0, focusworkspaceoncurrentmonitor, 100
|
||||
|
||||
|
||||
# Switch workspaces
|
||||
binde = $mainMod, A, exec, .config/hypr/scripts/workspace-handler.sh change previous
|
||||
binde = $mainMod, D, exec, .config/hypr/scripts/workspace-handler.sh change next
|
||||
@@ -129,5 +141,5 @@ binde = $mainMod CTRL SHIFT, A, movetoworkspace, r-1
|
||||
binde = $mainMod CTRL SHIFT, D, movetoworkspace, r+1
|
||||
|
||||
|
||||
# Swap worlspaces between monitors
|
||||
# Swap workspaces between monitors
|
||||
bind = $mainMod, TAB, swapactiveworkspaces, 1 0
|
||||
|
||||
Reference in New Issue
Block a user