diff options
author | Adam Stück <adam@adast.xyz> | 2023-02-07 17:36:02 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-02-07 17:36:02 +0100 |
commit | e79ebe9d4f0a8610bb0994117c248503ee10faa2 (patch) | |
tree | b49c17623b90bce6ac0955c022ccb1c36928146b | |
parent | d2e32dbfb485695bc78de78d51b8cb6567316d71 (diff) |
scripts: minor changes
Comment out xidlehook and betterlockscreen, as I am currently not using
these programs
-rwxr-xr-x | .config/X11/xinitrc | 4 | ||||
-rwxr-xr-x | .local/bin/dock | 10 | ||||
-rwxr-xr-x | .local/bin/scheme | 2 | ||||
-rwxr-xr-x | .local/bin/screensaver | 12 |
4 files changed, 15 insertions, 13 deletions
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index 90c7e25..12af84a 100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -37,9 +37,9 @@ clipmenud & playerctld daemon & redshift -l 55.7:12.6 -t 5700:4000 -g 0.9 -m randr -v & unclutter -b & -nextcloud --background & +# nextcloud --background & xwallpaper --center ~/.local/share/bg & -betterlockscreen -u ~/.local/share/lock & +# betterlockscreen -u ~/.local/share/lock & ~/.local/bin/screensaver & ~/.local/bin/comptoggle & ~/.local/bin/rate & 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' '' & |