summaryrefslogtreecommitdiff
path: root/config/sway
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /config/sway
Diffstat (limited to 'config/sway')
-rwxr-xr-xconfig/sway/config131
1 files changed, 131 insertions, 0 deletions
diff --git a/config/sway/config b/config/sway/config
new file mode 100755
index 0000000..d7c5c04
--- /dev/null
+++ b/config/sway/config
@@ -0,0 +1,131 @@
+exec "foot --server"
+exec "wbg /home/coast/Pictures/walls/wallhaven-yq5dmg_1920x1080.png"
+exec "dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=Sway"
+exec "gnome-keyring-daemon --start --components=secrets"
+exec "waybar"
+exec "mpd ~/.mpdconf"
+exec "mpc add /"
+exec "flatpak override --env=GTK_THEME=Catppuccin-B-MB-Dark --user"
+exec "mako"
+
+set $mod Mod4
+set $left h
+set $down j
+set $up k
+set $right l
+
+set $term footclient
+set $menu rofi -show drun -config /home/coast/.config/rofi/config.rasi
+set $webBrowser firefox-bin
+set $discordApp vesktop-bin --proxy-server="socks5://127.0.0.1:65000"
+set $restartWaybar "pkill waybar; waybar &"
+set $fileManager pcmanfm
+
+
+output HDMI-A-1 resolution 1920x1080@100Hz position 0,0
+
+workspace 2 output HDMI-A-1
+
+output * bg /home/coast/Pictures/walls/wallhaven-yq5dmg_1920x1080.png fill
+
+ exec swayidle -w \
+ timeout 300 'hyprlock' \
+ timeout 600 'swaymsg "output * power off"' \
+ resume 'swaymsg "output * power on"' \
+ before-sleep 'hyprlock'
+
+input type:keyboard {
+ xkb_layout us
+}
+
+gaps inner 5
+gaps outer 9
+
+default_border pixel 1
+
+client.focused #6c6c9d #6c6c9d #ffffff #6c6c9d #6c6c9d
+client.unfocused #1e1e2e #1e1e2e #5c5c5c #1e1e2e #1e1e2e
+client.focused_inactive #1e1e2e #1e1e2e #5c5c5c #1e1e2e #1e1e2e
+
+bindsym $mod+Return exec $term
+bindsym $mod+s kill
+bindsym $mod+r exec $menu
+bindsym $mod+Shift+q exec swaymsg exit
+bindsym $mod+ctrl+r reload
+
+floating_modifier $mod normal
+
+bindsym $mod+space exec swaymsg floating toggle && swaymsg resize set 1000 800 && swaymsg move position center
+
+bindsym $mod+backslash move position center
+
+bindsym $mod+$left focus left
+bindsym $mod+$down focus down
+bindsym $mod+$up focus up
+bindsym $mod+$right focus right
+
+bindsym $mod+Shift+$left move left
+bindsym $mod+Shift+$down move down
+bindsym $mod+Shift+$up move up
+bindsym $mod+Shift+$right move right
+
+bindsym $mod+Mod1+$left resize shrink width 30px
+bindsym $mod+Mod1+$right resize grow width 30px
+bindsym $mod+Mod1+$up resize shrink height 30px
+bindsym $mod+Mod1+$down resize grow height 30px
+
+bindsym $mod+Left move left 40px
+bindsym $mod+Right move right 40px
+bindsym $mod+Up move up 40px
+bindsym $mod+Down move down 40px
+
+bindsym $mod+Shift+Left resize shrink width 40px
+bindsym $mod+Shift+Right resize grow width 40px
+bindsym $mod+Shift+Up resize shrink height 40px
+bindsym $mod+Shift+Down resize grow height 40px
+
+bindsym $mod+1 workspace number 1
+bindsym $mod+2 workspace number 2
+bindsym $mod+3 workspace number 3
+bindsym $mod+4 workspace number 4
+bindsym $mod+5 workspace number 5
+bindsym $mod+6 workspace number 6
+bindsym $mod+7 workspace number 7
+bindsym $mod+8 workspace number 8
+bindsym $mod+9 workspace number 9
+
+bindsym $mod+Shift+1 move container to workspace number 1
+bindsym $mod+Shift+2 move container to workspace number 2
+bindsym $mod+Shift+3 move container to workspace number 3
+bindsym $mod+Shift+4 move container to workspace number 4
+bindsym $mod+Shift+5 move container to workspace number 5
+bindsym $mod+Shift+6 move container to workspace number 6
+bindsym $mod+Shift+7 move container to workspace number 7
+bindsym $mod+Shift+8 move container to workspace number 8
+bindsym $mod+Shift+9 move container to workspace number 9
+
+bindsym $mod+c scratchpad show
+bindsym $mod+Shift+c move scratchpad
+
+bindsym $mod+Shift+b exec $webBrowser
+bindsym $mod+Shift+v exec $discordApp
+bindsym $mod+f exec $fileManager
+bindsym $mod+Shift+p exec $restartWaybar
+bindsym $mod+ctrl+l exec hyprlock
+
+bindsym $mod+Shift+s exec screenie-wlr
+
+bindsym $mod+Mod1+Up exec /home/coast/.local/bin/mpc-shuf.sh shuf
+bindsym $mod+Mod1+Down exec /home/coast/.local/bin/mpc-shuf.sh shufno
+bindsym $mod+Mod1+Right exec /home/coast/.local/bin/mpc-shuf.sh next
+bindsym $mod+Mod1+Left exec /home/coast/.local/bin/mpc-shuf.sh prev
+bindsym $mod+Shift+r exec /home/coast/.local/bin/mpc-shuf.sh search
+bindsym $mod+ctrl+a exec /home/coast/.local/bin/mpc-shuf.sh album
+bindsym $mod+Mod1+r exec /home/coast/.local/bin/mpc-shuf.sh artist
+bindsym $mod+slash exec /home/coast/.local/bin/mpc-shuf.sh info
+bindsym $mod+comma exec mpc volume -5
+bindsym $mod+period exec mpc volume +5
+bindsym $mod+bracketright exec /home/coast/.local/bin/mpc-shuf.sh toggle
+bindsym $mod+ctrl+Up exec /home/coast/.local/bin/mpc-shuf.sh reload
+
+xwayland enable