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