Switch from wofi to rofi-wayland; added dmscripts keybinds.

This commit is contained in:
Derek Taylor
2024-11-09 14:42:54 -06:00
parent 05e338fa00
commit a3884104e6

View File

@@ -45,7 +45,7 @@ source = ~/.config/hypr/monitors.conf
# Set programs that you use
$terminal = alacritty
$fileManager = pcmanfm
$menu = wofi --show drun -s ~/.config/wofi/themes/nord.css
$menu = rofi -show drun
$emacs = emacsclient -c -a 'emacs' # The space at the end is IMPORTANT!
$reset = hyprctl dispatch submap reset && #use a variable to keep things more readable
@@ -206,7 +206,8 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod, Return, exec, $terminal
bind = $mainMod SHIFT, Return, exec, $menu
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod SHIFT, Q, exit,
# bind = $mainMod SHIFT, Q, exit,
bind = $mainMod SHIFT, Q, exec, dm-logout -r
bind = $mainMod, F, fullscreen, 0
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
@@ -290,11 +291,25 @@ bind = , escape, submap, reset
# will reset the submap, which will return to the global submap
submap = reset
# Wofi scripts (dmscripts) launched using the key chord SUPER+p followed by 'key'
# Rofi scripts (dmscripts) launched using the key chord SUPER+p followed by 'key'
bind = $mainMod, P, submap, dmscripts # will switch to a submap called 'emacs'
submap = dmscripts # will start a submap called "dmscripts"
# sets repeatable binds for resizing the active window
binde = , P, exec, $reset ~/.config/hypr/passwmenu -s ~/.config/wofi/themes/nord.css
binde = , H, exec, $reset dm-hub -r
binde = , A, exec, $reset dm-sounds -r
binde = , B, exec, $reset dm-setbg -r # doesn't work in Wayland
binde = , C, exec, $reset dm-colorscheme -r
binde = , E, exec, $reset dm-confedit -r
binde = , I, exec, $reset dm-maim -r # doesn't work in Wayland
binde = , K, exec, $reset dm-kill -r
binde = , M, exec, $reset dm-man -r
binde = , N, exec, $reset dm-note -r
binde = , O, exec, $reset dm-bookman -r
binde = , P, exec, $reset rofi-pass
binde = , Q, exec, $reset dm-logout -r
binde = , R, exec, $reset dm-radio -r
binde = , S, exec, $reset dm-websearch -r
binde = , T, exec, $reset dm-translate -r
# use reset to go back to the global submap
bind = , escape, submap, reset
# will reset the submap, which will return to the global submap
@@ -339,4 +354,5 @@ windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinn
# Example of how you can set window rules.
# This rule is for noborders and no rounded corners on workspace 4.
windowrulev2 = noborder, norounding, onworkspace:4
windowrulev2 = noborder, norounding, onworkspace:4
workspace = 4, gapsout:0, gapsin:0, border: 0, rounding:0