mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 10:42:56 +01:00
bash/darkman: add scripts for Fedora theme and wallpaper
This commit is contained in:
parent
5dc91eb4ba
commit
4403daa9c8
1
bash/darkman/.gitignore
vendored
Normal file
1
bash/darkman/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
darkman-setup.bash
|
11
bash/darkman/dark-mode.d/99-kde-wallpaper-fedora.sh
Executable file
11
bash/darkman/dark-mode.d/99-kde-wallpaper-fedora.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# To change the wallpaper on all desktops, you have to run a PlasmaShell script
|
||||
# and iterate over all available desktops. This examples uses the default dark
|
||||
# wallpaper on Manjaro (Bamboo).
|
||||
|
||||
# Script credit @mamantoha: https://gist.github.com/mamantoha/c01363e5c791e8324d6248b09cf29bbb
|
||||
|
||||
WALLPAPER_PATH="/usr/share/wallpapers/F$(lsb_release -sr)/contents/images_dark/3840x2160.png"
|
||||
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);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://'$WALLPAPER_PATH'")}'
|
2
bash/darkman/dark-mode.d/zz-kde-plasma-theme-fedora.sh
Executable file
2
bash/darkman/dark-mode.d/zz-kde-plasma-theme-fedora.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
lookandfeeltool --apply "org.fedoraproject.fedora.desktop"
|
1
bash/darkman/darkman-setup.bash
Symbolic link
1
bash/darkman/darkman-setup.bash
Symbolic link
@ -0,0 +1 @@
|
||||
../darkman-setup.bash
|
1
bash/darkman/light-mode.d/.gitignore
vendored
Normal file
1
bash/darkman/light-mode.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
zz-kde-plasma-theme-fedora.sh
|
11
bash/darkman/light-mode.d/99-kde-wallpaper-fedora.sh
Executable file
11
bash/darkman/light-mode.d/99-kde-wallpaper-fedora.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# To change the wallpaper on all desktops, you have to run a PlasmaShell script
|
||||
# and iterate over all available desktops. This examples uses the default dark
|
||||
# wallpaper on Manjaro (Bamboo).
|
||||
|
||||
# Script credit @mamantoha: https://gist.github.com/mamantoha/c01363e5c791e8324d6248b09cf29bbb
|
||||
|
||||
WALLPAPER_PATH="/usr/share/wallpapers/F$(lsb_release -sr)/contents/images/3840x2160.png"
|
||||
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);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://'$WALLPAPER_PATH'")}'
|
1
bash/darkman/light-mode.d/zz-kde-plasma-theme-fedora.sh
Symbolic link
1
bash/darkman/light-mode.d/zz-kde-plasma-theme-fedora.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../dark-mode.d/zz-kde-plasma-theme-fedora.sh
|
Loading…
Reference in New Issue
Block a user