various improvements
[distro-setup] / i3-sway / common.conf
index 29c0dabde638b3f4394cfca8286239becb4a23a0..44eb9506f95fc902b8772bf0921d16e281060003 100644 (file)
@@ -6,10 +6,11 @@ set $mod Mod4
 bindsym $mod+2 exec "pavucontrol"
 bindsym $mod+3 exec "abrowser"
 bindsym $mod+4 exec "abrowser -no-remote -P firefox-main-profile"
+bindsym $mod+5 exec "/a/bin/redshift.sh"
 
 bindsym $mod+w focus parent
 bindsym $mod+e fullscreen toggle
-bindsym $mod+r exec "/a/bin/redshift.sh"
+bindsym $mod+r exec "/a/bin/ds/xl"
 # todo, in newer i3, make this toggle split tabbed
 bindsym $mod+t layout toggle split
 bindsym $mod+g layout tabbed
@@ -17,10 +18,10 @@ bindsym $mod+g layout tabbed
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod
 
-bindsym $mod+u focus up
-bindsym $mod+i focus down
-bindsym $mod+o focus left
-bindsym $mod+p focus right
+bindsym $mod+u focus left
+bindsym $mod+i focus right
+bindsym $mod+o focus up
+bindsym $mod+p focus down
 
 bindsym $mod+Left move left
 bindsym $mod+Right move right
@@ -28,11 +29,25 @@ bindsym $mod+Up move up
 bindsym $mod+Down move down
 
 # switch to workspace
+bindsym $mod+Shift+a move container to workspace 4
 bindsym $mod+a workspace 4
+# move focused container to workspace
+bindsym $mod+Shift+s move container to workspace 3
 bindsym $mod+s workspace 3
+
+bindsym $mod+Shift+d move container to workspace 2
 bindsym $mod+d workspace 2
+
+bindsym $mod+Shift+f move container to workspace 1
 bindsym $mod+f workspace 1
 
+bindsym $mod+Shift+z move container to workspace 5
+bindsym $mod+z workspace 5
+
+bindsym $mod+Shift+x move container to workspace 6
+bindsym $mod+x workspace 6
+
+
 # todo, in newer i3, make this split toggle
 bindsym $mod+v split vertical
 bindsym $mod+b split horizontal
@@ -40,23 +55,16 @@ bindsym $mod+b split horizontal
 bindsym $mod+c kill
 
 
-bindsym $mod+7 workspace 5
-bindsym $mod+0 workspace 6
+bindsym $mod+Shift+8 move container to workspace 7
+bindsym $mod+8 workspace 7
+bindsym $mod+Shift+9 move container to workspace 8
+bindsym $mod+9 workspace 8
 
-# move focused container to workspace
-bindsym $mod+Shift+f move container to workspace 1
-bindsym $mod+Shift+d move container to workspace 2
-bindsym $mod+Shift+s move container to workspace 3
-bindsym $mod+Shift+a move container to workspace 4
-bindsym $mod+Shift+7 move container to workspace 5
-bindsym $mod+Shift+0 move container to workspace 6
 
 bindsym $mod+j exec emacsclient -c
 bindsym $mod+k exec konsole
 bindsym $mod+l exec dmenu_run
 
-bindsym $mod+Shift+p restart
-
 
 # Font for window titles. Will also be used by the bar unless a different font
 # is used in the bar {} block below.