summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewy1 <ewy0@protonmail.com>2025-03-21 16:00:29 +0100
committerewy1 <ewy0@protonmail.com>2025-03-21 16:00:29 +0100
commit332b8f17a3f043a2c399341cde7679a850f9770a (patch)
treee8be2bf207b884d02c7aad574129db35ad232dd0
parent6d176a49e1351e81bbe0ae94215364f8bef2e3ea (diff)
more niri changes
-rw-r--r--.config/niri/config.kdl5
-rw-r--r--.config/sway/config.d/outputs2
-rw-r--r--.config/waybar/config.jsonc4
-rw-r--r--.config/waybar/style.css7
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;
+}