feat: Add more backgrounds

This commit is contained in:
2026-02-12 15:20:50 +11:00
parent f17d7be77c
commit 92498f488c
35 changed files with 109 additions and 1 deletions

View File

@@ -10,3 +10,7 @@ virtual-desktops: https://github.com/levnikmyskin/hyprland-virtual-desktops
hyprexpo: https://github.com/hyprwm/hyprland-plugins
DarkWindow: https://github.com/micha4w/Hypr-DarkWindow
# Video backgrounds
$ mpvpaper -vs eDP-1 -o "no-audio loop --panscan=1 --hwdec=vaapi" ~/.config/background_videos/Ko_Lanta.mp4

Binary file not shown.

View File

@@ -14,6 +14,7 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1
monitor=desc:Samsung Electric Company C34H89x H4ZR900171, highrr, auto, 1
monitor=desc:Technical Concepts Ltd MS3663, 1920x1080@60.00Hz, -1920x0,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more

View File

@@ -73,7 +73,7 @@ elif [ "$BATTERY_STATUS" = "discharging" ] || [ "$BATTERY_STATUS" = "Discharging
fi
# Check if internet is up by pinging a reliable host
if ping -c 1 -W 1 woodburn.au > /dev/null 2>&1; then
if ping -c 1 -W 1 1.1.1.1 > /dev/null 2>&1; then
INTERNET_STATUS="up"
else
INTERNET_STATUS="down"
@@ -85,10 +85,19 @@ echo " Internet: ${INTERNET_STATUS}"
# Get network info for each active interface
for IFACE in $(ls /sys/class/net/ | grep -E '^(en|wl|wg|tailscale|tun)'); do
IFACE_STATE=""
WLAN_SSID=""
# safe read operstate
if [ -r "/sys/class/net/$IFACE/operstate" ]; then
IFACE_STATE=$(cat "/sys/class/net/$IFACE/operstate")
fi
if [ "$IFACE_STATE" = "up" ] && [[ "$IFACE" == wl* ]]; then
# get SSID for wireless interfaces
WLAN_SSID=$(iwgetid -r "$IFACE" 2>/dev/null)
if [ -n "$WLAN_SSID" ]; then
IFACE="${IFACE} (${WLAN_SSID})"
fi
fi
# show physical interfaces when up, and always show virtual interfaces (tailscale/wg/tun)
if [ "$IFACE_STATE" = "up" ] || [[ "$IFACE" == tailscale* ]] || [[ "$IFACE" == wg* ]] || [[ "$IFACE" == tun* ]]; then
RX_BYTES=$(cat "/sys/class/net/$IFACE/statistics/rx_bytes" 2>/dev/null || echo 0)

View File

@@ -30,6 +30,13 @@ windowrule {
match:class = (float)
}
windowrule {
name = brave-default-floating
size = (monitor_w*0.25) (monitor_h*0.50)
move = (monitor_w*0.375) (monitor_h*0.25)
match:class = brave-nngceckbapebfimnlniiiahkandclblb-Default
}
windowrule {
name = floating-windowrule-2
float = on