From 332b8f17a3f043a2c399341cde7679a850f9770a Mon Sep 17 00:00:00 2001 From: ewy1 Date: Fri, 21 Mar 2025 16:00:29 +0100 Subject: more niri changes --- .config/niri/config.kdl | 5 ++++- .config/sway/config.d/outputs | 2 +- .config/waybar/config.jsonc | 4 +++- .config/waybar/style.css | 7 ++++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 31a75eb..0b5b5da 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -127,7 +127,6 @@ environment { DISPLAY ":0" } spawn-at-startup "waybar" -spawn-at-startup "sh -c 'swaybg -i $(cat ~/.cache/wal/wal)'" spawn-at-startup "xwayland-satellite" prefer-no-csd @@ -173,6 +172,10 @@ window-rule { clip-to-geometry true } +hotkey-overlay { + skip-at-startup +} + binds { // Mod-Shift-/, which is usually the same as Mod-?, // shows a list of important hotkeys. diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs index 276ff5d..ad45998 100644 --- a/.config/sway/config.d/outputs +++ b/.config/sway/config.d/outputs @@ -1,4 +1,4 @@ output * { - background "$(cat $HOME/.cache/wal/wal)" fit + background "$(cat $HOME/.cache/wal/wal)" fill } diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 3a89f9c..14b5340 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -11,9 +11,11 @@ "sway/workspaces", "sway/mode", "sway/scratchpad", + "niri/workspaces" ], "modules-center": [ - "sway/window" + "sway/window", + "niri/window" ], "modules-right": [ "mpris", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index f66aff4..edaff52 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -55,7 +55,12 @@ border-color: @color7; color: @foreground; } -#workspaces button.visible { +#workspaces button.visible, +#workspaces button.focused { background-color: @foreground; color: @background; } + +#workspaces button.empty { + opacity: 0.5; +} -- cgit v1.3