updated hyprland config with proper lock before suspend behaviour
This commit is contained in:
parent
d737c49900
commit
71292fd4be
1 changed files with 15 additions and 13 deletions
|
@ -35,7 +35,8 @@ env = XDG_SESSION_DESKTOP,hyprland
|
||||||
env = XDG_SESSION_TYPE,hyprland
|
env = XDG_SESSION_TYPE,hyprland
|
||||||
env = GDK_BACKEND,wayland,x11,*
|
env = GDK_BACKEND,wayland,x11,*
|
||||||
env = GTK_THEME,cachyos-nord:dark
|
env = GTK_THEME,cachyos-nord:dark
|
||||||
env = PATH,$HOME/bin:$PATH
|
env = PATH,$HOME/.local/bin:$PATH
|
||||||
|
env = TERM, terminator
|
||||||
env = HYPRSHOT_DIR,/home/siren/Pictures/Screenshots
|
env = HYPRSHOT_DIR,/home/siren/Pictures/Screenshots
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
@ -167,7 +168,7 @@ misc {
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Q, exec, alacritty
|
bind = $mainMod, Q, exec, $TERM
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod SHIFT, M, exit,
|
bind = $mainMod SHIFT, M, exit,
|
||||||
bind = $mainMod, E, exec, nemo
|
bind = $mainMod, E, exec, nemo
|
||||||
|
@ -177,7 +178,7 @@ bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen, # dwindle
|
bind = $mainMod, F, fullscreen, # dwindle
|
||||||
bind = $mainMod, N, exec, swaync-client -t -sw # swaync
|
bind = $mainMod, N, exec, swaync-client -t -sw # swaync
|
||||||
bind = $mainMod SHIFT, S, exec, systemctl suspend
|
bindl = $mainMod SHIFT, S, exec, pidof hyprlock || hyprlock & sleep 1; systemctl suspend
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
#bind = $mainMod, left, movefocus, l
|
#bind = $mainMod, left, movefocus, l
|
||||||
|
@ -242,7 +243,7 @@ bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Suspend
|
# Suspend
|
||||||
bind = , XF86Sleep, exec, systemctl suspend
|
bindl = , XF86Sleep, exec, pidof hyprlock || hyprlock & sleep 1; systemctl suspend
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
|
@ -268,13 +269,14 @@ bind = $mainMod SHIFT, PRINT, exec, hyprshot -m region # screenshot a region
|
||||||
|
|
||||||
# Autolaunch
|
# Autolaunch
|
||||||
#exec-once = hyprpaper
|
#exec-once = hyprpaper
|
||||||
exec-once = swaybg -o \* -i /home/siren/Pictures/wallpaper/cachy_btw_swirl.jpg -m fill &
|
exec-once = /usr/lib/geoclue-2.0/demos/agent
|
||||||
exec-once = hypridle &
|
exec-once = swaybg -o \* -i /home/siren/Pictures/wallpaper/cachy_btw_swirl.jpg -m fill
|
||||||
exec-once = waybar -c .config/waybar/config-hypr &
|
exec-once = hypridle
|
||||||
exec-once = swaync &
|
exec-once = waybar -c .config/waybar/config-hypr
|
||||||
exec-once = copyq --start-server &
|
exec-once = swaync
|
||||||
#exec-once = gammastep-indicator
|
exec-once = copyq --start-server
|
||||||
|
exec-once = gammastep-indicator
|
||||||
#exec-once = nextcloud
|
#exec-once = nextcloud
|
||||||
exec-once = swayosd-server &
|
exec-once = swayosd-server
|
||||||
exec-once = systemctl --user start hyprpolkitagent &
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue