From 515ef45a31048087972c92de2748f1354064c747 Mon Sep 17 00:00:00 2001 From: Mosder Date: Wed, 29 Oct 2025 20:08:53 +0100 Subject: laptop waybar update --- laptop/.config/hypr/hyprland.conf | 5 +++-- laptop/.config/waybar/config.jsonc | 11 ++++++++++- laptop/.config/waybar/style.css | 10 ++++++++++ laptop/.config/wofi/config | 1 + 4 files changed, 24 insertions(+), 3 deletions(-) (limited to 'laptop/.config') diff --git a/laptop/.config/hypr/hyprland.conf b/laptop/.config/hypr/hyprland.conf index 303dfdc..f288aed 100644 --- a/laptop/.config/hypr/hyprland.conf +++ b/laptop/.config/hypr/hyprland.conf @@ -38,7 +38,8 @@ exec-once = flameshot exec-once = $scriptsDir/randomize-wallpaper.sh exec-once = hyprpaper exec-once = hypridle -exec-once = wl-paste --watch clipvault store +exec-once = wl-paste --watch clipvault store # Forward all data +exec-once = wl-paste --type image --watch clipvault store # Forward specifically raw image data ############################# ### ENVIRONMENT VARIABLES ### @@ -241,7 +242,7 @@ bind = $mainMod, I, exec, intellij-idea-ultimate-edition bind = $mainMod SHIFT, S, exec, flameshot gui bind = $mainMod SHIFT, P, exec, hyprpicker -a bind = $mainMod, L, exec, hyprlock -bind = $mainMod, V, exec, clipvault list | wofi -S dmenu --pre-display-cmd "echo '%s' | cut -f 2" | clipvault get | wl-copy +bind = $mainMod, V, exec, clipvault list | wofi -S dmenu --pre-display-cmd "echo '%s' | cut -f 2" -d -k /dev/null | clipvault get | wl-copy # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l diff --git a/laptop/.config/waybar/config.jsonc b/laptop/.config/waybar/config.jsonc index 80bb581..4f560b0 100644 --- a/laptop/.config/waybar/config.jsonc +++ b/laptop/.config/waybar/config.jsonc @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["hyprland/workspaces"], "modules-center": ["hyprland/window"], - "modules-right": ["hyprland/language", "wireplumber", "network", "battery", "clock"], + "modules-right": ["hyprland/language", "wireplumber", "cpu", "memory", "network", "battery", "clock"], "hyprland/workspaces": { "format": "{id}{icon}", "format-icons": { @@ -27,6 +27,15 @@ "format-muted": "{volume}% ", "tooltip": false }, + "cpu": { + "format": "{usage}% ", + "interval": 3 + }, + "memory": { + "format": "{}% ", + "interval": 3, + "tooltip-format": "RAM: {percentage}%\nSwap: {swapPercentage}%" + }, "network": { "format": "{ifname}", "format-wifi": "{essid} ({signalStrength}%) ", diff --git a/laptop/.config/waybar/style.css b/laptop/.config/waybar/style.css index 0f45142..51e3f32 100644 --- a/laptop/.config/waybar/style.css +++ b/laptop/.config/waybar/style.css @@ -54,6 +54,8 @@ tooltip label { #clock, #battery, +#cpu, +#memory, #network, #wireplumber { padding: 0 10px; @@ -111,6 +113,14 @@ label:focus { background-color: #000000; } +#cpu { + background-color: #451c81; +} + +#memory { + background-color: #720f4f; +} + #network { background-color: #2980b9; } diff --git a/laptop/.config/wofi/config b/laptop/.config/wofi/config index 6c3191b..a671f43 100644 --- a/laptop/.config/wofi/config +++ b/laptop/.config/wofi/config @@ -7,3 +7,4 @@ hide_scroll=true matching=fuzzy insensitive=true use_search_box=false +allow_images=true -- cgit v1.2.3