use i3
authorIan Kelling <ian@iankelling.org>
Thu, 4 Jul 2019 00:10:16 +0000 (20:10 -0400)
committerIan Kelling <ian@iankelling.org>
Thu, 4 Jul 2019 00:10:16 +0000 (20:10 -0400)
distro-begin
input-setup
pkgs
subdir_files/.config/i3/config

index c0c1f240cb494b14b0d41256b258aaa546f45ec5..1da0579e1fd704bf047d2e85b64c1b819f281097 100755 (executable)
@@ -585,17 +585,13 @@ if tp || x2 || x3; then
 fi
 
 
-##### install xmonad
+##### install x stuff
 if has_x; then
     pi ${p2[@]}
-    # note: on older ubuntu I used cabal xmonad + xfce, using cabal versin
-    # see /w/archive/programming/xmonad-cabal.sh
     if isarch; then
         # xorg-xmessage for displaying error messages.
         # optional dependency in arch, standard elsewhere.
-        pi xorg-server xorg-xmessage xmonad-contrib xorg-xsetroot xorg-xinit
-    else
-        pi suckless-tools
+        pi xorg-server xorg-xmessage xorg-xsetroot xorg-xinit
     fi
 fi
 
index 2b7a6ba4a78da10541dc323bff710331df936fd0..d3388c62dc73bcd5788752276b5470445c85580b 100755 (executable)
@@ -22,12 +22,7 @@ else
     k2inorder=true
 fi
 
-case $HOSTNAME in
-    some_x200_laptop) type=laptop ;;
-    hosts_with_keyboards_attached) type=kinesis ;;
-esac
-
-
+type=model01
 
 case $1 in
     l) type=laptop ;;
diff --git a/pkgs b/pkgs
index bbed4cab7a65dd63ef1fae1cfb3817670d302584..0f11b2df4b22d0918baf7f12b0a178a89c568fe1 100644 (file)
--- a/pkgs
+++ b/pkgs
@@ -12,11 +12,10 @@ p1=(
 )
 p2=(
   # 2nd
-  ghc
   konsole
-  xmonad
-  cabal-install
   suckless-tools
+  # prefer xmonad, but it doesnt exist for wayland
+  i3
 )
 p3=(
   at
index ba4dc688d63d3361b912447632cd293dfaa4f20c..d88dd3490c817cba81489fd8c2a9c380fd7b4eec 100644 (file)
 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 "input-setup m"
+# 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'"
+
+bindsym $mod+w focus parent
+bindsym $mod+e fullscreen toggle
+bindsym $mod+r exec "/a/bin/redshift.sh"
+# 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 up
+bindsym $mod+i focus down
+bindsym $mod+o focus left
+bindsym $mod+p focus right
 
-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+a workspace 4
+bindsym $mod+s workspace 3
+bindsym $mod+d workspace 2
+bindsym $mod+f workspace 1
+
+# todo, in newer i3, make this split toggle
+bindsym $mod+v split vertical
+bindsym $mod+b split horizontal
+
+bindsym $mod+c kill
+
+
 bindsym $mod+7 workspace 5
 bindsym $mod+0 workspace 6
 
@@ -61,17 +64,15 @@ bindsym $mod+Shift+7 move container to workspace 5
 bindsym $mod+Shift+0 move container to workspace 6
 
 
+bindsym $mod+k exec i3-sensible-terminal
+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.
 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
-
-# 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.
+# todo: only available in newer i3n
+#hide_edge_borders smart
\ No newline at end of file