Switch from swaylock to gtklock

This commit is contained in:
pancakes 2025-10-28 23:11:42 +10:00
parent 97d8794e0e
commit a505b8aa7b
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
4 changed files with 12 additions and 11 deletions

View file

@ -0,0 +1,7 @@
[main]
gtk-theme=adw-gtk3-dark
background=.wallpaper
follow-focus=true
idle-hide=true
idle-timeout=30
start-hidden=true

View file

@ -96,10 +96,11 @@ kitty-terminal:
[group("graphical")]
niri-window-manager:
@just _echowarning "1) Installing niri and related tools"
paru -S brightnessctl cliphist fuzzel gdm gnome-keyring inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra overskride polkit-kde-agent swayidle swaylock ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset wpaperd xdg-desktop-portal-gnome xwayland-satellite-git
paru -S adw-gtk-theme brightnessctl cliphist fuzzel gdm gnome-keyring gtklock inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra overskride polkit-kde-agent swayidle ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset wpaperd xdg-desktop-portal-gnome xwayland-satellite-git
@just _echowarning "\n2) Stowing niri config"
stow --dotfiles -S niri
stow gtklock
@just _echowarning "\n3) Enabling GNOME display manager service"
sudo systemctl enable gdm

View file

@ -1,4 +1,4 @@
timeout 300 swaylock
timeout 300 "gtklock -d"
timeout 600 "niri msg action power-off-monitors"
before-sleep swaylock
lock swaylock
before-sleep "gtklock -d"
lock "gtklock -d"

View file

@ -1,7 +0,0 @@
ignore-empty-password
show-failed-attempts
daemonize
color=232136
font=Inter
font-size=12
indicator-thickness=8