summaryrefslogtreecommitdiff
path: root/dot_config/sway
diff options
context:
space:
mode:
authorSakamoto <me@sakamoto.network>2026-08-29 16:04:49 -0500
committerSakamoto <me@sakamoto.network>2026-08-29 16:04:49 -0500
commitde5dd3ace1db0538df5db00f154c3b311c867cad (patch)
tree5f5812ead3ef6b70b098e29665e70cbbfe6ed78d /dot_config/sway
parentd51beea88d300cb5066bb92a8148cad52fa1091d (diff)
downloaddotfiles-master.tar.xz
dotfiles-master.zip
Diffstat (limited to 'dot_config/sway')
-rw-r--r--dot_config/sway/executable_config23
1 files changed, 13 insertions, 10 deletions
diff --git a/dot_config/sway/executable_config b/dot_config/sway/executable_config
index 7b75619..c885371 100644
--- a/dot_config/sway/executable_config
+++ b/dot_config/sway/executable_config
@@ -7,14 +7,14 @@
### Variables
#
# Logo key. Use Mod1 for Alt.
-set $mod Mod1
+set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
-set $term wezterm
+set $term foot
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
@@ -35,10 +35,10 @@ output * bg ~/Pictures/thumbnail.png center
#
# Example configuration:
#
-# exec swayidle -w \
-# timeout 300 'swaylock -f -c 000000' \
-# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
-# before-sleep 'swaylock -f -c 000000'
+exec swayidle -w \
+ timeout 300 'swaylock -f -c 000000' \
+ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
+ before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
@@ -69,7 +69,7 @@ output * bg ~/Pictures/thumbnail.png center
bindsym $mod+Shift+q kill
# Start your launcher
- bindsym $mod+d exec $menu
+ bindsym $mod+x exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@@ -84,7 +84,8 @@ output * bg ~/Pictures/thumbnail.png center
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
# Lock screen
- bindsym $mod+Shift+m exec lock
+ bindsym $mod+Shift+m exec 'swaylock -f -c 000000'
+
#
# Moving around:
#
@@ -227,8 +228,6 @@ exec udiskie
exec keepassxc --minimized
exec /usr/lib/hyprpolkitagent/hyprpolkitagent
-bindsym $mod+Shift+y exec 'swaylock -f -c 000000'
-
bindsym $mod+tab workspace next
# # capture all screens to clipboard
@@ -241,4 +240,8 @@ seat * hide_cursor 4000
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
+for_window [class="Pinentry-gtk"] floating enable
+
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
+
include /etc/sway/config.d/*