1
0
Fork 0

fssh + setbg

This commit is contained in:
zymon 2024-06-11 12:13:43 +02:00
parent a4a5016d47
commit cc9a7271e2
3 changed files with 11 additions and 0 deletions

View file

@ -11,3 +11,6 @@ mkdir -p "${XDG_DATA_HOME}"
ln --force --symbolic --no-dereference $BASEDIR/config/x11/ "${XDG_CONFIG_HOME}/x11"
ln --force --symbolic --no-dereference $BASEDIR/config/zsh/ "${XDG_CONFIG_HOME}/zsh"
ln --force --symbolic --no-dereference $BASEDIR/local/bin/fssh "${XDG_BIN_HOME}/fssh"
ln --force --symbolic --no-dereference $BASEDIR/local/bin/setbg "${XDG_BIN_HOME}/setbg"

3
local/bin/fssh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
ssh "$(grep '^Host\b' "$HOME"/.ssh/config | awk '{print $2}' | fzf)"

5
local/bin/setbg Executable file
View file

@ -0,0 +1,5 @@
#/bin/sh
wpath="$HOME/i/wallpapers"
img=$(ls $wpath | fzf)
feh --no-fehbg --bg-fill $wpath/$img