From e0d7aaaaab4bdd17199b737e5dcf395d1dc42440 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 18 Feb 2024 15:28:35 +0800 Subject: [PATCH] feat(sway): autohide cursor and fix redundant opts --- .config/sway/conf.d/theme | 2 ++ .config/sway/conf.d/themes/dark | 1 + .config/sway/scripts/logout.sh | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/sway/conf.d/theme b/.config/sway/conf.d/theme index 4f7507f..af70df9 100644 --- a/.config/sway/conf.d/theme +++ b/.config/sway/conf.d/theme @@ -12,3 +12,5 @@ force_display_urgency_hint 500 ms smart_borders no_gaps seat * xcursor_theme Adwaita + +seat * hide_cursor 10000 diff --git a/.config/sway/conf.d/themes/dark b/.config/sway/conf.d/themes/dark index 3c10132..a2c4e73 100644 --- a/.config/sway/conf.d/themes/dark +++ b/.config/sway/conf.d/themes/dark @@ -24,3 +24,4 @@ client.background #928374 #282828 default_border pixel 1 output * bg #1d2021 solid_color +# output * bg $(find ~/Pictures/wall/dark/ -type f | shuf -n1) fill diff --git a/.config/sway/scripts/logout.sh b/.config/sway/scripts/logout.sh index 6c43908..41410b5 100755 --- a/.config/sway/scripts/logout.sh +++ b/.config/sway/scripts/logout.sh @@ -8,7 +8,7 @@ if [[ ! $(which swayidle 2> /dev/null) ]]; then exit 1 fi -choices=("suspend" "shutdown" "poweroff" "reboot" "lock") +choices=("suspend" "poweroff" "reboot" "lock") choice=$(printf "%s\n" "${choices[@]}" | fuzzel -d --prompt "󰚥: ")