about summary refs log tree commit diff
path: root/debian
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 /debian
parent7e2a016dc724dd9f6767a002f5da889740f137c6 (diff)
downloaddotfiles-b73bf44b7518cdf6d75b3bf79c67d217aced651f.tar.gz
Update 2020-11-30
Diffstat (limited to 'debian')
-rw-r--r--debian/.bashrc2
-rwxr-xr-xdebian/.screenlayout/dual.sh2
-rwxr-xr-xdebian/.screenlayout/trio.sh2
-rw-r--r--debian/.xinitrc2
4 files changed, 5 insertions, 3 deletions
diff --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