all repos

dotfiles @ 152c5ba

i use rach linux btw
2 files changed, 6 insertions(+), 17 deletions(-)
niri: workspaces order; window-rules

- move the "laptop" workspace to the end, so it does mess up with order
of the main workspaces
- remove window rules that i dont use
Author: Olexandr Smirnov olexsmir@gmail.com
Committed at: 2025-07-13 13:22:10 +0300
Parent: c578c65
M config/niri/config.kdl
···
                98
                98
                 // https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules

              
                99
                99
                 // https://github.com/YaLTeR/niri/wiki/Configuration:-move-column-to-workspace

              
                100
                100
                 

              
                101
                
                -workspace "laptop" { open-on-output "eDP-1"; }

              
                102
                101
                 workspace "tools" { open-on-output "HDMI-A-1"; }

              
                103
                102
                 workspace "web"{ open-on-output "HDMI-A-1"; }

              
                104
                103
                 workspace "dev"{ open-on-output "HDMI-A-1"; }

              
                105
                104
                 workspace "misc" { open-on-output "HDMI-A-1"; }

              
                
                105
                +workspace "laptop" { open-on-output "eDP-1"; }

              
                106
                106
                 

              
                107
                107
                 window-rule {

              
                108
                108
                   match app-id="anki"

              ···
                124
                124
                 window-rule {

              
                125
                125
                   match app-id="Emacs"

              
                126
                126
                   match app-id="Code"

              
                
                127
                +  match app-id="Zed"

              
                127
                128
                   open-on-workspace "dev"

              
                128
                129
                 }

              
                129
                130
                 

              ···
                136
                137
                 

              
                137
                138
                 window-rule {

              
                138
                139
                   match app-id="org.gnome.Solanum";

              
                139
                
                -  default-floating-position relative-to="top-left" x=10 y=10

              
                
                140
                +  default-floating-position relative-to="bottom-left" x=10 y=10

              
                140
                141
                   open-focused true

              
                141
                142
                   open-on-workspace "laptop"

              
                142
                143
                 }

              ···
                147
                148
                   match app-id="firefox"

              
                148
                149
                   match app-id="brave"

              
                149
                150
                   match app-id="kitty"

              
                150
                
                -  match app-id="anki"

              
                151
                151
                   match app-id="obsidian"

              
                
                152
                +  match app-id="Code"

              
                
                153
                +  match app-id="Zed"

              
                152
                154
                   open-maximized true

              
                153
                155
                 }

              
                154
                156
                 

              ···
                158
                160
                   match app-id="blueman-manager"

              
                159
                161
                   match app-id="xdg-desktop-portal-gtk"

              
                160
                162
                   open-floating true

              
                161
                
                -}

              
                162
                
                -

              
                163
                
                -window-rule {

              
                164
                
                -  match is-window-cast-target=true

              
                165
                
                -  border { inactive-color "#7d0d2d"; }

              
                166
                
                -  shadow { color "#7d0d2d70"; }

              
                167
                
                -  focus-ring {

              
                168
                
                -    active-color "#f38ba8"

              
                169
                
                -    inactive-color "#7d0d2d"

              
                170
                
                -  }

              
                171
                
                -  tab-indicator {

              
                172
                
                -    active-color "#f38ba8"

              
                173
                
                -    inactive-color "#7d0d2d"

              
                174
                
                -  }

              
                175
                163
                 }

              
                176
                164
                 

              
                177
                165
                 window-rule {

              
M config/waybar/modules/niri.json
···
                6
                6
                       "web": "󰖟",

              
                7
                7
                       "dev": "",

              
                8
                8
                       "misc": "",

              
                
                9
                +      "laptop": "",

              
                9
                10
                       "default": ""

              
                10
                11
                     }

              
                11
                12
                   },