Created
July 27, 2020 03:06
-
-
Save farseerfc/e74367a64be79f02d8d0a5a74d0d8d9b to your computer and use it in GitHub Desktop.
try plasma remove shadow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Categories=System;Utility; | |
Comment[zh_CN]= | |
Comment= | |
Exec=/home/farseerfc/try.sh | |
GenericName[zh_CN]=try | |
GenericName=try | |
MimeType= | |
Name[zh_CN]=try | |
Name=try | |
OnlyShowIn= | |
Path= | |
StartupNotify=false | |
Terminal=false | |
TerminalOptions= | |
Type=Application | |
X-DBUS-ServiceName= | |
X-DBUS-StartupType=none | |
X-GNOME-AutoRestart=false | |
X-GNOME-Autostart-Notify=false | |
X-KDE-StartupNotify=false | |
X-KDE-SubstituteUID=false | |
X-KDE-Username= | |
X-KDE-autostart-after=panel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
plasma_waitforname | |
sleep 30 | |
# wait until plasma notification is up and ready | |
for WID in $(xwininfo -root -tree | sed '/"Plasma": ("plasmashell" "plasmashell")/!d; s/^ *\([^ ]*\) .*/\1/g'); do | |
xprop -id $WID -remove _KDE_NET_WM_SHADOW | |
done | |
date -Iseconds >> /home/farseerfc/testscript | |
pgrep -l plasma >> /home/farseerfc/testscript | |
echo "execed" >> /home/farseerfc/testscript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment