fix: make lockscreen appear instantly

This commit is contained in:
matt1432 2023-06-06 17:00:29 -04:00
parent ce51ddb46e
commit 8050bf14af
3 changed files with 8 additions and 9 deletions

View file

@ -1,2 +1,2 @@
[main] [main]
modules=powerbar-module.so modules=powerbar-module.so;playerctl-module.so;userinfo-module.so

View file

@ -3,7 +3,6 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1200@60,0x0,1 monitor=eDP-1,1920x1200@60,0x0,1
$menu = "$HOME/.config/rofi/launcher.sh" $menu = "$HOME/.config/rofi/launcher.sh"
$scripts = "$HOME/.config/hypr/scripts" $scripts = "$HOME/.config/hypr/scripts"
@ -19,7 +18,7 @@ exec-once = bash -c "sleep 7; galaxybudsclient /StartMinimized"
exec-once = eww daemon exec-once = eww daemon
exec-once = eww open tablet-toggle exec-once = eww open tablet-toggle
#exec-once = sudo input-emulator start touch --x-max 1920 --y-max 1200 --slots 4 exec-once = input-emulator start touch --x-max 1920 --y-max 1200 --slots 4
exec = $HOME/.config/lisgd/config exec = $HOME/.config/lisgd/config
exec-once = libinput-gestures-setup start exec-once = libinput-gestures-setup start
@ -29,7 +28,7 @@ exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = $menu exec-once = $menu
exec-once = swww init exec-once = swww init
exec-once = swww img "$HOME/Pictures/BG/bonzai.jpg" exec-once = swww img "$HOME/Pictures/BG/bonzai.jpg"
exec-once = $scripts/lose-focus.sh exec-once = $scripts/lose-focus.sh # make command output to /dev/null
exec-once = waybar exec-once = waybar
exec-once = mako exec-once = mako
@ -39,7 +38,7 @@ exec-once = wl-paste --watch cliphist store
# OSD window # OSD window
exec-once = swayosd exec-once = swayosd
exec-once = swayidle -w lock $HOME/.config/gtklock/scripts/lock.sh
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf
@ -152,6 +151,7 @@ windowrule = size 400 581,^(blueman-manager)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
bind = $mainMod, V, exec, cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy bind = $mainMod, V, exec, cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
@ -159,7 +159,6 @@ bind = $mainMod, Q, exec, alacritty
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, L, exec, $HOME/.config/gtklock/scripts/lock.sh bind = $mainMod, L, exec, $HOME/.config/gtklock/scripts/lock.sh
bindl =, switch:on:Lid Switch, exec, $HOME/.config/gtklock/scripts/lock.sh
bind = $mainMod SHIFT, E, exec, eww open closer && $HOME/.config/eww/scripts/open.sh powermenu bind = $mainMod SHIFT, E, exec, eww open closer && $HOME/.config/eww/scripts/open.sh powermenu
bind = $mainMod SHIFT, SPACE, togglefloating, bind = $mainMod SHIFT, SPACE, togglefloating,
bind = $mainMod, D, exec, $menu bind = $mainMod, D, exec, $menu

View file

@ -6,9 +6,9 @@
function gestures { function gestures {
lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \ lisgd -d /dev/input/by-path/platform-AMDI0010\:00-event -o 0 -t 125 -r 25 -m 3200 \
-g "1,UD,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false'" \ -g "1,UD,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false'" \
-g "1,DU,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true'" # \ -g "1,DU,B,*,R,bash -c 'busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true'" \
# -g "3,RL,N,*,R,$HOME/.config/sway/scripts/gestures.sh next touch" \ -g "3,RL,N,*,R,$HOME/.config/hypr/scripts/gestures.sh next touch" \
# -g "3,LR,N,*,R,$HOME/.config/sway/scripts/gestures.sh prev touch" -g "3,LR,N,*,R,$HOME/.config/hypr/scripts/gestures.sh prev touch"
} }