aboutsummaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authordacctal <120422854+dacctal@users.noreply.github.com>2026-03-05 01:21:45 +0000
committerdacctal <120422854+dacctal@users.noreply.github.com>2026-03-05 01:21:45 +0000
commit69a722cfd33076a4d63f1d49e52bed427453eabe (patch)
tree56545e93c12a8232058a0ab2b258546418656e03 /.config/sway
initial commit
Diffstat (limited to '.config/sway')
-rwxr-xr-x.config/sway/config103
-rwxr-xr-x.config/sway/exec7
-rwxr-xr-x.config/sway/monitors10
-rwxr-xr-x.config/sway/visuals44
-rw-r--r--.config/sway/walls/caelus.pngbin0 -> 40012 bytes
5 files changed, 164 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
new file mode 100755
index 0000000..6230e4c
--- /dev/null
+++ b/.config/sway/config
@@ -0,0 +1,103 @@
+include ./monitors
+include ./exec
+include ./visuals
+
+set $mod Mod4
+
+# direction keys
+set $left h
+set $down j
+set $up k
+set $right l
+
+set $term foot
+set $menu foot --app-id otter-launcher -T foot otter-launcher
+for_window [app_id="otter-launcher"] floating enable
+
+# Screenshots
+set $scsh grim -g "$(slurp)" - | wl-copy
+set $fullscsh grim - | wl-copy
+
+### Input configuration
+# input "2:14:SynPS/2_Synaptics_TouchPad" {
+# dwt enabled
+# tap enabled
+# natural_scroll enabled
+# middle_emulation enabled
+# }
+#
+# You can get the names of your inputs by running: swaymsg -t get_inputs
+
+# -Key bindings-
+# Basics:
+ bindsym $mod+Return exec $term
+ bindsym $mod+c kill
+ bindsym $mod+r exec $menu
+ floating_modifier $mod normal
+ bindsym $mod+Shift+r reload
+ bindsym $mod+Shift+e exit
+
+# Moving around:
+ 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
+
+# Workspaces:
+ 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+0 workspace number 10
+ bindsym $mod+n workspace number 11
+ bindsym $mod+m workspace number 12
+ 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+0 move container to workspace number 10
+ bindsym $mod+Shift+n move container to workspace number 11
+ bindsym $mod+Shift+m move container to workspace number 12
+# You might want to change the keybinds for 11 and 12 ^
+
+# Layout stuff:
+ bindsym $mod+b splith
+ bindsym $mod+v splitv
+ bindsym $mod+s layout stacking
+ bindsym $mod+w layout tabbed
+ bindsym $mod+e layout toggle split
+
+ bindsym $mod+f fullscreen
+
+ # Toggle the current focus between tiling and floating mode
+ bindsym $mod+space floating toggle
+
+# Utilities:
+ # Volume
+ bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
+ bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
+ bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
+ bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
+ # Brightness
+ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
+ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
+ # Screenshots
+ bindsym Print exec grim -g "$(slurp)" - | wl-copy
+ bindsym Shift+Print exec grim - | wl-copy
+
+include @sysconfdir@/sway/config.d/*
diff --git a/.config/sway/exec b/.config/sway/exec
new file mode 100755
index 0000000..8d21cb7
--- /dev/null
+++ b/.config/sway/exec
@@ -0,0 +1,7 @@
+exec export QT_QPA_PLATFORMTHEME=qt6ct
+exec export XDG_CURRENT_DESKTOP=sway
+exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
+exec systemctl --user start xdg-desktop-portal-wlr.service
+exec syncthing
+exec $term
diff --git a/.config/sway/monitors b/.config/sway/monitors
new file mode 100755
index 0000000..2eb991e
--- /dev/null
+++ b/.config/sway/monitors
@@ -0,0 +1,10 @@
+# Wallpaper
+output * bg ~/.config/sway/walls/caelus.png fill
+
+# My monitors (change to work for yours):
+output DP-2 res 1920x1080@143.981Hz pos 0,0
+output DP-1 res 1920x1080@74.973Hz pos 1920,0
+output HDMI-A-1 modeline 141.50 1920 2032 2232 2544 1080 1083 1088 1114 -hsync +vsync
+output HDMI-A-1 pos 960,-1080
+
+# You can get the names of your outputs by running: swaymsg -t get_outputs
diff --git a/.config/sway/visuals b/.config/sway/visuals
new file mode 100755
index 0000000..7d8f3de
--- /dev/null
+++ b/.config/sway/visuals
@@ -0,0 +1,44 @@
+gaps inner 2px
+gaps outer 2px
+
+default_border pixel 2px
+default_floating_border pixel 2px
+
+# cursor
+seat seat0 xcursor_theme Bibata-Original-Ice 14
+
+# Status Bar:
+bar {
+ swaybar_command swaybar
+ font Terminess Nerd Font Bold Regular 12
+ position top
+ workspace_min_width 36
+ tray_padding 4
+ colors {
+ background #141514
+ statusline #ef934d
+ separator #ef934d
+ focused_background #1e1f1e
+ focused_statusline #ef934d
+ focused_separator #ef934d
+ focused_workspace #ef934d #ef934d #141514
+ active_workspace #7ec97e #7ec97e #141514
+ inactive_workspace #3b403c #3b403c #f4decd
+ urgent_workspace #f16e65 #f16e65 #141514
+ binding_mode #71b4d6 #71b4d6 #141514
+ }
+}
+
+# -Colors-
+# name border bg text ind child_border
+client.focused #ef944d #141514 #f4decd #ef944d #ef944d
+client.focused_inactive #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
+client.unfocused #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
+client.urgent #f16e65 #141514 #f4decd #f16e65 #f16e65
+client.placeholder #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
+
+# Swayfx
+# comment these out if you don't use swayfx
+#blur enable
+#corner_radius 6
+#shadows enable
diff --git a/.config/sway/walls/caelus.png b/.config/sway/walls/caelus.png
new file mode 100644
index 0000000..7e8033d
--- /dev/null
+++ b/.config/sway/walls/caelus.png
Binary files differ