summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-12-05 20:26:11 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-12-05 20:26:11 -0500
commit3fe8e7c0fc39bd132c3354c45d7263b273529c7e (patch)
tree88d16b3ebe1a396a37982354d81670949b3086d4 /desktop
parente1cf7c1aba52c8bb8b62b1f0d8d64875fd220058 (diff)
sway config
Diffstat (limited to 'desktop')
-rwxr-xr-xdesktop/.config/sway/config34
1 files changed, 10 insertions, 24 deletions
diff --git a/desktop/.config/sway/config b/desktop/.config/sway/config
index 0a8bcb5..58149da 100755
--- a/desktop/.config/sway/config
+++ b/desktop/.config/sway/config
@@ -8,11 +8,6 @@
#
# Logo key. Use Mod1 for Alt.
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 foot
# Your preferred application launcher
@@ -20,6 +15,12 @@ set $term foot
# on the original workspace that the command was run on.
set $menu rofi -show run | xargs swaymsg exec --
+default_border pixel 2
+default_floating_border none
+font pango:monospace 0
+titlebar_padding 1
+titlebar_border_thickness 0
+
include /etc/sway/config-vars.d/*
### Output configuration
@@ -95,21 +96,14 @@ bindsym $mod+Shift+z exec --no-startup-id 'swaylock'
# Moving around:
#
# Move your focus around
- bindsym $mod+$left focus left
- bindsym $mod+$down focus down
- bindsym $mod+$up focus up
- bindsym $mod+$right focus right
+ bindsym $mod+j focus next
+ bindsym $mod+k focus prev
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
- # Move the focused window with the same, but add Shift
- bindsym $mod+Shift+$left move left
- bindsym $mod+Shift+$down move down
- bindsym $mod+Shift+$up move up
- bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
@@ -183,15 +177,6 @@ bindsym $mod+Shift+z exec --no-startup-id 'swaylock'
# Resizing containers:
#
mode "resize" {
- # left will shrink the containers width
- # right will grow the containers width
- # up will shrink the containers height
- # down will grow the containers height
- bindsym $left resize shrink width 10px
- bindsym $down resize grow height 10px
- bindsym $up resize shrink height 10px
- bindsym $right resize grow width 10px
-
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
@@ -238,4 +223,5 @@ include /etc/sway/config.d/*
exec "ssh-agent -a $SSH_AUTH_SOCK"
exec nm-applet
-exec dunst \ No newline at end of file
+exec dunst
+exec kanshi -c ~/.config/kanshi/config