summary refs log tree commit diff
path: root/.config/sway/simple.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-26 17:16:07 +0100
committerRobert Günzler <r@gnzler.io>2020-01-26 18:00:59 +0100
commitf5d56602df70950de6b7d40966b00c9939c81763 (patch)
treeb50ffeb5496fe3525cc1bab2629389ced95435b7 /.config/sway/simple.conf
Intial commit of v2
See https://drewdevault.com/2019/12/30/dotfiles.html
Diffstat (limited to '.config/sway/simple.conf')
-rw-r--r--.config/sway/simple.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/.config/sway/simple.conf b/.config/sway/simple.conf
new file mode 100644
index 0000000..435f235
--- /dev/null
+++ b/.config/sway/simple.conf
@@ -0,0 +1,26 @@
+set $mod Mod4
+set $left h
+set $right l
+set $up k
+set $down j
+set $term alacritty
+set $menu wofi -terminal $term -show drun
+
+bindsym $mod+Return exec $term
+bindsym $mod+Shift+q kill
+bindsym $mod+d exec $menu
+bindsym $mod+Shift+c reload
+bindsym $mod+Shift+e exit
+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
+bindsym $mod+f fullscreen
+bindsym $mod+Backspace seat - pointer_constraint disable
+bindsym $mod+0 seat - pointer_constraint escape
+
+exec swaynag -m $(sway --get-socketpath)