summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-02-07 17:36:02 +0100
committerAdam Stück <adam@adast.xyz>2023-02-07 17:36:02 +0100
commite79ebe9d4f0a8610bb0994117c248503ee10faa2 (patch)
treeb49c17623b90bce6ac0955c022ccb1c36928146b /.local/bin
parentd2e32dbfb485695bc78de78d51b8cb6567316d71 (diff)
scripts: minor changes
Comment out xidlehook and betterlockscreen, as I am currently not using these programs
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/dock10
-rwxr-xr-x.local/bin/scheme2
-rwxr-xr-x.local/bin/screensaver12
3 files changed, 13 insertions, 11 deletions
diff --git a/.local/bin/dock b/.local/bin/dock
index 8d39930..5764213 100755
--- a/.local/bin/dock
+++ b/.local/bin/dock
@@ -16,19 +16,21 @@ dock () {
echo "error: HDMI not connected"; exit 1
fi
- barpos bottom
+ # barpos bottom
+ barlaunch
xrandr --output HDMI-1 --mode 2560x1440 --rate 70 --primary
xrandr --output eDP-1 --off
xwallpaper --center ~/.local/share/bg
- betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
+ # betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
}
undock () {
- barpos top
+ # barpos top
+ barlaunch
xrandr --output eDP-1 --mode 1920x1080 --primary
xrandr --output HDMI-1 --off
xwallpaper --center ~/.local/share/bg
- betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
+ # betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
}
main "$@"
diff --git a/.local/bin/scheme b/.local/bin/scheme
index 128d8f2..af2edad 100755
--- a/.local/bin/scheme
+++ b/.local/bin/scheme
@@ -49,8 +49,8 @@ set_scheme () {
echo -n $FZF_COLOR > "$XDG_CONFIG_HOME"/scheme/fzf-color
# todo:
+ # - dmenu ?
# - send nvim clients theme update
- # - delta ?
# - restart firefox ?
# - restart thunderbird ?
}
diff --git a/.local/bin/screensaver b/.local/bin/screensaver
index 7b25bf9..37005fc 100755
--- a/.local/bin/screensaver
+++ b/.local/bin/screensaver
@@ -1,9 +1,9 @@
#!/bin/sh
-# xset -dpms
-xset s off
+xset dpms 300
+# xset s off
-xidlehook \
- --detect-sleep --not-when-audio --not-when-fullscreen \
- --timer 300 'betterlockscreen -l' '' \
- --timer 300 'systemctl suspend' '' &
+# xidlehook \
+# --detect-sleep --not-when-audio --not-when-fullscreen \
+# --timer 300 'betterlockscreen -l' '' \
+# --timer 300 'systemctl suspend' '' &