mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-07-04 19:19:41 +03:00
Add darkman config
This commit is contained in:
12
.config/darkman/scripts/examples/kde-global-theme.sh
Executable file
12
.config/darkman/scripts/examples/kde-global-theme.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Change the global Plasma Theme. On Manjaro you can use "org.manjaro.breath-dark.desktop"
|
||||
# or you can create your own global Plasma Theme with the "Plasma Look And Feel Explorer".
|
||||
# Reference: https://userbase.kde.org/Plasma/Create_a_Global_Theme_Package
|
||||
#
|
||||
# Since Plasma 5.26 the lookandfeeltool does not work anymore without "faking" the screen.
|
||||
# Reference: https://bugs.kde.org/show_bug.cgi?id=460643
|
||||
|
||||
lookandfeeltool -platform offscreen --apply "org.kde.breeze.desktop"
|
||||
# lookandfeeltool -platform offscreen --apply "org.kde.breezetwilight.desktop"
|
||||
# lookandfeeltool -platform offscreen --apply "org.kde.breezedark.desktop"
|
16
.config/darkman/scripts/examples/kde-gtk-theme.sh
Executable file
16
.config/darkman/scripts/examples/kde-gtk-theme.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# GTK apps are not affected by the Plasma Global Theme, which only applies to Qt based programs.
|
||||
# GTK themes can be installed here: Global Theme > Application Style > Configure GNOME/GTK Application Style.
|
||||
# Reference: https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
|
||||
|
||||
source "$HOME/scripts/common-vars.sh"
|
||||
if [ $theme == "dark" ]; then
|
||||
theme_string="Breeze-dark-gtk"
|
||||
else
|
||||
theme_string="Default"
|
||||
fi
|
||||
|
||||
echo "string:$theme_string"
|
||||
|
||||
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:$theme_string"
|
3
.config/darkman/scripts/examples/mako.sh
Executable file
3
.config/darkman/scripts/examples/mako.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
makoctl set-mode dark
|
Reference in New Issue
Block a user