fix: theming issues and add missing packages

This commit is contained in:
2025-08-02 13:51:59 +02:00
parent 20dc7268e2
commit b201011fa9
3 changed files with 28 additions and 4 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ $mod = SUPER
# General # General
bind = $mod, Return, exec, uwsm app -- Alacritty.desktop bind = $mod, Return, exec, uwsm app -- Alacritty.desktop
bind = $mod, E, exec, uwsm app -- org.kde.dolphin.desktop bind = $mod, E, exec, uwsm app -- org.gnome.Nautilus.desktop
bind = $mod, D, exec, rofi -show drun bind = $mod, D, exec, rofi -show drun
bind = $mod, F2, exec, rofi -show run bind = $mod, F2, exec, rofi -show run
bind = $mod, W, togglegroup, # dwindle bind = $mod, W, togglegroup, # dwindle
+1 -2
View File
@@ -1,5 +1,4 @@
export XCURSOR_SIZE=24 export XCURSOR_SIZE=24
export XCURSOR_THEME=breeze_cursors export XCURSOR_THEME=breeze_cursors
export GTK_THEME=Adwaita:dark export QT_STYLE_OVERRIDE=Breeze
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=kde
+26 -1
View File
@@ -33,6 +33,12 @@ class Installer:
"alacritty", "alacritty",
"tmux", "tmux",
"zsh", "zsh",
"libnewt",
"vim",
"unzip",
"npm",
"nvim",
"firefox",
"hyprland", "hyprland",
"uwsm", "uwsm",
"fnott", "fnott",
@@ -49,7 +55,7 @@ class Installer:
"waybar", "waybar",
"rofi", "rofi",
"wl-clipboard", "wl-clipboard",
"dolphin", "nautilus",
"pasystray", "pasystray",
"playerctl", "playerctl",
"brightnessctl", "brightnessctl",
@@ -106,6 +112,10 @@ class Installer:
self.symlink_map = {"zsh/rc": ".zshrc"} self.symlink_map = {"zsh/rc": ".zshrc"}
self.gsettings = [
["org.gnome.desktop.interface", "color-scheme", "prefer-dark"]
]
@staticmethod @staticmethod
def _pkg_query_arch(package: str) -> bool: def _pkg_query_arch(package: str) -> bool:
""" """
@@ -303,6 +313,20 @@ class Installer:
except FileNotFoundError: except FileNotFoundError:
self.error("infocmp command not found") self.error("infocmp command not found")
def set_gsettings(self):
for setting in self.gsettings:
result = subprocess.run(
["gsettings", "set", *setting],
capture_output=True,
text=True,
check=False,
)
if result.returncode != 0:
self.error(
f"Failed to set gsettings: {setting}"
)
def run( def run(
self, self,
force: bool = False, force: bool = False,
@@ -318,6 +342,7 @@ class Installer:
self.check_terminfo() self.check_terminfo()
self.create_all_symlinks(force, ignore) self.create_all_symlinks(force, ignore)
self.copy_all_items(force, ignore) self.copy_all_items(force, ignore)
self.set_gsettings()
def main() -> None: def main() -> None: