summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-10-30 01:13:52 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-10-30 01:13:52 -0700
commite18d9308b059e08494023577dc1b02fc2f6f4ae8 (patch)
tree9c52d1506ea4e12f53ae8aad62340f0efd2eec5e /home/xyz/.local/bin
parenta962a7ba0bec32194443234bd3f107b995ab5acf (diff)
update
Diffstat (limited to 'home/xyz/.local/bin')
-rwxr-xr-xhome/xyz/.local/bin/upd4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 4a74bef5..3d9d924c 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -42,7 +42,7 @@ misc () {
#sudo hardcode-fixer
awk '!a[$0]++' "$XDG_DATA_HOME/sdcv_history" | sponge "$XDG_DATA_HOME/sdcv_history"
# temperory solution before find a way of using git submodule or subtree with `cfg -l`
- git --git-dir="$HOME/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks/.git/" --work-tree="$HOME/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks/" pull
+ #git --git-dir="$HOME/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks/.git/" --work-tree="$HOME/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks/" pull
rustup update
}
@@ -75,6 +75,7 @@ usb () {
#rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / /run/media/xyz/bd0/pp
}
+gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
if [ $# -eq 0 ]; then
fast
else
@@ -92,3 +93,4 @@ else
done
fi
[ "$log" ] && printf '%s' "$log" | tee "$XDG_DOCUMENTS_DIR/logs/upd.log"
+gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type suspend