diff options
| author | Brahmajit Das <listout@listout.xyz> | 2026-03-10 14:09:40 +0000 |
|---|---|---|
| committer | Brahmajit Das <listout@listout.xyz> | 2026-03-10 14:09:40 +0000 |
| commit | a7beae360d90ccfc7575cedd387ba583c91a8acf (patch) | |
| tree | 92a9feac997610e9a18a03182254e54c937ccb11 | |
| parent | cb0169f0185b5f775c45c5a576fa281166c12046 (diff) | |
| download | dots-a7beae360d90ccfc7575cedd387ba583c91a8acf.tar.gz | |
sway: minor improvements
Signed-off-by: Brahmajit Das <listout@listout.xyz>
| -rw-r--r-- | .config/sway/config | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/.config/sway/config b/.config/sway/config index 2d22bc9..e0d5472 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,18 +1,23 @@ exec_always "pkill kanshi; kanshi" exec_always nm-applet --indicator -exec mako -exec "/usr/libexec/polkit-gnome-authentication-agent-1" -exec dbus-update-activation-environment --all -exec gnome-keyring-daemon --start --components=secrets -exec export $(gnome-keyring-daemon) +exec_always --no-startup-id mako +exec_always --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1 + +exec_always --no-startup-id dbus-update-activation-environment --all +exec_always --no-startup-id gnome-keyring-daemon --start --components=secrets,ssh + exec gentoo-pipewire-launcher restart & + exec swayidle -w \ timeout 3600 'swaylock -f -c 000000' \ timeout 3610 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000' -exec --no-startup-id /usr/lib/xdg-desktop-portal -r + +#exec --no-startup-id /usr/lib/xdg-desktop-portal -r +exec_always --no-startup-id dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway +exec_always --no-startup-id xdg-desktop-portal-wlr set $mod Mod4 @@ -47,14 +52,13 @@ input "type:touchpad" { } # GTK -set $gnome_schema org.gnome.desktop.interface - -exec_always { - gsettings set $gnome_schema gtk-theme 'Adwaita-dark' - gsettings set $gnome_schema icon-theme 'Numix-Circle' - gsettings set $gnome_schema font-name 'Ubuntu Regular 11' - gsettings set $gnome_schema color-scheme 'prefer-dark' -} +#set $gnome_schema org.gnome.desktop.interface +#exec_always { +# gsettings set $gnome_schema gtk-theme 'Adwaita-dark' +# gsettings set $gnome_schema icon-theme 'Numix-Circle' +# gsettings set $gnome_schema font-name 'Ubuntu Regular 11' +# gsettings set $gnome_schema color-scheme 'prefer-dark' +#} bindsym $mod+z exec swaylock --ignore-empty-password --show-failed-attempts --color 1e1e1e bindsym $mod+f1 exec swaymsg Output eDP-1 toggle @@ -207,5 +211,3 @@ bar { status_command while ~/.config/sway/status.sh; do sleep 1; done } - -include /etc/sway/config.d/* |
