fix: theming issues and add missing packages
This commit is contained in:
@@ -208,7 +208,7 @@ $mod = SUPER
|
||||
|
||||
# General
|
||||
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, F2, exec, rofi -show run
|
||||
bind = $mod, W, togglegroup, # dwindle
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
export XCURSOR_SIZE=24
|
||||
export XCURSOR_THEME=breeze_cursors
|
||||
export GTK_THEME=Adwaita:dark
|
||||
export QT_STYLE_OVERRIDE=Breeze
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_QPA_PLATFORMTHEME=kde
|
||||
|
||||
+26
-1
@@ -33,6 +33,12 @@ class Installer:
|
||||
"alacritty",
|
||||
"tmux",
|
||||
"zsh",
|
||||
"libnewt",
|
||||
"vim",
|
||||
"unzip",
|
||||
"npm",
|
||||
"nvim",
|
||||
"firefox",
|
||||
"hyprland",
|
||||
"uwsm",
|
||||
"fnott",
|
||||
@@ -49,7 +55,7 @@ class Installer:
|
||||
"waybar",
|
||||
"rofi",
|
||||
"wl-clipboard",
|
||||
"dolphin",
|
||||
"nautilus",
|
||||
"pasystray",
|
||||
"playerctl",
|
||||
"brightnessctl",
|
||||
@@ -106,6 +112,10 @@ class Installer:
|
||||
|
||||
self.symlink_map = {"zsh/rc": ".zshrc"}
|
||||
|
||||
self.gsettings = [
|
||||
["org.gnome.desktop.interface", "color-scheme", "prefer-dark"]
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def _pkg_query_arch(package: str) -> bool:
|
||||
"""
|
||||
@@ -303,6 +313,20 @@ class Installer:
|
||||
except FileNotFoundError:
|
||||
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(
|
||||
self,
|
||||
force: bool = False,
|
||||
@@ -318,6 +342,7 @@ class Installer:
|
||||
self.check_terminfo()
|
||||
self.create_all_symlinks(force, ignore)
|
||||
self.copy_all_items(force, ignore)
|
||||
self.set_gsettings()
|
||||
|
||||
|
||||
def main() -> None:
|
||||
Reference in New Issue
Block a user