From 58fbc179640f2b4bd685e027caeb7294b5b750b2 Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Fri, 24 May 2024 16:13:37 +0200 Subject: [PATCH] Fix hyprlock with .sh script --- .config/config | 4 ---- .config/hypr/config/binds.conf | 1 + .config/hypr/config/programs.conf | 2 +- .config/hypr/hyprlock.conf | 1 + 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .config/config diff --git a/.config/config b/.config/config deleted file mode 100644 index 40a1a50..0000000 --- a/.config/config +++ /dev/null @@ -1,4 +0,0 @@ -[Default] -save_dir=$HOME/Pictures/screenshots -save_filename_format=swappy-%Y%m%d-%H%M%S.png - diff --git a/.config/hypr/config/binds.conf b/.config/hypr/config/binds.conf index e522373..cd1e95b 100644 --- a/.config/hypr/config/binds.conf +++ b/.config/hypr/config/binds.conf @@ -15,6 +15,7 @@ bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, D, exec, $discord bind = $mainMod, B, exec, $browser bind = $mainMod, L, exec, $hyprlock +# loginctl lock-session bind = $mainMod, M, exec, $spotify # also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere diff --git a/.config/hypr/config/programs.conf b/.config/hypr/config/programs.conf index 2a8404d..e6ad49c 100644 --- a/.config/hypr/config/programs.conf +++ b/.config/hypr/config/programs.conf @@ -3,7 +3,7 @@ $fileManager = dolphin $menu = wofi --show drun $browser = firefox $discord = LIBVA_DRIVER_NAME=nvidia discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy -$hyprlock = hyprlock +$hyprlock = ~/.config/hypr/fix-hypr-lock.sh $spotify = LIBVA_DRIVER_NAME=nvidia spotify-launcher # --enable-features=UseOzonePlatform --ozone-platform=wayland diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index 86daa35..ff429e7 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -26,6 +26,7 @@ general { no_fade_in = false grace = 0 disable_loading_bar = true + hide_cursor = true } # INPUT FIELD