From 953602d6ffd4cdbb41c3491bbff4d2c20466704a Mon Sep 17 00:00:00 2001 From: Yann Herklotz grave Date: Tue, 31 Jul 2018 16:22:47 +0100 Subject: Adding work configuration --- i3/config | 61 +++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 24 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 09fb289..36aa8a7 100644 --- a/i3/config +++ b/i3/config @@ -42,6 +42,12 @@ bindsym $mod+d exec i3-dmenu-desktop # installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + # change focus bindsym $mod+j focus left bindsym $mod+k focus down @@ -79,6 +85,7 @@ bindsym $mod+f fullscreen toggle bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split +bindsym $mod+x layout toggle all # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -149,10 +156,38 @@ mode "resize" { bindsym $mod+r mode "resize" +# color defines for zenburn styled i3 +set $bg #2c2c2e +set $fg #9f9f9f +set $hi #efef8f +set $ac #a0afa0 +set $tx #040404 +set $ia #8f8f8f +set $be #8faf9f +set $yw #ccdc90 +set $gn #88b090 +set $rd #e89393 + +# set some nice colors border background text +client.focused $ac $ac $tx +client.unfocused $bg $bg $ia +client.focused_inactive $bg $bg $ac +client.urgent $rd $rd $tx + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status + status_command i3status --config ~/.config/i3/i3status.conf + + colors { + background $bg + statusline $fg + separator $hi + focused_workspace $gn $bg $ac + active_workspace $gn $ac $tx + inactive_workspace $bg $bg $ia + urgent_workspace $rd $bg $ac + } } #============================================================ @@ -160,11 +195,7 @@ bar { #============================================================ # Disable titles -for_window [class="^.*"] border pixel 0 - -smart_gaps on -gaps inner 25 -gaps outer 15 +for_window [class="^.*"] border pixel 2 #============================================================ # Custom Bindings @@ -204,26 +235,8 @@ bindsym $mod+Shift+p mode "$mode_system" # Application Startup #============================================================ -# Start compton for tear fix -exec --no-startup-id compton -c & - # set the background exec --no-startup-id sh ~/.fehbg # Start emacs daemon to use with emacsclient exec --no-startup-id emacs --daemon & - -# Activate redshift -exec --no-startup-id redshift & - -# Startup dropbox -exec --no-startup-id dropbox & - -# Start nm-applet -exec --no-startup-id nm-applet & - -# Start pulse audio system tray - - -# Enable smooth scrolling -exec --no-startup-id xinput set-prop 'DLL075B:01 06CB:76AF Touchpad' 'libinput Natural Scrolling Enabled' 1 -- cgit