forked from Shinonome/omarchy-nix
Temp hack for light mode themes gtk
This commit is contained in:
@@ -54,7 +54,7 @@ in {
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Adwaita-dark";
|
||||
name = if config.omarchy.theme == "generated_light" then "Adwaita" else "Adwaita:dark";
|
||||
package = pkgs.gnome-themes-extra;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -48,7 +48,7 @@ in {
|
||||
"EDITOR,nvim"
|
||||
|
||||
# GTK theme
|
||||
"GTK_THEME,Adwaita:dark"
|
||||
"GTK_THEME,${if cfg.theme == "generated_light" then "Adwaita" else "Adwaita:dark"}"
|
||||
|
||||
# Podman compatibility. Probably need to add cfg.env?
|
||||
# "DOCKER_HOST,unix://$XDG_RUNTIME_DIR/podman/podman.sock"
|
||||
|
||||
@@ -143,14 +143,14 @@ in {
|
||||
format-disabled = "";
|
||||
format-connected = "";
|
||||
tooltip-format = "Devices connected: {num_connections}";
|
||||
on-click = "GTK_THEME=Adwaita-dark blueberry";
|
||||
on-click = "blueberry";
|
||||
};
|
||||
wireplumber = {
|
||||
# Changed from "pulseaudio"
|
||||
"format" = "";
|
||||
format-muted = "";
|
||||
scroll-step = 5;
|
||||
on-click = "GTK_THEME=Adwaita-dark pavucontrol";
|
||||
on-click = "pavucontrol";
|
||||
tooltip-format = "Playing at {volume}%";
|
||||
on-click-right = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # Updated command
|
||||
max-volume = 150; # Optional: allow volume over 100%
|
||||
|
||||
Reference in New Issue
Block a user