|
|
|
|
@ -19,13 +19,12 @@ set $term kitty
|
|
|
|
|
# Your preferred application launcher
|
|
|
|
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
|
|
|
|
# on the original workspace that the command was run on.
|
|
|
|
|
#set $menu dmenu_path | bemenu | xargs swaymsg exec --
|
|
|
|
|
set $menu fuzzel
|
|
|
|
|
set $menu dmenu_path | bemenu | xargs swaymsg exec --
|
|
|
|
|
|
|
|
|
|
### Output configuration
|
|
|
|
|
#
|
|
|
|
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
|
|
|
|
output "*" bg ~/.config/sway/wallpaper.jpg fill
|
|
|
|
|
output * bg ~/.config/sway/wallpaper.jpg fill
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Example configuration:
|
|
|
|
|
@ -38,10 +37,10 @@ output "*" bg ~/.config/sway/wallpaper.jpg fill
|
|
|
|
|
#
|
|
|
|
|
# Example configuration:
|
|
|
|
|
#
|
|
|
|
|
#exec swayidle -w \
|
|
|
|
|
# timeout 300 'swaylock -f -c 000000' \
|
|
|
|
|
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
|
|
|
# before-sleep 'swaylock -f -c 000000'
|
|
|
|
|
exec swayidle -w \
|
|
|
|
|
timeout 300 'swaylock -f -c 000000' \
|
|
|
|
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
|
|
|
before-sleep 'swaylock -f -c 000000'
|
|
|
|
|
|
|
|
|
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
|
|
|
# your displays after another 300 seconds, and turn your screens back on when
|
|
|
|
|
@ -57,14 +56,11 @@ input type:keyboard {
|
|
|
|
|
### Key bindings
|
|
|
|
|
bindsym $mod+Return exec $term
|
|
|
|
|
bindsym $mod+Shift+b exec firefox
|
|
|
|
|
bindsym $mod+Shift+f exec GTK_THEME=Nordic nautilus
|
|
|
|
|
bindsym $mod+Shift+m exec MOZ_ENABLE_WAYLAND=1 thunderbird
|
|
|
|
|
bindsym $mod+Shift+s exec shutdown -P now
|
|
|
|
|
bindsym $mod+Shift+a exec systemctl suspend
|
|
|
|
|
bindsym $mod+Shift+r exec systemctl suspend
|
|
|
|
|
bindsym $mod+Shift+i exec swaylock -f -c 000000
|
|
|
|
|
bindsym $mod+Shift+o exec obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform
|
|
|
|
|
bindsym $mod+Shift+r exec zathura ~/documents/books/$(ls -1 ~/documents/books | fuzzel -d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Kill focused window
|
|
|
|
|
bindsym $mod+Shift+q kill
|
|
|
|
|
@ -210,7 +206,7 @@ smart_gaps on
|
|
|
|
|
smart_borders on
|
|
|
|
|
gaps inner 10
|
|
|
|
|
gaps outer -10
|
|
|
|
|
xwayland disable
|
|
|
|
|
#xwayland disable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
@ -242,7 +238,3 @@ exec_always mako --default-timeout=5000 &
|
|
|
|
|
exec_always nm-applet --indicator &
|
|
|
|
|
exec_always kdeconnect-indicator &
|
|
|
|
|
#exec_always syncthing serve --no-browser &
|
|
|
|
|
exec --no-startup-id /nix/store/$(ls -la /nix/store/ | awk '/polkit-gnome/ && $5 == "4096" {print $9; exit}')/libexec/polkit-gnome-authentication-agent-1 &
|
|
|
|
|
exec_always dbus-update-activation-environment --all &
|
|
|
|
|
exec_always blueman-applet &
|
|
|
|
|
|
|
|
|
|
|