herbs: add xscreensaver
This commit is contained in:
parent
130003e0ae
commit
10ad7f9004
4 changed files with 14 additions and 2 deletions
|
@ -141,12 +141,12 @@ hc keybind XF86AudioPlay spawn systemd-run --scope --user "$HOME/bin/mprisctl" t
|
|||
hc keybind XF86TouchpadToggle spawn systemd-run --scope --user sh -c 'xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" $(xinput --list-props "SynPS/2 Synaptics TouchPad" | awk -F ":\t+" "/Device Enabled/ { print (1+\$2)%2}")'
|
||||
|
||||
hc keybind XF86Display spawn systemd-run --scope --user ~/.config/herbstluftwm/monitors
|
||||
hc keybind XF86ScreenSaver and a spawn systemd-run --scope --user slock a spawn xset dpms force off
|
||||
hc keybind XF86ScreenSaver spawn systemd-run --scope --user xscreensaver-command -lock
|
||||
hc keybind Print spawn systemd-run --scope --user sh -c 'maim --hidecursor | xclip -t image/png -selection clip'
|
||||
hc keybind Shift-Print spawn systemd-run --scope --user sh -c 'maim --select --hidecursor | xclip -t image/png -selection clip'
|
||||
# shellcheck disable=SC2016
|
||||
hc keybind Ctrl-Print spawn systemd-run --scope --user sh -c 'maim -i $(xdotool getactivewindow) | xclip -t image/png -selection clip'
|
||||
hc keybind Ctrl-Print spawn systemd-run --scope --user sh -c "$HOME/bin/recordcurrwin"f=documents recordmydesktop --windowid=$(xdotool getactivewindow) | xclip -t image/png -selection clip
|
||||
hc keybind Ctrl-Print spawn systemd-run --scope --user "$HOME/bin/recordcurrwin"
|
||||
|
||||
# theme
|
||||
hc attr theme.tiling.reset 1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/home/vladimir/.config/systemd/user/xscreensaver.service
|
|
@ -0,0 +1 @@
|
|||
/dev/null
|
10
dot_config/systemd/user/xscreensaver.service
Normal file
10
dot_config/systemd/user/xscreensaver.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Screensaver
|
||||
PartOf=hlwm.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/xscreensaver --no-splash
|
||||
|
||||
[Install]
|
||||
WantedBy=hlwm.target
|
Loading…
Add table
Reference in a new issue