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/bindings.conf
source = ~/.config/hypr/input.conf source = ~/.config/hypr/input.conf
source = ~/.config/hypr/looknfeel.conf source = ~/.config/hypr/looknfeel.conf
source = ~/.config/hypr/environment.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
}
############################## ##############################
### WINDOWS AND WORKSPACES ### ### WINDOWS AND WORKSPACES ###

View File

@@ -15,10 +15,11 @@
"pulseaudio", "pulseaudio",
"clock", "clock",
"clock#simpleclock", "clock#simpleclock",
"network",
"battery", "battery",
"tray", "tray",
"custom/notification", "custom/notification",
"custom/power", "custom/power"
], ],
"custom/spotify": { "custom/spotify": {
"format": " {}", "format": " {}",
@@ -87,14 +88,14 @@
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
"format-muted": " muted", "format-muted": " muted",
"format-icons": { "format-icons": {
"headphone": "", "headphone": " ",
"default": [" ", " ", " "], "default": [" ", " ", " "],
}, },
"on-click": "pavucontrol", "on-click": "pavucontrol",
}, },
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""], "format-icons": [" ", " ", " ", " ", " "],
"states": { "states": {
"critical": 25, "critical": 25,
}, },
@@ -124,4 +125,17 @@
"return-type": "json", "return-type": "json",
"tooltip": false, "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, #tray,
#memory, #memory,
#battery, #battery,
#network,
#window, #window,
#mpris { #mpris {
padding: 0.1rem 0.6rem; padding: 0.1rem 0.6rem;