set dark mode systemwide

This commit is contained in:
Alexander Bell 2025-05-13 04:12:56 +02:00
parent 943b4819d7
commit 132b9f97a1
2 changed files with 11 additions and 8 deletions

View File

@ -4,6 +4,9 @@
[[ -f ~/.bashrc ]] && . ~/.bashrc [[ -f ~/.bashrc ]] && . ~/.bashrc
# Set default theme to dark
export GTK_THEME=Adwaita:dark && export QT_QPA_PLATFORMTHEME=gtk3
# Start uwsm, which starts hyprland # Start uwsm, which starts hyprland
if uwsm check may-start; then if uwsm check may-start; then
exec uwsm start hyprland.desktop exec uwsm start hyprland.desktop

View File

@ -26,12 +26,12 @@ general {
# https://wiki.hyprland.org/Configuring/Variables/#decoration # https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration { decoration {
rounding = 5 rounding = 7
rounding_power = 5 rounding_power = 7
# Change transparency of focused and unfocused windows # Change transparency of focused and unfocused windows
active_opacity = 0.8 active_opacity = 0.85
inactive_opacity = 0.8 inactive_opacity = 0.85
shadow { shadow {
enabled = true enabled = true
@ -82,12 +82,12 @@ animations {
windowrules { windowrules {
# Make browser not blur and have no gap # Make browser not blur and have no gap
windowrule = noblur, class:$browser #windowrule = noblur, class:$browser
windowrule = opaque, class:$browser #windowrule = opaque, class:$browser
# Make app tooltip and small windows opaque # Make app tooltip and small windows opaque
windowrule = opaque, class=GtkMenu #windowrule = opaque, class=GtkMenu
windowrule = opaque, instance=gtk-tooltip #windowrule = opaque, instance=gtk-tooltip
# Smart gaps # Smart gaps
workspace = w[tv1], gapsout:6, gapsin:0 workspace = w[tv1], gapsout:6, gapsin:0