This commit is contained in:
unexplrd
2025-02-14 16:00:25 +02:00
parent ec5faa59a9
commit c5513bf9b2
5 changed files with 95 additions and 47 deletions

View File

@ -509,13 +509,43 @@ in {
window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^signal$"#
match app-id=r#"^Bitwarden$"#
// block-out-from "screen-capture"
block-out-from "screencast"
}
workspace "general"
workspace "browse"
workspace "chat"
workspace "code"
workspace "uni"
workspace "games"
workspace "sysadmin"
workspace "media"
workspace "bg"
window-rule {
match app-id=r#"^org\.telegram\.desktop$"#
match app-id=r#"^im\.riot\.Riot$"#
match app-id=r#"^WebCord$"#
match app-id=r#"^signal$"#
open-on-workspace "chat"
}
window-rule {
match app-id=r#"^com\.heroicgameslauncher\.hgl$"#
match app-id=r#"^net\.lutris\.Lutris$"#
match app-id="steam"
// match app-id=r#"^$"#
open-on-workspace "games"
}
window-rule {
match app-id=r#"^com\.obsproject\.Studio$"#
open-on-workspace "bg"
}
binds {
Mod+Shift+Slash { show-hotkey-overlay; }
@ -618,24 +648,24 @@ in {
Mod+TouchpadScrollDown { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
Mod+TouchpadScrollUp { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; }
Mod+3 { focus-workspace 3; }
Mod+4 { focus-workspace 4; }
Mod+5 { focus-workspace 5; }
Mod+6 { focus-workspace 6; }
Mod+7 { focus-workspace 7; }
Mod+8 { focus-workspace 8; }
Mod+9 { focus-workspace 9; }
Mod+Ctrl+1 { move-column-to-workspace 1; }
Mod+Ctrl+2 { move-column-to-workspace 2; }
Mod+Ctrl+3 { move-column-to-workspace 3; }
Mod+Ctrl+4 { move-column-to-workspace 4; }
Mod+Ctrl+5 { move-column-to-workspace 5; }
Mod+Ctrl+6 { move-column-to-workspace 6; }
Mod+Ctrl+7 { move-column-to-workspace 7; }
Mod+Ctrl+8 { move-column-to-workspace 8; }
Mod+Ctrl+9 { move-column-to-workspace 9; }
Mod+1 { focus-workspace "general"; }
Mod+2 { focus-workspace "browse"; }
Mod+3 { focus-workspace "chat"; }
Mod+4 { focus-workspace "code"; }
Mod+5 { focus-workspace "uni"; }
Mod+6 { focus-workspace "games"; }
Mod+7 { focus-workspace "sysadmin"; }
Mod+8 { focus-workspace "media"; }
Mod+9 { focus-workspace "bg"; }
Mod+Ctrl+1 { move-column-to-workspace "general"; }
Mod+Ctrl+2 { move-column-to-workspace "browse"; }
Mod+Ctrl+3 { move-column-to-workspace "chat"; }
Mod+Ctrl+4 { move-column-to-workspace "code"; }
Mod+Ctrl+5 { move-column-to-workspace "uni"; }
Mod+Ctrl+6 { move-column-to-workspace "games"; }
Mod+Ctrl+7 { move-column-to-workspace "sysadmin"; }
Mod+Ctrl+8 { move-column-to-workspace "media"; }
Mod+Ctrl+9 { move-column-to-workspace "bg"; }
// Mod+Q { focus-workspace 1; }
// Mod+W { focus-workspace 2; }
@ -730,9 +760,18 @@ in {
"niri/workspaces" = {
format = "{icon}";
format-icons = {
focused = "󰗝";
active = "󰻃";
default = "󰄰";
general = "󰾞";
browse = "󰜏";
chat = "󰭹";
code = "󰅩";
uni = "󰁰";
games = "󰺵";
sysadmin = "󰒓";
media = "󱖑";
bg = "󰣆";
# focused = "󰗝";
# active = "󰻃";
default = "󰘧";
};
};
"niri/language" = {
@ -745,11 +784,6 @@ in {
interval = "once";
tooltip = false;
};
"custom/text" = {
format = "here will be workspaces";
interval = "once";
tooltip = false;
};
"group/niri" = {
orientation = "inherit";
modules = [