[TWEAK] Better check if we're running KDE, in which case Spectacle should work
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ SCR_NEW="$DIR/$DAY/$TIME.$FORMAT"
|
||||
SCR_LAST=`ls -t $DIR/$DAY/*.png | head -n1`
|
||||
|
||||
# do a screenshot
|
||||
if [ "$DESKTOP_SESSION" = "plasmawayland" ]
|
||||
if [ "$XDG_CURRENT_DESKTOP" = "KDE" ]
|
||||
then
|
||||
spectacle -bn -o $SCR_NEW
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user