summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorfrosty <passedgoandgot200@disroot.org>2025-07-04 07:05:02 -0400
committerfrosty <passedgoandgot200@disroot.org>2025-07-04 07:05:02 -0400
commit60ab4987b4a15e2a4ab1ce3c660e1ef7c03d5318 (patch)
tree22a8fcea007993a106142a28c943c9ccb37835dc /.config/sway
parent188008e82328ae1b9f65515d726ee6b4ff379aff (diff)
downloaddotfiles-60ab4987b4a15e2a4ab1ce3c660e1ef7c03d5318.tar.gz
dotfiles-60ab4987b4a15e2a4ab1ce3c660e1ef7c03d5318.zip
add sway
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/.gitignore1
-rw-r--r--.config/sway/config125
2 files changed, 126 insertions, 0 deletions
diff --git a/.config/sway/.gitignore b/.config/sway/.gitignore
new file mode 100644
index 0000000..26708af
--- /dev/null
+++ b/.config/sway/.gitignore
@@ -0,0 +1 @@
+wallpaper
diff --git a/.config/sway/config b/.config/sway/config
new file mode 100644
index 0000000..8fadb0e
--- /dev/null
+++ b/.config/sway/config
@@ -0,0 +1,125 @@
+set $term $TERMINAL
+set $lock swaylock -c "#000000"
+
+exec foot -s
+exec mako
+exec kanshi
+exec_always kanshictl reload
+exec_always xrdb -load "$XDG_CONFIG_HOME/Xresources"
+
+font pango:Iosevka 10.5
+
+default_border pixel 1
+default_floating_border pixel 1
+gaps inner 8
+
+output * bg #000000 solid_color
+
+seat * xcursor_theme Adwaita 24
+
+input type:pointer {
+ accel_profile flat
+ pointer_accel 0.6
+}
+
+input type:keyboard {
+ xkb_options caps:escape
+ repeat_delay 300
+ repeat_rate 50
+}
+
+input type:touchpad {
+ natural_scroll enabled
+}
+
+input "2:10:TPPS/2_IBM_TrackPoint" {
+ accel_profile flat
+ pointer_accel 1
+}
+
+client.focused #285577 #285577 #ffffff #2e9ef4 #285577
+#client.focused_inactive #5f676a #5f676a #ffffff #484e50 #5f676a
+client.focused_inactive #222222 #222222 #888888 #292d2e #222222
+client.unfocused #222222 #222222 #888888 #292d2e #222222
+client.urgent #900000 #900000 #ffffff #000000 #900000
+
+bar {
+ position top
+ tray_output none
+ colors {
+ background #090909
+
+ active_workspace #090909 #5f676a #ffffff
+ focused_workspace #090909 #285577 #ffffff
+ inactive_workspace #090909 #222222 #888888
+ urgent_workspace #090909 #900000 #ffffff
+ }
+}
+
+set $mod Mod4
+set $alt Mod1
+
+set $audioset 5
+
+for_window [class="Nsxiv"] floating enable
+for_window [shell="xwayland"] title_format "[XWayland] %title"
+
+floating_modifier $mod
+
+bindsym $mod+Return exec $term
+bindsym $mod+p exec fuzzel
+
+bindsym Print exec screenshot
+bindsym Shift+Print exec screenshot -s
+
+bindsym XF86AudioRaiseVolume exec wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ $audioset%+ && notify-volume
+bindsym XF86AudioLowerVolume exec wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ $audioset%- && notify-volume
+bindsym $mod+backslash exec notify-loadavg
+
+bindsym $mod+Shift+c kill
+bindsym $mod+Shift+f fullscreen
+
+bindsym $mod+b splith
+bindsym $mod+v splitv
+bindsym $mod+a focus parent
+
+bindsym $mod+s layout stacking
+bindsym $mod+w layout tabbed
+bindsym $mod+e layout toggle split
+
+bindsym $mod+Shift+space floating toggle
+bindsym $mod+space focus mode_toggle
+
+bindsym $mod+Shift+r reload
+bindsym $mod+Shift+q exit
+bindsym $mod+Control+l exec $lock
+
+bindsym $mod+h focus left
+bindsym $mod+j focus down
+bindsym $mod+k focus up
+bindsym $mod+l focus right
+bindsym $mod+Shift+h move left
+bindsym $mod+Shift+j move down
+bindsym $mod+Shift+k move up
+bindsym $mod+Shift+l move right
+
+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+Tab workspace back_and_forth
+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+Shift+Tab move container to workspace back_and_forth