diff options
Diffstat (limited to 'home/xyz/.local/bin/upd')
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
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 |