Added a switch to ____ theme script
This commit is contained in:
parent
36ef8183fa
commit
c9f6fb77d0
2 changed files with 24 additions and 0 deletions
12
misc/switch-to-dark-theme.sh
Executable file
12
misc/switch-to-dark-theme.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
lookandfeeltool -a org.kde.breezedark.desktop
|
||||
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript '
|
||||
var allDesktops = desktops();
|
||||
for (i = 0; i < allDesktops.length; i++) {
|
||||
d = allDesktops[i];
|
||||
d.wallpaperPlugin = "org.kde.image";
|
||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
|
||||
d.writeConfig("Image", "file:///home/horseman/nix-config/misc/nixos_wallpaper_dark_3840x2160.png");
|
||||
}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue