diff options
author | Sterophonick | 2024-04-05 14:07:44 -0600 |
---|---|---|
committer | Sterophonick | 2024-04-05 14:07:44 -0600 |
commit | 24353f51f567565722e2a5874afbb441d07f5df6 (patch) | |
tree | be5a79962d91a86890e1772f9cb9f00ac4f0515b | |
parent | c27bc5f6228da9ffacd2e14c22d5f6485949eb7a (diff) | |
download | aur-24353f51f567565722e2a5874afbb441d07f5df6.tar.gz |
add kwin rules
-rwxr-xr-x | sappy2006 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sappy2006 b/sappy2006 index d9e173b2b6af..ac17ab428bae 100755 --- a/sappy2006 +++ b/sappy2006 @@ -16,6 +16,20 @@ configure() { wine regsvr32 /s $SAPPYDIR/vbalCbEx6.ocx wine regsvr32 /s $SAPPYDIR/vbalExpBar6.ocx touch $SAVEFILE # ensures that we don't repeat configuration process + + if ! grep -q "[SAPPY_2006]" "$HOME/.config/kwinrulesrc"; then + + cat >> ~/.config/kwinrulesrc << EOF + +[SAPPY_2006] +Description=Fix to Sappy 2006 for taskbar appearance. +clientmachine=localhost +skiptaskbarrule=2 +wmclass=sappy.exe +wmclassmatch=1 +EOF + fi + } if [ ! -f "$SAVEFILE" ]; then # first boot |