various improvements
[distro-setup] / subdir_files / .config / i3 / config
index ba4dc688d63d3361b912447632cd293dfaa4f20c..4249289572c341ef80b5aa211cbbd5e999273964 100644 (file)
@@ -1,77 +1,78 @@
-# This file has been auto-generated by i3-config-wizard(1).
-# It will not be overwritten, so edit it as you like.
-#
-# Should you change your keyboard layout some time, delete
-# this file and re-run i3-config-wizard(1).
-#
+####### DO NOT EDIT LIVE CONFIG. generated from /a/bin/distro-setup/i3-sway/gen #######
 
-# i3 config file (v4)
-#
-# Please see http://i3wm.org/docs/userguide.html for a complete reference!
 
 set $mod Mod4
 
-
-# exit i3 (logs you out of your X session)
-bindsym $mod+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
-
 bindsym $mod+2 exec "pavucontrol"
-bindsym $mod+3 exec "firefox"
-bindsym $mod+4 exec "input-setup"
-bindsym $mod+w exec "/a/bin/redshift.sh 2"
-bindsym $mod+e exec "/a/bin/redshift.sh 1"
-bindsym $mod+r exec "/a/bin/redshift.sh 0"
-# todo, add mod+t for cycle layout
+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/ds/xl"
+# todo, in newer i3, make this toggle split tabbed
 bindsym $mod+t layout toggle split
-# move focused window
-bindsym $mod+Delete move left
-bindsym $mod+parenright move right
-# todo, some other binds in here and beyond.
-# reload the configuration file. change to restart if needed.
-bindsym $mod+p restart
-# start a terminal
-bindsym $mod+k exec i3-sensible-terminal
-# start dmenu (a program launcher)
-bindsym $mod+l exec dmenu_run
-# kill focused window
-bindsym $mod+c kill
+bindsym $mod+g layout tabbed
 
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod
 
-bindsym F8 focus down
+bindsym $mod+u focus left
+bindsym $mod+i focus right
+bindsym $mod+o focus up
+bindsym $mod+p focus down
 
-bindsym $mod+b layout stacking
+bindsym $mod+Left move left
+bindsym $mod+Right move right
+bindsym $mod+Up move up
+bindsym $mod+Down move down
 
-# todo, other workspaces
 # switch to workspace
-bindsym $mod+f workspace 1
-bindsym $mod+d workspace 2
-bindsym $mod+s workspace 3
+bindsym $mod+Shift+a move container to workspace 4
 bindsym $mod+a workspace 4
-bindsym $mod+7 workspace 5
-bindsym $mod+0 workspace 6
-
 # 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+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
+
+bindsym $mod+c kill
+
+
+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
+
+
+bindsym $mod+j exec emacsclient -c
+bindsym $mod+k exec konsole
+bindsym $mod+l exec dmenu_run
 
 
 # Font for window titles. Will also be used by the bar unless a different font
 # is used in the bar {} block below.
 font pango:monospace 8
 
-# This font is widely installed, provides lots of unicode glyphs, right-to-left
-# text rendering and scalability on retina/hidpi displays (thanks to pango).
-#font pango:DejaVu Sans Mono 8
+# todo: only available in newer i3n
+#hide_edge_borders smart
+# exit i3 (logs you out of your X session)
+bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
 
-# Before i3 v4.8, we used to recommend this one as the default:
-# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
-# The font above is very space-efficient, that is, it looks good, sharp and
-# clear in small sizes. However, its unicode glyph coverage is limited, the old
-# X core fonts rendering does not support right-to-left and this being a bitmap
-# font, it doesn’t scale on retina/hidpi displays.
+bindsym $mod+Shift+p restart