General fixes

This commit is contained in:
2024-07-25 11:17:15 +02:00
parent 174e7a8249
commit dc460aaf4f
5 changed files with 12 additions and 10 deletions

View File

@ -140,7 +140,7 @@
(box :orientation "v" (box :orientation "v"
:valign "end" :valign "end"
:class "thingy" :class "thingy"
:visible {EWW_BATTERY.BAT0.capacity != ""} :visible {EWW_BATTERY != "" && EWW_BATTERY.BAT0.capacity != ""}
(label :text "BAT") (label :text "BAT")
(circular-progress (circular-progress
:thickness 4.0 :thickness 4.0

View File

@ -1,4 +1,2 @@
{% if hostname == "buran" %}
[Settings] [Settings]
gtk-application-prefer-dark-theme = true gtk-application-prefer-dark-theme = true
{% end %}

View File

@ -0,0 +1,2 @@
[Settings]
gtk-application-prefer-dark-theme = true

View File

@ -17,7 +17,7 @@ env = XCURSOR_SIZE,24
env = PATH,$HOME/.local/bin:$HOME/.cargo/bin:$PATH env = PATH,$HOME/.local/bin:$HOME/.cargo/bin:$PATH
env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORMTHEME,qt5ct:qt6ct
env = GTK_USE_PORTAL,1 env = GTK_USE_PORTAL,1
env = BROWSER,firefox env = BROWSER,firefox
env = MOZ_ENABLE_WAYLAND,1 env = MOZ_ENABLE_WAYLAND,1
@ -111,11 +111,12 @@ gestures {
} }
# See https://wiki.hyprland.org/Configuring/Window-Rules/ # See https://wiki.hyprland.org/Configuring/Window-Rules/
windowrule=float,title:Volume windowrule=float,title:Volume Indicator
windowrule=size 300 100,title:Volume windowrule=size 300 100,title:Volume Indicator
windowrule=move 100%-375 75,title:Volume windowrule=move 100%-375 75,title:Volume Indicator
windowrule=rounding 35,title:Volume windowrule=rounding 35,title:Volume Indicator
windowrule=nofocus,title:Volume windowrule=nofocus,title:Volume Indicator
windowrule=float,title:Jitsi Meet windowrule=float,title:Jitsi Meet
windowrule=move 100%-375 75,title:Jitsi Meet windowrule=move 100%-375 75,title:Jitsi Meet
@ -209,6 +210,7 @@ monitor=DP-2,3840x1600@59.99400,0x0,1.25
{% end %} {% end %}
exec-once=hyprpaper exec-once=hyprpaper
exec-once=swayidle
exec-once=dunst exec-once=dunst
exec-once=eww daemon exec-once=eww daemon

View File

@ -6,7 +6,7 @@ SOCKET="/tmp/volume_indicator"
# If theres an existing volume_indicator running, prod the socket # If theres an existing volume_indicator running, prod the socket
# Otherwise, start a new volume_indicator instance. # Otherwise, start a new volume_indicator instance.
nc -U "$SOCKET" 2>/dev/null || \ nc -U "$SOCKET" 2>/dev/null || \
ba alacritty -T "Volume" \ ba alacritty -T "Volume Indicator" \
--class "volume_indicator" \ --class "volume_indicator" \
--config-file "$HOME/.config/alacritty/silent.toml" \ --config-file "$HOME/.config/alacritty/silent.toml" \
--command volume_indicator \ --command volume_indicator \