updated dotfiles

This commit is contained in:
liph
2026-05-12 15:30:52 +02:00
parent 88e0293307
commit 794f26df04
4 changed files with 123 additions and 101 deletions
+47 -25
View File
@@ -76,29 +76,32 @@ layout {
}
}
spawn-at-startup "bash" "/mnt/tank/scripts/fix-bitwarden.sh"
spawn-at-startup "waybar" "-c" "/home/liph/.config/niri/waybar-niri/config.jsonc" "-s" "/home/liph/.config/niri/waybar-niri/style.css"
spawn-at-startup "swaync"
// spawn-at-startup "kanshi"
spawn-at-startup "swww-daemon"
spawn-at-startup "awww-daemon"
spawn-at-startup "xwayland-satellite"
spawn-at-startup "gammastep" "-l" "47.38:8.54" "-t" "6000:4000"
spawn-at-startup "wezterm"
spawn-at-startup "obsidian"
// spawn-at-startup "kanshi"
spawn-at-startup "librewolf"
spawn-at-startup "sh" "-c" "sleep 5 && exec swayidle -w timeout 300 hyprlock timeout 600 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' timeout 3600 'systemctl suspend'"
prefer-no-csd
gestures {
hot-corners {
off
}
}
workspace "1"
workspace "2"
workspace "3"
workspace "4"
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
@@ -106,24 +109,11 @@ match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
block-out-from "screen-capture"
}
// window-rule {
// match app-id="Bitwarden"
// default-column-width {
// proportion 0.6667
// }
// open-floating true
// }
// terminal window-rule
window-rule {
match app-id="Zoom Workplace"
open-floating true
}
// window-rule {
// match app-id="^(zoom|us.zoom.Zoom)$"
// exclude title="^.*Zoom Workplace"
// open-floating true
// }
// Wezterm window rules
window-rule {
match at-startup=true app-id="wezterm"
open-on-workspace "1"
@@ -136,26 +126,58 @@ window-rule {
open-floating false
// clip-to-geometry true
}
// Obsidian window rules
window-rule {
match app-id="Claude"
match at-startup=true app-id="obsidian"
open-on-workspace "3"
default-column-width {
proportion 0.6667
}
clip-to-geometry true
open-maximized true
open-floating false
}
window-rule {
match at-startup=false app-id="obsidian"
open-maximized true
open-floating false
}
// Librewolf window rules
window-rule {
match at-startup=true app-id="librewolf"
open-on-workspace "2"
open-maximized true
}
// 1. Generic rule for all LibreWolf windows
window-rule {
match app-id="librewolf"
open-maximized true
clip-to-geometry true
open-floating false
}
window-rule {
match app-id="Tor Browser"
open-maximized true
clip-to-geometry true
open-floating false
open-on-workspace "2"
}
window-rule {
match app-id="Claude"
open-on-workspace "4"
default-column-width {
proportion 0.6667
}
clip-to-geometry true
}
// 2. Specific rule for windows opening at startup
window-rule {
match at-startup=true app-id="librewolf"
open-on-workspace "2"
match app-id="eu.betterbird.Betterbird"
open-maximized true
clip-to-geometry true
open-on-workspace "3"
}
window-rule {
match app-id="Slack"
open-maximized true
clip-to-geometry true
open-on-workspace "4"
}
window-rule {
match app-id="floating_btop"