general updates
authorAndrew Lorimer <andrew@lorimer.id.au>
Fri, 14 Aug 2020 01:56:15 +0000 (11:56 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Fri, 14 Aug 2020 01:56:15 +0000 (11:56 +1000)
compton/.compton.conf
i3/.i3/config
i3/.screenlayout/layout3.sh [new file with mode: 0755]
i3/.screenlayout/layout4.sh [new file with mode: 0755]
i3/.wallpaper.jpg
x/.xinitrc
index 8e23699dd9824cd663c143b187cc41c15eaa63f8..73a03f0cc752ff48fd9883454c9c20f40e8583a7 100644 (file)
@@ -47,7 +47,8 @@ glx-copy-from-front = false;
 # Useless with --glx-use-copysubbuffermesa.\r
 # Partially breaks --resize-damage.\r
 # Defaults to undefined.\r
-glx-swap-method = "undefined";\r
+#glx-swap-method = "undefined";\r
+use-damage = true;\r
 \r
 #################################\r
 #\r
@@ -116,7 +117,7 @@ inactive-opacity = 1;
 active-opacity = 1;\r
 frame-opacity = 1;\r
 inactive-opacity-override = false;\r
-alpha-step = 0.06;\r
+#alpha-step = 0.06;\r
 \r
 # Dim inactive windows. (0.0 - 1.0)\r
 # inactive-dim = 0.2;\r
@@ -192,12 +193,12 @@ vsync = "opengl-swc";
 # Reported to have no effect, though.\r
 dbe = false;\r
 # Painting on X Composite overlay window. Recommended.\r
-paint-on-overlay = true;\r
+#paint-on-overlay = true;\r
 \r
 # Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.\r
 # This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,\r
 # unless you wish to specify a lower refresh rate than the actual value.\r
-sw-opti = true;\r
+#sw-opti = true;\r
 \r
 # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.\r
 # Known to cause flickering when redirecting/unredirecting windows.\r
index 2b56191d954d4010f93b0096136d2b8bd6005281..cc13d91dd8c35ac0a9053681fe4bb4c28dd41d5e 100644 (file)
@@ -4,7 +4,7 @@ set $inactive-bg-color    #2f343f
 set $text-color           #2f343f
 set $inactive-text-color  #839495
 set $urgent-bg-color      #dc322f
-set $bar-color            #082833cc
+set $bar-color            #082833bf
 
 # windows key
 set $mod Mod4
@@ -32,10 +32,10 @@ client.urgent           $urgent-bg-color    $urgent-bg-color    $text-color
 bindsym $mod+d exec "rofi -modi drun,run -show drun -show-icons -icon-theme Numix-Circle"
 
 # change focus
-bindsym $mod+j focus left
-bindsym $mod+k focus down
-bindsym $mod+l focus up
-bindsym $mod+semicolon focus right
+bindsym $mod+h focus left
+bindsym $mod+j focus down
+bindsym $mod+k focus up
+bindsym $mod+l focus right
 
 # alternatively, you can use the cursor keys:
 bindsym $mod+Left focus left
@@ -44,10 +44,10 @@ bindsym $mod+Up focus up
 bindsym $mod+Right focus right
 
 # move focused window
-bindsym $mod+Shift+j move left
-bindsym $mod+Shift+k move down
-bindsym $mod+Shift+l move up
-bindsym $mod+Shift+semicolon move right
+bindsym $mod+Shift+h move left
+bindsym $mod+Shift+j move down
+bindsym $mod+Shift+k move up
+bindsym $mod+Shift+l move right
 
 # alternatively, you can use the cursor keys:
 bindsym $mod+Shift+Left move left
@@ -56,11 +56,13 @@ bindsym $mod+Shift+Up move up
 bindsym $mod+Shift+Right move right
 
 # move workspace to other monitor
-bindsym $mod+Control+k move workspace to output down
-bindsym $mod+Control+l move workspace to output up
+bindsym $mod+Control+j move workspace to output down
+bindsym $mod+Control+k move workspace to output up
+bindsym $mod+Control+h move workspace to output left 
+bindsym $mod+Control+l move workspace to output right
 
 # split in horizontal orientation
-bindsym $mod+h split h
+bindsym $mod+s split h
 
 # split in vertical orientation
 bindsym $mod+v split v
@@ -69,7 +71,7 @@ bindsym $mod+v split v
 bindsym $mod+f fullscreen toggle
 
 # change container layout (stacked, tabbed, toggle split)
-bindsym $mod+s layout stacking
+#bindsym $mod+s layout stacking
 bindsym $mod+w layout tabbed
 bindsym $mod+e layout toggle split
 
@@ -147,15 +149,15 @@ 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 j resize shrink width 10 px or 10 ppt
-        bindsym k resize grow height 10 px or 10 ppt
-        bindsym l resize shrink height 10 px or 10 ppt
-        bindsym semicolon resize grow width 10 px or 10 ppt
+        bindsym h resize shrink width 10 px or 10 ppt
+        bindsym j resize grow height 10 px or 10 ppt
+        bindsym k resize shrink height 10 px or 10 ppt
+        bindsym l resize grow width 10 px or 10 ppt
 
-        bindsym Shift+j resize shrink width 1px or 1ppt
-        bindsym Shift+k resize grow height 1px or 1ppt
-        bindsym Shift+l resize shrink height 1px or 1ppt
-        bindsym Shift+semicolon resize grow width 1px or 1ppt
+        bindsym Shift+h resize shrink width 1px or 1ppt
+        bindsym Shift+j resize grow height 1px or 1ppt
+        bindsym Shift+k resize shrink height 1px or 1ppt
+        bindsym Shift+l resize grow width 1px or 1ppt
 
         # same bindings, but for the arrow keys
         bindsym Left resize shrink width 10 px or 10 ppt
@@ -213,28 +215,29 @@ focus_on_window_activation focus
 
 # i3bar
 bar {
-       font pango:Ubuntu Mono derivative Powerline 11
-       i3bar_command i3bar -t
-        status_command exec i3blocks
+  i3bar_command i3bar -t
+  status_command exec i3blocks
+  colors {
+          background $bar-color
+  }
+  font pango:Ubuntu Mono derivative Powerline 11
 #      status_command i3status
 #      output VGA-0
-       colors {
-               background $bar-color
-       }
 }
 
 
 # borders / gaps
 for_window[class="^.*"] border pixel 4
-for_window[class="Tilda"] border pixel 0
 gaps inner 15
 gaps outer 0
 
 # startup background services
 exec_always --no-startup-id xrdb /home/andrew/.Xdefaults
-exec_always --no-startup-id xrandr --output HDMI-0 --pos 0x0 --output DVI-D-0 --pos 240x1080
-exec_always --no-startup-id feh --bg-fill /home/andrew/.wallpaper.jpg
-exec_always --no-startup-id compton -b --config /home/andrew/.compton.conf
+#exec_always --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 2560x1440 --pos 0x181 --rotate normal --output DP-0 --off --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right
+#exec_always --no-startup-id xrandr --output DVI-D-1 --off --output HDMI-1 --primary --mode 2560x1440 --pos 0x240 --rotate normal --output DP-1 --off --output HDMI-2 --mode 1920x1080 --pos 2560x0 --rotate right
+
+exec_always --no-startup-id feh --bg-scale --no-xinerama /home/andrew/.wallpaper.jpg
+exec_always --no-startup-id picom -b --config /home/andrew/.picom.conf
 exec_always --no-startup-id xbindkeys --poll-rc
 
 # start GUI apps
diff --git a/i3/.screenlayout/layout3.sh b/i3/.screenlayout/layout3.sh
new file mode 100755 (executable)
index 0000000..02806bc
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output DVI-D-0 --off --output HDMI-0 --mode 2560x1440 --pos 0x181 --rotate normal --output DP-0 --off --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right
diff --git a/i3/.screenlayout/layout4.sh b/i3/.screenlayout/layout4.sh
new file mode 100755 (executable)
index 0000000..1f4ced4
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output DVI-D-1 --off --output HDMI-1 --primary --mode 2560x1440 --pos 0x240 --rotate normal --output DP-1 --off --output HDMI-2 --mode 1920x1080 --pos 2560x0 --rotate right
index f86d1f0d30aca5c5ae5b5a2e6f6e94c4aff168ef..32ddc22734911be574d53c7ef8c53f311592ca9e 100644 (file)
Binary files a/i3/.wallpaper.jpg and b/i3/.wallpaper.jpg differ
index e78cdd089df46fcc8975f38c89531b18f1a31bb0..9712bfcdf04da3091a111c80d180d42065e2ce2b 100644 (file)
@@ -3,4 +3,5 @@
 xrdb -merge /home/andrew/.Xresources
 numlockx &  # enable numlock on login
 xinput set-button-map $(xinput list --id-only 'SteelSeries SteelSeries Rival 110 Gaming Mouse') 1 2 3 4 5 6 7 0 0
+xbindkeys --poll-rc
 exec i3