Compare commits

...

2 Commits

Author SHA1 Message Date
9607c002a6 Improve special workspace magicman
Some checks failed
pre-commit / pre-commit (push) Failing after 17s
2024-06-12 12:40:06 +02:00
c4c5502f19 Improve hyprlock stuff 2024-06-12 12:16:47 +02:00
4 changed files with 12 additions and 6 deletions

View File

@ -1,14 +1,14 @@
general { general {
lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session) lock_cmd = lockhelper # dbus/sysd lock command (loginctl lock-session)
# unlock_cmd = notify-send "unlock!" # same as above, but unlock # unlock_cmd = notify-send "unlock!" # same as above, but unlock
before_sleep_cmd = hyprlock # command ran before sleep before_sleep_cmd = lockhelper # command ran before sleep
# after_sleep_cmd = # command ran after sleep # after_sleep_cmd = # command ran after sleep
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
} }
listener { listener {
timeout = 240 # in seconds timeout = 240 # in seconds
on-timeout = hyprlock # command to run when timeout has passed on-timeout = lockhelper # command to run when timeout has passed
# on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. # on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
} }

View File

@ -72,11 +72,13 @@
"borderangle, 1, 8, default" "borderangle, 1, 8, default"
"fade, 1, 7, default" "fade, 1, 7, default"
"workspaces, 1, 6, default" "workspaces, 1, 6, default"
"specialWorkspace, 1, 4, default, fade"
]; ];
}; };
dwindle = { dwindle = {
pseudotile = true; pseudotile = true;
preserve_split = true; preserve_split = true;
special_scale_factor = 0.85;
}; };
master.new_is_master = true; master.new_is_master = true;
misc = { misc = {
@ -112,7 +114,7 @@
"$mainMod,P,exec,rofi-rbw" "$mainMod,P,exec,rofi-rbw"
# hyprlock # hyprlock
"$shiftMainMod,l,exec,hyprlock" "$shiftMainMod,l,exec,lockhelper"
# hyprland # hyprland
"$mainMod,Q,killactive," "$mainMod,Q,killactive,"
@ -148,6 +150,10 @@
"$mainMod,4,workspace,4" "$mainMod,4,workspace,4"
"$mainMod,5,workspace,5" "$mainMod,5,workspace,5"
"$mainMod,6,workspace,6" "$mainMod,6,workspace,6"
# Special workspace
"$mainMod,c,togglespecialworkspace"
"$shiftMainMod,c,movetoworkspace, special"
]; ];
exec-once = [ exec-once = [

View File

@ -2,7 +2,7 @@ source = ~/.cache/wal/colors-hyprland.conf
# BACKGROUND # BACKGROUND
background { background {
monitor = monitor =
path = /tmp/lock.png path = /tmp/lockscreen/eDP-1.png
blur_passes = 3 blur_passes = 3
contrast = 0.8916 contrast = 0.8916
brightness = 0.8172 brightness = 0.8172

View File

@ -17,7 +17,7 @@ if [ "$#" -eq 1 ]; then
echo "$wallpaper_path is an invalid wallpaper" echo "$wallpaper_path is an invalid wallpaper"
fi fi
else else
wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| sort -R | tail -n 1) wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| grep -v current| sort -R | tail -n 1)
fi fi