set $base ~/.config/sway/

xwayland enable

floating_modifier Mod4

default_border none
default_floating_border none

client.focused          #ffffff #ffffff #ffffff #ffffff
client.focused_inactive #000000 #000000 #000000 #000000
client.unfocused        #000000 #000000 #000000 #000000
client.urgent           #ffffff #ffffff #ffffff #ffffff
client.placeholder      #000000 #000000 #000000 #000000


bar top {
    position top
    status_command python3 $base/main/sway_status.py
    font pango:Noto Sans Mono 10
    mode dock

    colors {
        background #000000
        statusline #ffffff
        separator #ffffff
        focused_workspace #000000 #ffffff #000000
        active_workspace #000000 #ffffff #000000
        inactive_workspace #000000 #000000 #ffffff
        urgent_workspace #ffffff #ffffff #ffffff
    }
}

for_window [app_id="xpad"] floating enable

exec_always gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec_always gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
exec_always gsettings set org.gnome.desktop.interface cursor-size 12
exec_always gsettings set org.gnome.desktop.interface font-name 'Noto Sans Mono 10'

exec_always /usr/lib/xdg-desktop-portal -r

exec_always swaybg -i $base/wallpaper/metrowaymaka.png -m fill
exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec_always dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK

bindsym Mod4+h focus left
bindsym Mod4+j focus down
bindsym Mod4+k focus up
bindsym Mod4+l focus right
bindsym Mod4+Shift+h move left
bindsym Mod4+Shift+j move down
bindsym Mod4+Shift+k move up
bindsym Mod4+Shift+l move right
bindsym Mod4+bracketleft workspace prev
bindsym Mod4+bracketright workspace next
bindsym Mod4+q exec kitty
bindsym Mod4+c kill
bindsym Mod4+Shift+s exec python3 $base/main/moves.py screenshot --out ~/screenshots/
bindsym Mod4+Shift+Escape exit
bindsym Mod4+Up exec pamixer --increase 1
bindsym Mod4+Down exec pamixer --decrease 1
bindsym Mod4+Shift+grave reload
bindsym Mod4+Shift+f exec python3 $base/main/moves.py record --fullscreen
bindsym Mod4+r exec wofi --show drun --width 400 --height 500 --layer overlay --location 1
bindsym Ctrl+Shift+Alt+Mod4+L exec flatpak run io.github.ungoogled_software.ungoogled_chromium https://www.linkedin.com
bindsym Mod4+Shift+c exec python3 $base/main/moves.py kill
bindsym Mod4+n exec xpad
bindsym Mod4+v floating toggle
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPause exec playerctl play-pause

exec_always python3 $base/main/swayworkspace.py init 1
bindsym Mod4+1 exec python3 $base/main/swayworkspace.py focus 1
bindsym Mod4+Shift+1 exec python3 $base/main/swayworkspace.py move 1
bindsym Mod4+2 exec python3 $base/main/swayworkspace.py focus 2
bindsym Mod4+Shift+2 exec python3 $base/main/swayworkspace.py move 2
bindsym Mod4+3 exec python3 $base/main/swayworkspace.py focus 3
bindsym Mod4+Shift+3 exec python3 $base/main/swayworkspace.py move 3
bindsym Mod4+4 exec python3 $base/main/swayworkspace.py focus 4
bindsym Mod4+Shift+4 exec python3 $base/main/swayworkspace.py move 4
bindsym Mod4+5 exec python3 $base/main/swayworkspace.py focus 5
bindsym Mod4+Shift+5 exec python3 $base/main/swayworkspace.py move 5
bindsym Mod4+6 exec python3 $base/main/swayworkspace.py focus 6
bindsym Mod4+Shift+6 exec python3 $base/main/swayworkspace.py move 6
bindsym Mod4+7 exec python3 $base/main/swayworkspace.py focus 7
bindsym Mod4+Shift+7 exec python3 $base/main/swayworkspace.py move 7
bindsym Mod4+8 exec python3 $base/main/swayworkspace.py focus 8
bindsym Mod4+Shift+8 exec python3 $base/main/swayworkspace.py move 8
bindsym Mod4+9 exec python3 $base/main/swayworkspace.py focus 9
bindsym Mod4+Shift+9 exec python3 $base/main/swayworkspace.py move 9
bindsym Mod4+0 exec python3 $base/main/swayworkspace.py focus 10
bindsym Mod4+Shift+0 exec python3 $base/main/swayworkspace.py move 10

include ~/.config/mute/*

seat seat0 xcursor_theme DMZ-Black 12