From 220cfa4136faa6f4d478e62cb88d4423d3f4bf03 Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Wed, 13 Mar 2019 16:39:45 +1100 Subject: [PATCH] update i3 config --- i3/.i3/config | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/i3/.i3/config b/i3/.i3/config index 90b5e7c..c555ef3 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -183,7 +183,7 @@ mode "move" { bindsym Escape mode "default" } -for_window [window_type=dialog] floating enable +# media keys bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1%+ bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1%- bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle @@ -192,9 +192,7 @@ bindsym XF86AudioPause exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous - - - +for_window [window_type=dialog] floating enable # i3bar bar { @@ -208,18 +206,16 @@ bar { } } -for_window[class="^.*"] border pixel 5 +# borders / gaps +for_window[class="^.*"] border pixel 5 gaps inner 15 gaps outer 0 -#exec_always xrandr --output VGA-0 --mode 1440x900 --pos 216x1080 --rotate normal --output DVI-I-1 --off --output DVI-I-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal -#exec_always xrandr --output VGA-1 --below HDMI-1 -##exec_always /home/andrew/.screenlayout/layout-orig.sh && sleep 3 && /home/andrew/.screenlayout/layout-test.sh -#exec_always /home/andrew/.screenlayout/layout-test.sh + +# startup scripts exec_always xrandr --output HDMI-0 --pos 0x0 --output DVI-D-0 --pos 240x1080 exec_always feh --bg-fill /home/andrew/.wallpaper.png exec_always compton -f -b --config /home/andrew/.compton.conf -exec --no-startup-id redshift& exec --no-startup-id chromium exec --no-startup-id spotify -- 2.49.0