Compare commits

..

2 Commits

Author SHA1 Message Date
e5659ce2ff feat(waybar): update 2026-02-20 17:53:12 +01:00
f84cd6d66a refactor(hypr): create environment file 2026-02-20 17:53:12 +01:00
4 changed files with 41 additions and 27 deletions

21
hypr/environment.conf Normal file
View File

@@ -0,0 +1,21 @@
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = GDK_SCALE,1
env = XCURSOR_SIZE,24
env = QT_AUTO_SCREEN_SCALE_FACTOR,0
env = QT_SCALE_FACTOR,1
env = _JAVA_AWT_WM_NONREPARENTING,1
env = AWT_TOOLKIT,MToolkit
env = WINIT_X11_SCALE_FACTOR,1
env = XWAYLAND_NO_GLAMOR,0
xwayland {
force_zero_scaling = true
}

View File

@@ -4,29 +4,7 @@ source = ~/.config/hypr/programs.conf
source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/looknfeel.conf
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = GDK_SCALE,1
env = XCURSOR_SIZE,24
env = QT_AUTO_SCREEN_SCALE_FACTOR,0
env = QT_SCALE_FACTOR,1
env = _JAVA_AWT_WM_NONREPARENTING,1
env = AWT_TOOLKIT,MToolkit
env = WINIT_X11_SCALE_FACTOR,1
env = XWAYLAND_NO_GLAMOR,0
xwayland {
force_zero_scaling = true
}
source = ~/.config/hypr/environment.conf
##############################
### WINDOWS AND WORKSPACES ###

View File

@@ -15,10 +15,11 @@
"pulseaudio",
"clock",
"clock#simpleclock",
"network",
"battery",
"tray",
"custom/notification",
"custom/power",
"custom/power"
],
"custom/spotify": {
"format": " {}",
@@ -87,14 +88,14 @@
"format": "{icon} {volume}%",
"format-muted": " muted",
"format-icons": {
"headphone": "",
"headphone": " ",
"default": [" ", " ", " "],
},
"on-click": "pavucontrol",
},
"battery": {
"format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""],
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"critical": 25,
},
@@ -124,4 +125,17 @@
"return-type": "json",
"tooltip": false,
},
"network": {
"interface": "wlp1s0",
"format": "{ifname}",
"format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "],
"format-wifi": "{icon}",
"format-ethernet": "󰈀 {ifname}",
"format-disconnected": "󰤮 ",
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
}
}

View File

@@ -52,6 +52,7 @@ window#waybar.empty #window {
#tray,
#memory,
#battery,
#network,
#window,
#mpris {
padding: 0.1rem 0.6rem;