Parcourir la source

Broke i3 config into several files.

Allows for easier customization per computer and easier to find files.
Tom Flucke il y a 8 ans
Parent
commit
ccc9226dc6

+ 52 - 0
.i3/00_variables.config

@@ -0,0 +1,52 @@
+### 00 Variables
+
+# i3 config file (v5)
+#
+# Please see http://i3wm.org/docs/userguide.html for a complete reference!
+
+# Mod1 = Alt
+# Mod4 = Window
+
+# TODO:
+# Borders
+# Window-specific commands
+# Colors
+# Interprocess Communication
+# Tab-Through Workspaces
+# i3bar
+
+##Begin Definitions
+# Monitor Names
+set_from_resource $Mon1		mon1	"HDMI-0"
+set_from_resource $Mon2		mon2	$Mon1
+
+# status file
+set_from_resource $status	status	"laptop2"
+
+# Main control Key
+set $mod			Mod4
+set $win			Mod4
+set $alt			Mod1
+
+#Set some windows to float by default
+for_window [class="Wine"] floating enable
+for_window [window_role="Msgcompose"] floating enable
+for_window [title="Eclipse Marketplace "] floating enable
+for_window [title="Friends"] floating enable
+for_window [class=".*Preferences.*"] floating enable
+
+# Focus ignores mouse
+focus_follows_mouse		no
+
+# Only show pop-ups in fullscreen if it belongs to the window
+popup_during_fullscreen		smart
+
+# Wrap if focus shifts off-screen
+force_focus_wrapping		no
+
+# Disable mouse following screen focus
+mouse_warping			none
+
+#Font
+font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+##End Definitions

+ 36 - 0
.i3/01_workspaces.config

@@ -0,0 +1,36 @@
+### 01 Workspace
+
+##Begin Workspace-Monitor-Associations
+workspace 1			output $Mon1
+workspace 2			output $Mon2
+workspace 3			output $Mon1
+workspace 4			output $Mon2
+workspace 5			output $Mon1
+workspace 6			output $Mon2
+workspace 7			output $Mon1
+workspace 8			output $Mon2
+workspace 9			output $Mon1
+workspace 10			output $Mon2
+workspace 11			output $Mon1
+workspace 12			output $Mon2
+workspace 13			output $Mon1
+workspace 14			output $Mon2
+workspace 15			output $Mon1
+workspace 16			output $Mon2
+workspace 17			output $Mon1
+workspace 18			output $Mon2
+workspace 19			output $Mon1
+workspace 20			output $Mon2
+workspace 21			output $Mon1
+workspace 22			output $Mon2
+workspace 23			output $Mon1
+workspace 24			output $Mon2
+workspace 25			output $Mon1
+workspace 26			output $Mon2
+workspace 27			output $Mon1
+workspace 28			output $Mon2
+workspace 29			output $Mon1
+workspace 30			output $Mon2
+
+workspace Wine			output $Mon1
+##End Workspace-Monitor-Associations

+ 20 - 0
.i3/02_mount.config

@@ -0,0 +1,20 @@
+### 03 Mount
+
+## Begin Mount Mode Decleration
+mode "mount"
+{
+	bindsym c		exec "udevil mount /dev/sdc1"; mode "default"
+	bindsym d		exec "udevil mount /dev/sdd1"; mode "default"
+	bindsym e		exec "udevil mount /dev/sde1"; mode "default"
+	bindsym f		exec "udevil mount /dev/sdf1"; mode "default"
+	bindsym g		exec "udevil mount /dev/sdg1"; mode "default"
+	bindsym p		exec "go-mtpfs /mnt/phone"; mode "default"
+	bindsym XF86Eject	exec "eject --traytoggle"; mode "default"
+
+	bindsym u		mode "eject"
+
+	bindsym space		mode "default"
+	bindsym Return		mode "default"
+	bindsym Escape		mode "default"
+}
+## End Mount Mode

+ 20 - 0
.i3/03_eject.config

@@ -0,0 +1,20 @@
+### 03 Eject
+
+## Begin Eject Mode Decleration
+mode "eject"
+{
+	bindsym c		exec "udevil umount -l /dev/sdc1"; mode "default"
+	bindsym d		exec "udevil umount -l /dev/sdd1"; mode "default"
+	bindsym e		exec "udevil umount -l /dev/sde1"; mode "default"
+	bindsym f		exec "udevil umount -l /dev/sdf1"; mode "default"
+	bindsym g		exec "udevil umount -l /dev/sdg1"; mode "default"
+	bindsym p		exec "fusermount -u /mnt/phone"; mode "default"
+	bindsym XF86Eject	exec "eject --traytoggle"; mode "default"
+
+	bindsym m		mode "mount"
+
+	bindsym space		mode "default"
+	bindsym Return		mode "default"
+	bindsym Escape		mode "default"
+}
+## End Eject Mode

+ 34 - 0
.i3/04_bindings.config

@@ -0,0 +1,34 @@
+### 04 Bindings
+
+##Begin Quick-Key
+bindsym $mod+Return			exec "xterm"
+bindsym $mod+d				exec --no-startup-id "j4-dmenu-desktop --dmenu='dmenu -i -b'"
+bindsym $mod+Shift+q			kill
+bindsym $mod+XF86Sleep			exec "i3lock && sudo systemctl suspend"; reload
+bindsym $mod+Shift+XF86Sleep		exec 'checkHibernate.sh'; reload
+# bindsym XF86Search			
+bindsym XF86Go				exec $BROWSER #internet button
+bindsym Shift+XF86Go			exec "chromium --incognito"
+# bindcode 221				#info button
+bindsym XF86Mail			exec thunderbird
+bindsym XF86Eject			mode "mount"
+bindsym Shift+XF86Eject			mode "eject"
+bindsym XF86AudioPrev			exec "mpc prev"
+bindsym XF86AudioPlay			exec "mpc toggle"
+bindsym XF86AudioNext			exec "mpc next"
+bindsym Shift+XF86AudioPrev		exec "mpc seek -00:01"
+bindsym Shift+XF86AudioNext		exec "mpc seek +00:01"
+bindsym XF86AudioStop			exec "mpc stop"
+bindsym XF86AudioLowerVolume		exec "amixer sset Master 5%-"
+bindsym XF86AudioRaiseVolume		exec "amixer sset Master 5%+"
+bindsym Shift+XF86AudioLowerVolume	exec "amixer sset Master 2%-"
+bindsym Shift+XF86AudioRaiseVolume	exec "amixer sset Master 2%+"
+bindsym $alt+Shift+XF86AudioLowerVolume	exec "mpc volume -2"
+bindsym $alt+Shift+XF86AudioRaiseVolume	exec "mpc volume +2"
+bindsym $alt+XF86AudioLowerVolume	exec "mpc volume -5"
+bindsym $alt+XF86AudioRaiseVolume	exec "mpc volume +5"
+bindsym XF86AudioMute			exec "amixer sset Master toggle"
+bindsym F12				exec "scrot -s ~/screenshot.png"
+bindsym Shift+F12			exec "scrot -s ~/x.png && xclip ~/x.png && rm ~/x.png"
+##End Quick-Key
+

+ 148 - 0
.i3/05_movement.config

@@ -0,0 +1,148 @@
+##Begin Select
+bindsym $mod+Left			focus left
+bindsym $mod+Down			focus down
+bindsym $mod+Up				focus up
+bindsym $mod+Right			focus right
+bindsym $mod+p				focus parent
+bindsym $mod+k				focus child
+bindsym $mod+space			focus mode_toggle
+##End Select
+
+##Begin Move
+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+Shift+space		floating toggle
+##End Move
+
+##Begin Switch to Workspace
+bindsym $mod+1				workspace 1
+bindsym $mod+2				workspace 2
+bindsym $mod+3				workspace 3
+bindsym $mod+4				workspace 4
+bindsym $mod+5				workspace 5
+bindsym $mod+6				workspace 6
+bindsym $mod+7				workspace 7
+bindsym $mod+8				workspace 8
+bindsym $mod+9				workspace 9
+bindsym $mod+0				workspace 10
+bindsym $mod+Control+1			workspace 11
+bindsym $mod+Control+2			workspace 12
+bindsym $mod+Control+3			workspace 13
+bindsym $mod+Control+4			workspace 14
+bindsym $mod+Control+5			workspace 15
+bindsym $mod+Control+6			workspace 16
+bindsym $mod+Control+7			workspace 17
+bindsym $mod+Control+8			workspace 18
+bindsym $mod+Control+9			workspace 19
+bindsym $mod+Control+0			workspace 20
+bindsym $mod+Mod1+1			workspace 21
+bindsym $mod+Mod1+2			workspace 22
+bindsym $mod+Mod1+3			workspace 23
+bindsym $mod+Mod1+4			workspace 24
+bindsym $mod+Mod1+5			workspace 25
+bindsym $mod+Mod1+6			workspace 26
+bindsym $mod+Mod1+7			workspace 27
+bindsym $mod+Mod1+8			workspace 28
+bindsym $mod+Mod1+9			workspace 29
+bindsym $mod+Mod1+0			workspace 30
+
+bindsym $mod+Mod2+KP_1			workspace 1
+bindsym $mod+Mod2+KP_2			workspace 2
+bindsym $mod+Mod2+KP_3			workspace 3
+bindsym $mod+Mod2+KP_4			workspace 4
+bindsym $mod+Mod2+KP_5			workspace 5
+bindsym $mod+Mod2+KP_6			workspace 6
+bindsym $mod+Mod2+KP_7			workspace 7
+bindsym $mod+Mod2+KP_8			workspace 8
+bindsym $mod+Mod2+KP_9			workspace 9
+bindsym $mod+Mod2+KP_0			workspace 10
+bindsym $mod+Control+Mod2+KP_1		workspace 11
+bindsym $mod+Control+Mod2+KP_2		workspace 12
+bindsym $mod+Control+Mod2+KP_3		workspace 13
+bindsym $mod+Control+Mod2+KP_4		workspace 14
+bindsym $mod+Control+Mod2+KP_5		workspace 15
+bindsym $mod+Control+Mod2+KP_6		workspace 16
+bindsym $mod+Control+Mod2+KP_7		workspace 17
+bindsym $mod+Control+Mod2+KP_8		workspace 18
+bindsym $mod+Control+Mod2+KP_9		workspace 19
+bindsym $mod+Control+Mod2+KP_0		workspace 20
+bindsym $mod+Mod1+Mod2+KP_1		workspace 21
+bindsym $mod+Mod1+Mod2+KP_2		workspace 22
+bindsym $mod+Mod1+Mod2+KP_3		workspace 23
+bindsym $mod+Mod1+Mod2+KP_4		workspace 24
+bindsym $mod+Mod1+Mod2+KP_5		workspace 25
+bindsym $mod+Mod1+Mod2+KP_6		workspace 26
+bindsym $mod+Mod1+Mod2+KP_7		workspace 27
+bindsym $mod+Mod1+Mod2+KP_8		workspace 28
+bindsym $mod+Mod1+Mod2+KP_9		workspace 29
+bindsym $mod+Mod1+Mod2+KP_0		workspace 30
+
+bindsym $mod+w			workspace Wine
+##End Switch to Workspace
+
+##Being Workspace Shift
+bindsym $mod+Shift+1			move container to workspace 1
+bindsym $mod+Shift+2			move container to workspace 2
+bindsym $mod+Shift+3			move container to workspace 3
+bindsym $mod+Shift+4			move container to workspace 4
+bindsym $mod+Shift+5			move container to workspace 5
+bindsym $mod+Shift+6			move container to workspace 6
+bindsym $mod+Shift+7			move container to workspace 7
+bindsym $mod+Shift+8			move container to workspace 8
+bindsym $mod+Shift+9			move container to workspace 9
+bindsym $mod+Shift+0			move container to workspace 10
+bindsym $mod+Shift+Control+1		move container to workspace 11
+bindsym $mod+Shift+Control+2		move container to workspace 12
+bindsym $mod+Shift+Control+3		move container to workspace 13
+bindsym $mod+Shift+Control+4		move container to workspace 14
+bindsym $mod+Shift+Control+5		move container to workspace 15
+bindsym $mod+Shift+Control+6		move container to workspace 16
+bindsym $mod+Shift+Control+7		move container to workspace 17
+bindsym $mod+Shift+Control+8		move container to workspace 18
+bindsym $mod+Shift+Control+9		move container to workspace 19
+bindsym $mod+Shift+Control+0		move container to workspace 20
+bindsym $mod+Shift+Mod1+1		move container to workspace 21
+bindsym $mod+Shift+Mod1+2		move container to workspace 22
+bindsym $mod+Shift+Mod1+3		move container to workspace 23
+bindsym $mod+Shift+Mod1+4		move container to workspace 24
+bindsym $mod+Shift+Mod1+5		move container to workspace 25
+bindsym $mod+Shift+Mod1+6		move container to workspace 26
+bindsym $mod+Shift+Mod1+7		move container to workspace 27
+bindsym $mod+Shift+Mod1+8		move container to workspace 28
+bindsym $mod+Shift+Mod1+9		move container to workspace 29
+bindsym $mod+Shift+Mod1+0		move container to workspace 30
+
+bindsym $mod+Shift+Mod2+KP_End			move container to workspace 1
+bindsym $mod+Shift+Mod2+KP_Down			move container to workspace 2
+bindsym $mod+Shift+Mod2+KP_Next			move container to workspace 3
+bindsym $mod+Shift+Mod2+KP_Left			move container to workspace 4
+bindsym $mod+Shift+Mod2+KP_Begin		move container to workspace 5
+bindsym $mod+Shift+Mod2+KP_Right		move container to workspace 6
+bindsym $mod+Shift+Mod2+KP_Home			move container to workspace 7
+bindsym $mod+Shift+Mod2+KP_Up			move container to workspace 8
+bindsym $mod+Shift+Mod2+KP_Prior		move container to workspace 9
+bindsym $mod+Shift+Mod2+KP_Insert		move container to workspace 10
+bindsym $mod+Shift+Control+Mod2+KP_End		move container to workspace 11
+bindsym $mod+Shift+Control+Mod2+KP_Down		move container to workspace 12
+bindsym $mod+Shift+Control+Mod2+KP_Next		move container to workspace 13
+bindsym $mod+Shift+Control+Mod2+KP_Left		move container to workspace 14
+bindsym $mod+Shift+Control+Mod2+KP_Begin	move container to workspace 15
+bindsym $mod+Shift+Control+Mod2+KP_Right	move container to workspace 16
+bindsym $mod+Shift+Control+Mod2+KP_Home		move container to workspace 17
+bindsym $mod+Shift+Control+Mod2+KP_Up		move container to workspace 18
+bindsym $mod+Shift+Control+Mod2+KP_Prior	move container to workspace 19
+bindsym $mod+Shift+Control+Mod2+KP_Insert	move container to workspace 20
+bindsym $mod+Shift+Mod1+Mod2+KP_End		move container to workspace 21
+bindsym $mod+Shift+Mod1+Mod2+KP_Down		move container to workspace 22
+bindsym $mod+Shift+Mod1+Mod2+KP_Next		move container to workspace 23
+bindsym $mod+Shift+Mod1+Mod2+KP_Left		move container to workspace 24
+bindsym $mod+Shift+Mod1+Mod2+KP_Begin		move container to workspace 25
+bindsym $mod+Shift+Mod1+Mod2+KP_Right		move container to workspace 26
+bindsym $mod+Shift+Mod1+Mod2+KP_Home		move container to workspace 27
+bindsym $mod+Shift+Mod1+Mod2+KP_Up		move container to workspace 28
+bindsym $mod+Shift+Mod1+Mod2+KP_Prior		move container to workspace 29
+bindsym $mod+Shift+Mod1+Mod2+KP_Insert		move container to workspace 30
+##End Workspace Shift
+

+ 12 - 0
.i3/06_resize.config

@@ -0,0 +1,12 @@
+##Begin Resize-Keys
+bindsym $mod+Control+Left		resize grow   left  2px or 2 ppt
+bindsym $mod+Control+Up			resize grow   up    2px or 2 ppt
+bindsym $mod+Control+Right		resize grow   right 2px or 2 ppt
+bindsym $mod+Control+Down		resize grow   down  2px or 2 ppt
+
+bindsym $mod+Mod1+Left			resize shrink right 2px or 2 ppt
+bindsym $mod+Mod1+Up			resize shrink down  2px or 2 ppt
+bindsym $mod+Mod1+Right			resize shrink left  2px or 2 ppt
+bindsym $mod+Mod1+Down			resize shrink up    2px or 2 ppt
+##End Resize-Keys
+

+ 18 - 0
.i3/07_i3_controls.config

@@ -0,0 +1,18 @@
+##Begin Screen Management
+bindsym $mod+h			split h
+bindsym $mod+v			split v
+bindsym $mod+f			fullscreen
+##End Screen Management
+
+##Begin Layouts
+bindsym $mod+s			layout stacking
+bindsym $mod+t			layout tabbed
+bindsym $mod+u			layout default
+##End Layouts
+
+##Begin i3 Controls
+bindsym $mod+Shift+c		reload
+bindsym $mod+Shift+r		restart
+bindsym $mod+Shift+e		exit
+##End i3 Controls
+

+ 25 - 0
.i3/08_i3status.config.sample

@@ -0,0 +1,25 @@
+## Begin i3status
+bar {
+	output			$Mon1
+	position		top
+	mode			dock
+#	hidden_state		show
+#	modifier		Mod1
+	tray_output		primary
+#	font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+#	font pango:DejaVu Sans Mono 10
+	workspace_buttons	yes
+	colors {
+		separator	#BBFF00
+		statusline	#FFFFFF
+		background	#000033
+#					Border	Background	Text
+		focused_workspace	#4c7899	#285577		#ffffff
+		active_workspace	#333333	#5f676a		#ffffff
+		inactive_workspace	#333333	#222222		#888888
+		urgent_workspace	#2f343a	#900000		#ffffff
+	}
+	status_command		i3status -c "~/.i3/i3status.conf"
+}
+## End i3status
+

+ 63 - 100
.i3/config

@@ -1,11 +1,6 @@
-# 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 somewhen, delete
-# this file and re-run i3-config-wizard(1).
-#
+### 00 Variables
 
-# i3 config file (v4)
+# i3 config file (v5)
 #
 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
 
@@ -20,12 +15,13 @@
 # Tab-Through Workspaces
 # i3bar
 
-###BEGIN USER DEFINED
-
 ##Begin Definitions
 # Monitor Names
-set_from_resource $Mon1		mon1 "HDMI-0"
-set_from_resource $Mon2		mon2 "VGA-0"
+set_from_resource $Mon1		mon1	"HDMI-0"
+set_from_resource $Mon2		mon2	$Mon1
+
+# status file
+set_from_resource $status	status	"laptop2"
 
 # Main control Key
 set $mod			Mod4
@@ -34,8 +30,6 @@ set $alt			Mod1
 
 #Set some windows to float by default
 for_window [class="Wine"] floating enable
-for_window [class="RPG"] floating enable
-for_window [class="Dragon"] floating enable
 for_window [window_role="Msgcompose"] floating enable
 for_window [title="Eclipse Marketplace "] floating enable
 for_window [title="Friends"] floating enable
@@ -56,8 +50,45 @@ mouse_warping			none
 #Font
 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
 ##End Definitions
+### 01 Workspace
+
+##Begin Workspace-Monitor-Associations
+workspace 1			output $Mon1
+workspace 2			output $Mon2
+workspace 3			output $Mon1
+workspace 4			output $Mon2
+workspace 5			output $Mon1
+workspace 6			output $Mon2
+workspace 7			output $Mon1
+workspace 8			output $Mon2
+workspace 9			output $Mon1
+workspace 10			output $Mon2
+workspace 11			output $Mon1
+workspace 12			output $Mon2
+workspace 13			output $Mon1
+workspace 14			output $Mon2
+workspace 15			output $Mon1
+workspace 16			output $Mon2
+workspace 17			output $Mon1
+workspace 18			output $Mon2
+workspace 19			output $Mon1
+workspace 20			output $Mon2
+workspace 21			output $Mon1
+workspace 22			output $Mon2
+workspace 23			output $Mon1
+workspace 24			output $Mon2
+workspace 25			output $Mon1
+workspace 26			output $Mon2
+workspace 27			output $Mon1
+workspace 28			output $Mon2
+workspace 29			output $Mon1
+workspace 30			output $Mon2
 
-##Begin Mount/Eject Mode Decerlation
+workspace Wine			output $Mon1
+##End Workspace-Monitor-Associations
+### 03 Mount
+
+## Begin Mount Mode Decleration
 mode "mount"
 {
 	bindsym c		exec "udevil mount /dev/sdc1"; mode "default"
@@ -74,7 +105,10 @@ mode "mount"
 	bindsym Return		mode "default"
 	bindsym Escape		mode "default"
 }
+## End Mount Mode
+### 03 Eject
 
+## Begin Eject Mode Decleration
 mode "eject"
 {
 	bindsym c		exec "udevil umount -l /dev/sdc1"; mode "default"
@@ -91,16 +125,8 @@ mode "eject"
 	bindsym Return		mode "default"
 	bindsym Escape		mode "default"
 }
-##End Mount/Eject Mode
-
-##Begin MPC Mode Decleration
-mode "mpc"
-{
-	bindsym space		mode "default"
-	bindsym Return		mode "default"
-	bindsym Escape		mode "default"
-}
-##End Eject Mode
+## End Eject Mode
+### 04 Bindings
 
 ##Begin Quick-Key
 bindsym $mod+Return			exec "xterm"
@@ -152,18 +178,6 @@ bindsym $mod+Shift+Right		move right
 bindsym $mod+Shift+space		floating toggle
 ##End Move
 
-##Begin Resize-Keys
-bindsym $mod+Control+Left		resize grow   left  2px or 2 ppt
-bindsym $mod+Control+Up			resize grow   up    2px or 2 ppt
-bindsym $mod+Control+Right		resize grow   right 2px or 2 ppt
-bindsym $mod+Control+Down		resize grow   down  2px or 2 ppt
-
-bindsym $mod+Mod1+Left			resize shrink right 2px or 2 ppt
-bindsym $mod+Mod1+Up			resize shrink down  2px or 2 ppt
-bindsym $mod+Mod1+Right			resize shrink left  2px or 2 ppt
-bindsym $mod+Mod1+Down			resize shrink up    2px or 2 ppt
-##End Resize-Keys
-
 ##Begin Switch to Workspace
 bindsym $mod+1				workspace 1
 bindsym $mod+2				workspace 2
@@ -294,44 +308,17 @@ bindsym $mod+Shift+Mod1+Mod2+KP_Prior		move container to workspace 29
 bindsym $mod+Shift+Mod1+Mod2+KP_Insert		move container to workspace 30
 ##End Workspace Shift
 
-##Begin Workspace-Monitor-Associations
-workspace 1			output $Mon1
-workspace 2			output $Mon2
-workspace 3			output $Mon1
-workspace 4			output $Mon2
-workspace 5			output $Mon1
-workspace 6			output $Mon2
-workspace 7			output $Mon1
-workspace 8			output $Mon2
-workspace 9			output $Mon1
-workspace 10			output $Mon2
-workspace 11			output $Mon1
-workspace 12			output $Mon2
-workspace 13			output $Mon1
-workspace 14			output $Mon2
-workspace 15			output $Mon1
-workspace 16			output $Mon2
-workspace 17			output $Mon1
-workspace 18			output $Mon2
-workspace 19			output $Mon1
-workspace 20			output $Mon2
-workspace 21			output $Mon1
-workspace 22			output $Mon2
-workspace 23			output $Mon1
-workspace 24			output $Mon2
-workspace 25			output $Mon1
-workspace 26			output $Mon2
-workspace 27			output $Mon1
-workspace 28			output $Mon2
-workspace 29			output $Mon1
-workspace 30			output $Mon2
-
-workspace Wine			output $Mon1
-##End Workspace-Monitor-Associations
+##Begin Resize-Keys
+bindsym $mod+Control+Left		resize grow   left  2px or 2 ppt
+bindsym $mod+Control+Up			resize grow   up    2px or 2 ppt
+bindsym $mod+Control+Right		resize grow   right 2px or 2 ppt
+bindsym $mod+Control+Down		resize grow   down  2px or 2 ppt
 
-##Begin Program-Workspace-Associations
-#assign [class="^Wine$"] → Wine
-##End Program-Workspace-Associations
+bindsym $mod+Mod1+Left			resize shrink right 2px or 2 ppt
+bindsym $mod+Mod1+Up			resize shrink down  2px or 2 ppt
+bindsym $mod+Mod1+Right			resize shrink left  2px or 2 ppt
+bindsym $mod+Mod1+Down			resize shrink up    2px or 2 ppt
+##End Resize-Keys
 
 ##Begin Screen Management
 bindsym $mod+h			split h
@@ -351,7 +338,7 @@ bindsym $mod+Shift+r		restart
 bindsym $mod+Shift+e		exit
 ##End i3 Controls
 
-##Begin i3status
+## Begin i3status
 bar {
 	output			$Mon1
 	position		top
@@ -372,31 +359,7 @@ bar {
 		inactive_workspace	#333333	#222222		#888888
 		urgent_workspace	#2f343a	#900000		#ffffff
 	}
-	status_command		i3cat --cmd-file="/home/tom/.i3/i3cat.0.conf"
-}
-
-bar {
-	output			$Mon2
-	position		top
-	mode			dock
-#	hidden_state		show
-#	modifier		Mod1
-	tray_output		none
-#	font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
-#	font pango:DejaVu Sans Mono 10
-	workspace_buttons	yes
-	colors {
-		separator	#BBFF00
-		statusline	#FFFFFF
-		background	#000044
-#					Border	Background	Text
-		focused_workspace	#4c7899	#285577		#ffffff
-		active_workspace	#333333	#5f676a		#ffffff
-		inactive_workspace	#333333	#222222		#888888
-		urgent_workspace	#2f343a	#900000		#ffffff
-	}
-	status_command		i3cat --cmd-file="/home/tom/.i3/i3cat.1.conf"
+	status_command		i3status -c "~/.i3/i3status.conf"
 }
-##End i3status
+## End i3status
 
-###END USER DEFINED

+ 0 - 1
.i3/i3cat.0.conf

@@ -1 +0,0 @@
-i3status -c ~/.i3/status.0.conf

+ 0 - 2
.i3/i3cat.1.conf

@@ -1,2 +0,0 @@
-~/.i3/mpdFunctions.sh
-i3status -c ~/.i3/status.1.conf

+ 0 - 1
.i3/i3cat.conf

@@ -1 +0,0 @@
-i3status -c ~/.i3/status.1.conf

+ 13 - 13
.i3/status.0.conf → .i3/i3status.conf

@@ -18,20 +18,20 @@ general {
 
 # order +=				"ipv6"
 order +=				"disk /"
-order +=				"disk /var"
-order +=				"disk /home"
-order +=				"disk /boot"
-order +=				"disk /media"
-# order +=				"run_watch DHCP"
+# order +=				"disk /var"
+# order +=				"disk /home"
+# order +=				"disk /boot"
+# order +=				"disk /media"
+order +=				"run_watch DHCP"
 # order +=				"run_watch VPN"
-# order +=				"wireless wlan0"
-# order +=				"ethernet enp4s0"
-# order +=				"battery 0"
+order +=				"wireless wlp2s0"
+order +=				"ethernet eno1"
+order +=				"battery 0"
 order +=				"cpu_temperature 0"
 order +=				"cpu_usage"
 order +=				"load"
-# order +=				"tztime local"
-# order +=				"volume master"
+order +=				"tztime local"
+order +=				"volume master"
 
 ipv6 {
 	# %ip =				the current ipv6 address
@@ -114,7 +114,7 @@ run_watch VPN {
         pidfile = "/var/run/vpnc/pid"
 }
 
-wireless wlan0 {
+wireless wlp2s0 {
 	# %ip =				the current ip address
 	# %quality =			the quality of the current network connection
 	# %essid =			the name of the current network connection
@@ -122,11 +122,11 @@ wireless wlan0 {
 	# format_up =			when connected to a wireless network
 	# format_down =			when not connected to a wireless network
 
-	format_up =			"W: %ip@%essid (%speed)"
+	format_up =			"W: %ip@%essid (%bitrate)"
 	format_down =			"W: down"
 }
 
-ethernet enp4s0 {
+ethernet eno1 {
 	# %ip =				the current ip address
 	# %speed =			the speed of the current network connection
 	# %quality =			the quality of the current network connection

+ 0 - 196
.i3/status.1.conf

@@ -1,196 +0,0 @@
-# i3status configuration file.
-# see "man i3status" for documentation.
-
-# It is important that this file is edited as UTF-8.
-# The following line should contain a sharp s:
-# ß
-# If the above line is not correctly displayed, fix your editor first!
-
-general {
-        colors =			true
-	color_good =			"#00FF00"
-	color_degraded =		"#0000FF"
-	color_bad =			"#FF0000"
-	color_separator =		"#000000"
-        interval =			3
-	output_format =			i3bar
-}
-
-# order +=				"ipv6"
-# order +=				"disk /"
-# order +=				"disk /var"
-# order +=				"disk /home"
-# order +=				"disk /boot"
-order +=				"run_watch MPD"
-# order +=				"run_watch VPN"
-# order +=				"wireless wlan0"
-order +=				"run_watch DHCP"
-order +=				"ethernet enp4s0"
-# order +=				"battery 0"
-# order +=				"cpu_temperature 0"
-# order +=				"cpu_usage"
-# order +=				"load"
-order +=				"tztime local"
-order +=				"volume master"
-
-ipv6 {
-	# %ip =				the current ipv6 address
-	# format_up =			when an ip is avaliable
-	# format_down =			when an ip is not avaliable
-
-	format_up =			"ipV6: %ip"
-	format_down =			"ipV6: none"
-}
-
-disk "/" {
-	# %free =			Unused disk space on partition
-	# %avail =			Avalible disk space on partition
-	# %used =			Used disk space on partition
-	# %total =			Disk space on partition
-	# %percentage_free =		Percentage of unused disk space on partition
-	# %percentage_avail =		Percentage of avalible disk space on partition
-	# %percentage_used =		Percentage of used disk space on partition
-
-	format =			"/: %used/%total"
-}
-
-disk "/var" {
-	# %free =			Unused disk space on partition
-	# %avail =			Avalible disk space on partition
-	# %used =			Used disk space on partition
-	# %total =			Disk space on partition
-	# %percentage_free =		Percentage of unused disk space on partition
-	# %percentage_avail =		Percentage of avalible disk space on partition
-	# %percentage_used =		Percentage of used disk space on partition
-
-	format =			"/var: %used/%total"
-}
-
-disk "/home" {
-	# %free =			Unused disk space on partition
-	# %avail =			Avalible disk space on partition
-	# %used =			Used disk space on partition
-	# %total =			Disk space on partition
-	# %percentage_free =		Percentage of unused disk space on partition
-	# %percentage_avail =		Percentage of avalible disk space on partition
-	# %percentage_used =		Percentage of used disk space on partition
-
-	format =			"/home: %used/%total"
-}
-
-disk "/boot" {
-	# %free =			Unused disk space on partition
-	# %avail =			Avalible disk space on partition
-	# %used =			Used disk space on partition
-	# %total =			Disk space on partition
-	# %percentage_free =		Percentage of unused disk space on partition
-	# %percentage_avail =		Percentage of avalible disk space on partition
-	# %percentage_used =		Percentage of used disk space on partition
-
-	format =			"/boot: %used/%total"
-}
-
-run_watch DHCP {
-	# %title =			Title of process to watch
-	# %status =			status of process being watched
-	# pidfile =			file containing the pid to watch
-
-	pidfile =			"/var/run/dhcpcd*.pid"
-}
-
-run_watch MPD {
-	# %title =			Title of process to watch
-	# %status =			status of process being watched
-	# pidfile =			file containing the pid to watch
-
-	pidfile =			"/run/mpd/mpd.pid"
-}
-
-run_watch VPN {
-        pidfile = "/var/run/vpnc/pid"
-}
-
-wireless wlan0 {
-	# %ip =				the current ip address
-	# %quality =			the quality of the current network connection
-	# %essid =			the name of the current network connection
-	# %bitrate =			the bitrate of the current network connection
-	# format_up =			when connected to a wireless network
-	# format_down =			when not connected to a wireless network
-
-	format_up =			"W: %ip@%essid (%speed)"
-	format_down =			"W: down"
-}
-
-ethernet enp4s0 {
-	# %ip =				the current ip address
-	# %speed =			the speed of the current network connection
-	# format_up =			when connected to a wireless network
-	# format_down =			when not connected to a wireless network
-
-	format_up =			"E: %ip - %speed"
-	format_down =			"E: down"
-}
-
-battery 0 {
-	# last_full_capacity =		use the actual maximum capacity or the design capacity (true|false)
-	# integer_battery_capacity =	round charge to nearest integer (true|false)
-	# low_threshold =		The point at which the battery is considered "bad" (changes color)
-	# threshold_type =		The mesure of the threshold (time|percentage)
-	# %status =			What the battery is doing (charging|discharging|running)
-	# %remaining =			Remaining time
-	# %percentage =			Percent full
-	# %emptytime =			Estemated time untill empty
-	# %consumption =		Power consumption in Watts
-
-	last_full_capacity =		true
-	integer_battery_capacity =	false
-	threshold_type =		time
-	low_threshold =			7
-	format =			"B: %status %percentage %remaining"
-}
-
-cpu_temperature 0 {
-	# max_threshold =               The point at which the cpu temperature is considered "bad" (changes color)
-	# %degrees =			Tempeture in Celcius
-
-	max_threshold =			40
-	format =			"CPU T: %degrees°C"
-}
-
-cpu_usage {
-	# %usage =			Percent usage
-
-	format =			"CPU U: %usage"
-}
-
-load {
-	# max_threshold =               The point at which the queue is considered "bad" (changes color)
-	# %1min/%5min/%15min =		The number of tasks in the CPU queue for the last minute/5 minutes/15 minutes
-
-	format =			"CPU L: %1min"
-}
-
-tztime local {
-	# %Y =				Current year at the timezone
-	# %m =				Current month at the timezone
-	# %d =				Current day at the timezone
-	# %H =				Current hour at the timezone
-	# %M =				Current minute at the timezone
-	# %S =				Current second at the timezone
-	# %Z =				The selected timezone
-
-	format = "D: %Y/%m/%d - T: %H:%M @%Z"
-}
-
-volume master {
-	# %volume =			The selected timezone
-	# device =			Specify the device
-	# mixer =			Specify the mixer
-	# mixer_idx =			
-
-	device = "default"
-	mixer = "Master"
-	mixer_idx = 0
-	format = "♪: %volume"
-}

+ 2 - 0
.xinitrc

@@ -1,3 +1,5 @@
 [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
 
+source .xsessionrc
+
 exec /usr/bin/i3