diff options
author | Julian T <julian@jtle.dk> | 2023-01-06 15:28:59 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2023-01-06 15:28:59 +0100 |
commit | ee499f810d1be191fd8d969df688164d51ba1167 (patch) | |
tree | 9481af71884b131c925a0bea5f89d5dd15eac5c5 | |
parent | 4343bfddc2788fcba86be1fa4e05e45e926756a3 (diff) |
Sxhkdrc and script changes
-rw-r--r-- | bspwm/.config/sxhkd/sxhkdrc | 2 | ||||
-rwxr-xr-x | scripts/Scripts/lc | 11 | ||||
-rwxr-xr-x | xinit/Scripts/xlaunchrc | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/bspwm/.config/sxhkd/sxhkdrc b/bspwm/.config/sxhkd/sxhkdrc index 62d4265..ddeecdd 100644 --- a/bspwm/.config/sxhkd/sxhkdrc +++ b/bspwm/.config/sxhkd/sxhkdrc @@ -51,7 +51,7 @@ super + w # send the newest marked node to the newest preselected node super + y - bspc node newest.marked.local -n newest.!automatic.local + bspc node -n 'last.!automatic.local' # swap the current node and the biggest node super + g diff --git a/scripts/Scripts/lc b/scripts/Scripts/lc index be356a6..e84d856 100755 --- a/scripts/Scripts/lc +++ b/scripts/Scripts/lc @@ -3,7 +3,7 @@ LOGFILE=.lc.log DMENU="rofi -dmenu" -Commands="s suspend screen goto common bwpass remember set-keyboard sa-keyboard rotate poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" +Commands="s suspend screen goto common bwpass remember forever set-keyboard sa-keyboard rotate poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" handle_stuff() { if [ "$1" = "--dmenu" ]; then @@ -66,8 +66,13 @@ handle_stuff() { fi if [ "$1" = "remember" ]; then - import /tmp/rem.png - feh /tmp/rem.png + import $imagename + feh $imagename + fi + if [ "$1" = "forever" ]; then + import $imagename + feh $imagename + echo "feh ${imagename} &" >> ~/remember_forever.sh fi if [ "$1" = "rotate" ]; then diff --git a/xinit/Scripts/xlaunchrc b/xinit/Scripts/xlaunchrc index 558c7d8..3b7f5c8 100755 --- a/xinit/Scripts/xlaunchrc +++ b/xinit/Scripts/xlaunchrc @@ -20,6 +20,8 @@ nm-applet & dunst & play ~/Winsounds/login.wav -q & +bash ~/remember_forever.sh + # Cursor thing xsetroot -cursor_name left_ptr |