From b73bf44b7518cdf6d75b3bf79c67d217aced651f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 30 Nov 2020 21:52:33 +0700 Subject: Update 2020-11-30 --- debian/.bashrc | 2 +- debian/.screenlayout/dual.sh | 2 +- debian/.screenlayout/trio.sh | 2 ++ debian/.xinitrc | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 debian/.screenlayout/trio.sh (limited to 'debian') 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 -- cgit v1.2.3