about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-11-30 21:52:33 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-11-30 21:52:33 +0700
commitb73bf44b7518cdf6d75b3bf79c67d217aced651f (patch)
tree7cdc3480f97d46d9553a5d92a210eb5e1d34124d
parent7e2a016dc724dd9f6767a002f5da889740f137c6 (diff)
downloaddotfiles-b73bf44b7518cdf6d75b3bf79c67d217aced651f.tar.gz
Update 2020-11-30
-rw-r--r--awesome/.config/awesome/rc.lua10
-rw-r--r--awesome/.config/awesome/themes/srcery/background-fullhd.pngbin18372 -> 18599 bytes
-rw-r--r--debian/.bashrc2
-rwxr-xr-xdebian/.screenlayout/dual.sh2
-rwxr-xr-xdebian/.screenlayout/trio.sh2
-rw-r--r--debian/.xinitrc2
-rw-r--r--tridactyl/.config/tridactyl/themes/quakery.css6
7 files changed, 14 insertions, 10 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index bfb390d..1e8432f 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -443,10 +443,10 @@ local globalkeys = awful.util.table.join(
             {description = "swap with previous client by index",
              group = "client"}),
   awful.key({modkey}, "0",
-            function () awful.screen.focus_relative(1) end,
+            function () awful.screen.focus_relative(-1) end,
             {description = "focus the next screen", group = "screen"}),
   awful.key({modkey}, "`",
-            function () awful.screen.focus_relative(-1) end,
+            function () awful.screen.focus_relative(1) end,
             {description = "focus the previous screen", group = "screen"}),
   awful.key({modkey}, "u", awful.client.urgent.jumpto,
             {description = "jump to urgent client", group = "client"}),
@@ -594,9 +594,11 @@ local clientkeys = awful.util.table.join(
   awful.key({modkey, "Control"}, "space",
             function (c) c:swap(awful.client.getmaster()) end,
             {description = "move to master", group = "client"}),
-  awful.key({modkey, "Shift"}, "0", function (c) c:move_to_screen() end,
+  awful.key({modkey, "Shift"}, "0",
+            function (c) c:move_to_screen(c.screen.index - 1) end,
             {description = "move to screen", group = "client"}),
-  awful.key({modkey, "Shift"}, "`", function (c) c:move_to_screen() end,
+  awful.key({modkey, "Shift"}, "`",
+            function (c) c:move_to_screen(c.screen.index + 1) end,
             {description = "move to screen", group = "client"}),
   awful.key({modkey}, "t", function (c) c.ontop = not c.ontop end,
             {description = "toggle keep on top", group = "client"}),
diff --git a/awesome/.config/awesome/themes/srcery/background-fullhd.png b/awesome/.config/awesome/themes/srcery/background-fullhd.png
index f1554f5..8397334 100644
--- a/awesome/.config/awesome/themes/srcery/background-fullhd.png
+++ b/awesome/.config/awesome/themes/srcery/background-fullhd.png
Binary files differdiff --git a/debian/.bashrc b/debian/.bashrc
index 3b86648..f8f277b 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -103,7 +103,7 @@ alias backup='rsync -avh --delete /home/ /data/Home/'
 eval $(thefuck --alias)
 
 function ipfs-cors {
-  ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8080", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
+  ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8000", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
   ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
   systemctl restart --user ipfs
 }
diff --git a/debian/.screenlayout/dual.sh b/debian/.screenlayout/dual.sh
index d68349d..e773480 100755
--- a/debian/.screenlayout/dual.sh
+++ b/debian/.screenlayout/dual.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1 --off --output HDMI-2 --off
+xrandr --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI2 --off --output VIRTUAL1 --off
diff --git a/debian/.screenlayout/trio.sh b/debian/.screenlayout/trio.sh
new file mode 100755
index 0000000..4cb37e1
--- /dev/null
+++ b/debian/.screenlayout/trio.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output eDP1 --mode 1920x1080 --pos 1600x0 --rotate normal --output DP1 --mode 1600x900 --pos 0x0 --rotate normal --output HDMI1 --primary --mode 1920x1080 --pos 3520x0 --rotate normal --output HDMI2 --off --output VIRTUAL1 --off
diff --git a/debian/.xinitrc b/debian/.xinitrc
index 2119bbc..bf0e220 100644
--- a/debian/.xinitrc
+++ b/debian/.xinitrc
@@ -1,5 +1,5 @@
 #!/bin/sh
-$HOME/.screenlayout/dual.sh
+$HOME/.screenlayout/trio.sh
 redshift-gtk -l 21.028333:105.854167 &
 mate-power-manager &
 ibus-daemon -drx
diff --git a/tridactyl/.config/tridactyl/themes/quakery.css b/tridactyl/.config/tridactyl/themes/quakery.css
index 962bbf3..cf2665d 100644
--- a/tridactyl/.config/tridactyl/themes/quakery.css
+++ b/tridactyl/.config/tridactyl/themes/quakery.css
@@ -3,13 +3,13 @@
     --tridactyl-bg: #1c1b19;
     --tridactyl-fg: #fce8c3;
     --tridactyl-font-family: "Latin Modern Mono", monospace;
-    --tridactyl-font-size: 15pt;
+    --tridactyl-font-size: 12pt;
 
     /* Mode indicator */
     --tridactyl-status-font-family: var(--tridactyl-font-family);
     --tridactyl-status-font-size: var(--tridactyl-font-size);
     --tridactyl-status-border: 2px var(--tridactyl-bg) solid;
-    --tridactyl-status-border-radius: 7px;
+    --tridactyl-status-border-radius: 6px;
 
     /* Search highlight */
     --tridactyl-search-highlight-color: #fbb829;
@@ -53,5 +53,5 @@
     top: 10% !important;
     left: 10% !important;
     width: 80% !important;
-    box-shadow: #00000080 0px 0px 15px !important;
+    box-shadow: #00000080 0px 0px 12px !important;
 }