summaryrefslogtreecommitdiff
path: root/scripts/Scripts
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2023-01-06 15:28:59 +0100
committerJulian T <julian@jtle.dk>2023-01-06 15:28:59 +0100
commitee499f810d1be191fd8d969df688164d51ba1167 (patch)
tree9481af71884b131c925a0bea5f89d5dd15eac5c5 /scripts/Scripts
parent4343bfddc2788fcba86be1fa4e05e45e926756a3 (diff)
Sxhkdrc and script changes
Diffstat (limited to 'scripts/Scripts')
-rwxr-xr-xscripts/Scripts/lc11
1 files changed, 8 insertions, 3 deletions
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