logo

dotfiles

My dotfiles, one branch per machine
commit: e9fce738b2c9d23a23806e9c411f9662a10399e3
parent: 6d22e383d39a5a8cb9fc7041d7b5a5d924db188d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  4 Jul 2016 23:52:07 +0200

Move auto-exec to .xinitrc and choose wm via dmenu

Diffstat:

M.i3/config53++++++++++++++++++++++-------------------------------
M.xinitrc6+++++-
2 files changed, 27 insertions(+), 32 deletions(-)

diff --git a/.i3/config b/.i3/config @@ -8,12 +8,6 @@ # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! - -# Setup Desktop -#exec xsetbg /datalove/img/wallpaper/background_1280x800.png - -#exec xautolock -locker locker -time 10 - set $mod Mod4 #======= Colors ======== @@ -45,8 +39,8 @@ bindsym XF86AudioStop exec mpc stop bindsym XF86AudioPrev exec mpc prev bindsym XF86AudioNext exec mpc next -set $← XF86Back # Cancel -set $→ XF86Forward # Redo +set $← XF86Back +set $→ XF86Forward bindsym $← exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1 bindsym $→ exec xinput set-prop "Wacom Bamboo Connect Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1 @@ -56,6 +50,7 @@ bindsym $mod+$← move workspace to output DVI-D-0 # start a terminal bindsym $mod+Return exec st +bindsym $mod+Shift+Return exec st -f 'Source Code Pro-20' # kill focused window bindsym $mod+q kill @@ -179,16 +174,16 @@ mode "resize" { # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym h resize shrink width 5 px or 5 ppt - bindsym j resize grow height 5 px or 5 ppt - bindsym k resize shrink height 5 px or 5 ppt - bindsym l resize grow width 5 px or 5 ppt + bindsym h resize shrink width 1 px or 1 ppt + bindsym j resize grow height 1 px or 1 ppt + bindsym k resize shrink height 1 px or 1 ppt + bindsym l resize grow width 1 px or 1 ppt # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt + bindsym Left resize shrink width 10 px or 5 ppt + bindsym Down resize grow height 10 px or 5 ppt + bindsym Up resize shrink height 10 px or 5 ppt + bindsym Right resize grow width 10 px or 5 ppt # back to normal: Enter or Escape bindsym Return mode "default" @@ -198,28 +193,24 @@ mode "resize" { # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - mode hide - hidden_state hide modifier $mod status_command i3status - separator_symbol " " colors { - #colorclass border bkgrnd text - focused_workspace #586e75 #073642 #839496 - #active_workspace #002b36 #002b36 #586e75 - active_workspace #000000 #0c0c0c #ffffff - inactive_workspace #000000 #0c0c0c #ffffff - urgent_workspace #586e75 #cb4b16 #93a1a1 - - background #002b36 - statusline #839496 - separator #586e75 + #colorclass border bkgrnd text + focused_workspace #586e75 #073642 #839496 + #active_workspace #002b36 #002b36 #586e75 + active_workspace #000000 #0c0c0c #ffffff + inactive_workspace #000000 #0c0c0c #ffffff + urgent_workspace #586e75 #cb4b16 #93a1a1 + + background #002b36 + statusline #839496 + separator #586e75 } - } bindsym $mod+i exec i3-input -binsym $mod+p title_format "%title | %class | %instance" +bindsym $mod+p title_format "%title | %class | %instance" diff --git a/.xinitrc b/.xinitrc @@ -1 +1,5 @@ -i3 +xrandr --output HDMI-1 --right-of DVI-D-1 && xsetbg -gamma 1.0 /seagate/datalove/img/wallpaper/background_dual.png & + +exec dmenu_run & +exec st -e abduco -A 1 & +uim-xim