From 886dde2003151d609ece78463246646f70c31bc8 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 21 Mar 2024 18:26:30 +0100 Subject: [PATCH] Updated config --- .config/fuzzel/fuzzel.ini | 4 +- .config/hypr/rules.conf | 5 +- .config/waybar/config.jsonc | 1 + .config/waybar/modules.jsonc | 17 +++++++ .config/waybar/style.css | 92 ++++++++++++++++++++++-------------- 5 files changed, 80 insertions(+), 39 deletions(-) diff --git a/.config/fuzzel/fuzzel.ini b/.config/fuzzel/fuzzel.ini index 6baa86a..be9c86d 100644 --- a/.config/fuzzel/fuzzel.ini +++ b/.config/fuzzel/fuzzel.ini @@ -1,6 +1,6 @@ font=Ubuntu Nerd Font:size=18 prompt="" -lines=5 +lines=10 width=20 horizontal-pad=16 vertical-pad=8 @@ -10,4 +10,4 @@ fields=filename,name,generic,exec [border] width=0 -radius=8 +radius=10 diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index c64013a..44e05ba 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -1,2 +1,5 @@ +# Blur the status bar +layerrule = blur, $statusbar + +# Disable maximize event windowrulev2 = suppressevent maximize, class:.* -#windowrulev2 = tile, class:.* diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index afad34e..dc4315d 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -4,6 +4,7 @@ "modules-left": [ "custom/os", "hyprland/workspaces", + "wlr/taskbar", ], "modules-center": [], "modules-right": [ diff --git a/.config/waybar/modules.jsonc b/.config/waybar/modules.jsonc index cfe1fd8..8955eb2 100644 --- a/.config/waybar/modules.jsonc +++ b/.config/waybar/modules.jsonc @@ -98,4 +98,21 @@ "tooltip": false, "on-click": "$TERMINAL --hold -e neofetch", }, + "wlr/taskbar": { + "format": "{icon}", + "icon-size": 14, + "icon-theme": "Adwaita", + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "Alacritty", + ], + "app_ids-mapping": { + "firefoxdeveloperedition": "firefox-developer-edition", + }, + "rewrite": { + "Firefox Web Browser": "Firefox", + }, + }, } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 2d26e6a..6ef2a13 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -1,14 +1,17 @@ +/* ===== Generic ===== */ + * { border: none; font-family: "Ubuntu Nerd Font"; - font-size: 14px; + font-size: 11px; padding: 0; margin: 0; } +/* ===== Waybar ===== */ + #waybar { - /* background: rgba(255, 255, 255, 0.9); */ - /* color: rgba(38, 41, 44, 0.9); */ + background: rgba(38, 41, 44, 0.5); } #waybar.hidden { @@ -24,12 +27,15 @@ opacity: 0; } +/* ===== Modules ===== */ + #clock, #cpu, #disk, #memory, #mpris, #network, +#taskbar, #window, #wireplumber, #workspaces, @@ -38,10 +44,56 @@ #custom-updates { /* background: rgb(38, 41, 44); */ border-radius: 12px; - padding: 2px 10px; + padding: 2px 4px; margin: 4px; } +#custom-os { + font-size: 150%; + color: rgb(137, 220, 235); + background: transparent; +} + +#custom-updates.disabled { + opacity: 0; +} + +/* ===== Taskbar ===== */ + +#taskbar button { + padding: 0px 5px; +} + +#taskbar button:hover {} +#taskbar button.active {} + +/* ===== Workspaces ===== */ + +#workspaces button { + /* color: rgba(38, 41, 44, 0.9); */ + padding: 0px 5px; + opacity: 0.25; + background: transparent; + text-shadow: none; + border-radius: 0; +} + +#workspaces button.empty { + opacity: 0.1; +} + +#workspaces button.active { + opacity: 1.0; +} + +#workspaces button.visible {} +#workspaces button.urgent {} +#workspaces button.persistent {} +#workspaces button.hidden {} + + +/* ===== Extra colors ===== */ + /*#cpu { background: rgb(50.15%, 92.07%, 99.48%); } @@ -61,35 +113,3 @@ #network { background: rgb(92.54%, 81.78%, 100%); }*/ - -#custom-updates.disabled { - opacity: 0; -} - -#workspaces button { - /* color: rgba(38, 41, 44, 0.9); */ - padding: 0px 5px; - opacity: 0.2; - background: transparent; - text-shadow: none; - border-radius: 0; -} - -#workspaces button.empty { - opacity: 0.2; -} - -#workspaces button.active { - opacity: 0.9; -} - -#workspaces button.visible {} -#workspaces button.urgent {} -#workspaces button.persistent {} -#workspaces button.hidden {} - -#custom-os { - font-size: 150%; - color: rgb(137, 220, 235); - background: transparent; -}