diff --git a/config/sway/config b/config/sway/config index 8b11238..97914de 100644 --- a/config/sway/config +++ b/config/sway/config @@ -1,23 +1,41 @@ -#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +set $icon 'Nordzy' +set $cursor 'Numix-Cursor' +set $gtktheme 'Catppuccin-Macchiato-Standard-Lavender-Dark' +set $font 'Noto Sans 10' + output DP-3 resolution 1920x1080@143.855hz pos 0 540 output HDMI-A-1 resolution 1920x1080@72.038hz pos 1920 0 transform 90 +input type:keyboard xkb_numlock enabled + font pango:JetbrainsMono Normal 9 +# Colours based on Catppuccino Macchiato Lavendar bar { position top status_command while ~/.config/sway/status.sh; do sleep 1; done colors { - statusline #ffffff - background #323232 - inactive_workspace #32323200 #32323200 #5c5c5c - } + statusline #cad3f5 + background #1e2030 + active_workspace #494d64 #1e2030 #cad3f5 + focused_background #24273a + focused_workspace #5b6078 #24273a #cad3f5 + inactive_workspace #1e2030 #1e2030 #5b6078 + } +# tray { +# icon_theme $icon +# } } -# focus_follows_mouse no +client.focused #5b6078 #24273a #cad3f5 #5b6078 +client.focused_inactive #494d64 #1e2030 #cad3f5 +client.unfocused #494d64 #1e2030 #5b6078 include /etc/sway/config.d/* include /home/siina/.config/sway/config.d/* -### Screencast fix +# Screencast fix exec --no-startup-id dbus-update-activation-environment --all +# Enable agent storage for things like nextcloud-client +exec gnome-keyring-daemon --start --components=secrets +exec export $(gnome-keyring-daemon) diff --git a/config/sway/config.d/01-vars b/config/sway/config.d/01-vars index f372baf..6ec5f9a 100644 --- a/config/sway/config.d/01-vars +++ b/config/sway/config.d/01-vars @@ -5,6 +5,6 @@ set $down j set $up k set $right l -set $term alacritty +set $term kitty -set $menu bemenu-run -p "" | xargs swaymsg exec -- \ No newline at end of file +set $menu bemenu-run -p "" | xargs swaymsg exec -- diff --git a/config/sway/config.d/app_assignment b/config/sway/config.d/app_assignment index afafc9f..eb53c96 100644 --- a/config/sway/config.d/app_assignment +++ b/config/sway/config.d/app_assignment @@ -2,8 +2,3 @@ assign [title="Steam"] 2 assign [title="Discord"] 3 assign [app_id="thunderbird"] Mail assign [app_id="com.obsproject.Studio"] OBS - -# Games -assign [class="Project Zomboid"] Project Zomboid -assign [class="com.wurmonline.client.launcherfx.WurmMain"] Wurm Online -assign [title="VRChat"] VRChat diff --git a/config/sway/config.d/autostart b/config/sway/config.d/autostart index 209839a..f4bb623 100644 --- a/config/sway/config.d/autostart +++ b/config/sway/config.d/autostart @@ -7,7 +7,7 @@ exec nextcloud exec tmux new -ds profanity profanity workspace 1 -exec alacritty +exec kitty workspace 2 exec /usr/bin/steam diff --git a/config/sway/config.d/game_launchers b/config/sway/config.d/game_launchers new file mode 100644 index 0000000..ee70550 --- /dev/null +++ b/config/sway/config.d/game_launchers @@ -0,0 +1,12 @@ +# Black Desert +assign [title="^Black Desert$"] Black Desert + +# Project Zomboid +assign [class="Project Zomboid"] Project Zomboid + +# Wurm Online +for_window [class="com.wurmonline.client.launcherfx.WurmMain"] floating enable +assign [class="com.wurmonline.client.launcherfx.WurmMain"] Wurm Online + +# VRChat +assign [title="VRChat"] VRChat diff --git a/config/sway/config.d/screencapture b/config/sway/config.d/screencapture index 6fb4241..14a28ca 100644 --- a/config/sway/config.d/screencapture +++ b/config/sway/config.d/screencapture @@ -9,4 +9,4 @@ bindsym $ps2 exec grim -g "$(slurp)" - | wl-copy bindsym $ps3 exec grim $psf bindsym $ps4 exec grim -g "$(slurp)" $psf -bindsym $mod+shift+s exec grimshot copy area \ No newline at end of file +#bindsym $mod+shift+s exec grimshot copy area diff --git a/config/sway/config.d/theme b/config/sway/config.d/theme index e8dcb88..0022de3 100644 --- a/config/sway/config.d/theme +++ b/config/sway/config.d/theme @@ -1,7 +1,8 @@ -set $cursor 'Numix-Cursor' set $gnome-schema org.gnome.desktop.interface seat seat0 xcursor_theme $cursor exec_always { gsettings set $gnome-schema cursor-theme $cursor - gsettings set $gnome-schema font-name 'Noto Sans 10 + gsettings set $gnome-schema font-name $font + gsettings set $gnome-schema gtk-theme $gtktheme + gsettings set $gnome-schema icon-theme $icon } diff --git a/config/sway/config.d/wallpaper b/config/sway/config.d/wallpaper new file mode 100644 index 0000000..e0522cc --- /dev/null +++ b/config/sway/config.d/wallpaper @@ -0,0 +1,3 @@ +set $bgdir '$HOME/Pictures/Wallpaper' +output HDMI-A-1 bg $bgdir/dark-night-river-forest-minimal-art.jpg fill +output DP-3 bg $bgdir/moose-in-the-night-hd.png fill