1
0
Fork 0

Compare commits

..

No commits in common. "5e924d2280272e3e47d9b874e1811f89eb4a4d0e" and "130003e0ae6bdb2dc0edb6e5ed4b2448eff14a9f" have entirely different histories.

6 changed files with 2 additions and 65 deletions

View file

@ -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 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 XF86Display spawn systemd-run --scope --user ~/.config/herbstluftwm/monitors
hc keybind XF86ScreenSaver spawn systemd-run --scope --user xscreensaver-command -lock hc keybind XF86ScreenSaver and a spawn systemd-run --scope --user slock a spawn xset dpms force off
hc keybind Print spawn systemd-run --scope --user sh -c 'maim --hidecursor | xclip -t image/png -selection clip' 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' hc keybind Shift-Print spawn systemd-run --scope --user sh -c 'maim --select --hidecursor | xclip -t image/png -selection clip'
# shellcheck disable=SC2016 # 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 'maim -i $(xdotool getactivewindow) | xclip -t image/png -selection clip'
hc keybind Ctrl-Print spawn systemd-run --scope --user "$HOME/bin/recordcurrwin" 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
# theme # theme
hc attr theme.tiling.reset 1 hc attr theme.tiling.reset 1

View file

@ -1,47 +0,0 @@
#!/bin/bash
set -x
log() {
# echo "$@" >&2
notify-send -t 1000 "Gopass form filler" "$*"
}
qute-command() {
echo "$@" >> "$QUTE_FIFO"
}
send-key() {
qute-command fake-key "$@"
}
insert-text() {
qute-command insert-text "$@"
}
domain="$(echo "$QUTE_URL" | sed -E 's|^https?://||;s|/.*||')"
mapfile -t secrets < <(gopass find "$domain")
mode=${1:-"login-password"}
if (( ${#secrets[@]} > 1 ))
then
secret="$(printf "%s\n" "${secrets[@]}" | rofi -dmenu)"
elif (( ${#secrets[@]} < 1 ))
then
log "No secret found!"
exit 0
else
secret="${secrets[0]}"
fi
if [[ -z "$secret" ]]
then
exit 0
fi
if [[ "$mode" = *login* ]] ; then insert-text "$(gopass show -o "$secret" login)" && sleep 0.1 ; fi
if [[ "$mode" = "login-password" ]] ; then send-key "<Tab>" ; fi
if [[ "$mode" = *password* ]] ; then insert-text "$(gopass show -o "$secret")" ; fi
if [[ "$mode" = "otp" ]] ; then insert-text "$(gopass otp -o "$secret")" ; fi

View file

@ -1 +0,0 @@
/home/vladimir/.config/systemd/user/xscreensaver.service

View file

@ -1,10 +0,0 @@
[Unit]
Description=Screensaver
PartOf=hlwm.target
[Service]
Type=simple
ExecStart=/usr/bin/xscreensaver --no-splash
[Install]
WantedBy=hlwm.target

View file

@ -78,10 +78,6 @@ packages=(
nodejs nodejs
unzip unzip
recordmydesktop recordmydesktop
difftastic
xorg-xinput
acpi
yt-dlp
) )
sudo pacman -Syu --needed "${packages[@]}" sudo pacman -Syu --needed "${packages[@]}"