aboutsummaryrefslogtreecommitdiff
path: root/config/sway
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-09-01 12:43:41 -0500
committerMatt Singleton <matt@xcolour.net>2022-03-16 18:59:37 -0500
commita17ae708b7bf66bea0437417ef0ca0c2ad3be13c (patch)
treed09ee1642c923a9d9edef0a4edfaec3f10efa0f3 /config/sway
parentc12583494ee49a2ef1d2c485795f51712d66ce71 (diff)
sway-related config changes
Diffstat (limited to 'config/sway')
-rw-r--r--config/sway/config15
1 files changed, 13 insertions, 2 deletions
diff --git a/config/sway/config b/config/sway/config
index 3d25c44..13d151e 100644
--- a/config/sway/config
+++ b/config/sway/config
@@ -14,7 +14,7 @@ set $down j
set $up k
set $right l
# Your preferred terminal emulator
-set $term alacritty
+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.
@@ -28,7 +28,7 @@ smart_borders on
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-output * bg ~/Pictures/i3_cheatsheet.png center #FFFFFF
+output * background ~/Pictures/marfa.jpg fill
#
# Example configuration:
#
@@ -97,6 +97,8 @@ output * bg ~/Pictures/i3_cheatsheet.png center #FFFFFF
# 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'
+ bindsym $mod+Shift+i exec swaylock
+ bindsym $mod+Shift+comma exec 1password --toggle
# Media keys
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
@@ -269,4 +271,13 @@ bar {
}
}
+#
+# Apps
+#
+
+for_window [class="1Password"] floating enable
+for_window [app_id="firefox"] inhibit_idle fullscreen
+assign [class="Tauon Music Box"] workspace number 3
+assign [class="Joplin"] workspace number 4
+
include /etc/sway/config.d/*