all repos

dotfiles @ 55fbba2

i use rach linux btw
1 files changed, 47 insertions(+), 12 deletions(-)
niri: rice config
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-09 17:32:53 +0300
Parent: 8fdac71
M config/niri/config.kdl
···
        3
        3
         spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1";

      
        4
        4
         spawn-at-startup "~/.config/niri/waybar"

      
        5
        5
         spawn-at-startup "dunst";

      
        
        6
        +spawn-at-startup "xwayland-satellite"

      
        6
        7
         spawn-at-startup "wlsunset" "-S" "9:00" "-s" "21:00";

      
        7
        8
         // }}}

      
        8
        9
         // env {{{

      ···
        49
        50
           scale 1

      
        50
        51
           transform "normal"

      
        51
        52
           position x=0 y=0

      
        
        53
        +  background-color "#000000"

      
        52
        54
         }

      
        53
        55
         

      
        54
        56
         output "eDP-1" {

      
        
        57
        +  focus-at-startup

      
        55
        58
           mode "1920x1080@60.001"

      
        56
        59
           scale 1

      
        57
        60
           transform "normal"

      
        58
        61
           position x=1920 y=144

      
        
        62
        +  background-color "#000020"

      
        59
        63
         }

      
        60
        64
         /// }}}

      
        61
        65
         // Layout {{{

      ···
        94
        98
         // https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules

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

      
        96
        100
         

      
        97
        
        -workspace "tools"

      
        98
        
        -workspace "web"

      
        99
        
        -workspace "dev"

      
        100
        
        -workspace "media"

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

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

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

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

      
        
        105
        +workspace "media" { open-on-output "HDMI-A-1"; }

      
        102
        106
         

      
        103
        107
         window-rule {

      
        104
        108
           match app-id=r#"anki$"#

      
        105
        109
           match app-id=r#"obsidian$"#

      
        
        110
        +  match app-id=r#"thunderbird$"#

      
        106
        111
           match app-id=r#"^org\.keepassxc\.KeePassXC$"#

      
        107
        
        -

      
        
        112
        +  match app-id=r#"^org\.telegram\.desktop$"#

      
        108
        113
           open-on-workspace "tools"

      
        109
        114
         }

      
        110
        115
         

      
        111
        116
         window-rule {

      
        112
        117
           match app-id=r#"zen$"#

      
        113
        118
           match app-id=r#"brave$"#

      
        
        119
        +  open-on-workspace "web"

      
        
        120
        +}

      
        114
        121
         

      
        115
        
        -  open-on-workspace "web"

      
        
        122
        +window-rule {

      
        
        123
        +  match app-id=r#"Spotify$"#

      
        
        124
        +  match app-id=r#"^org.gnome.Snapshot$"#

      
        
        125
        +  open-on-workspace "laptop"

      
        
        126
        +}

      
        
        127
        +

      
        
        128
        +window-rule {

      
        
        129
        +  match app-id=r#"Spotify$"#

      
        
        130
        +  match app-id=r#"zen$"#

      
        
        131
        +  match app-id=r#"brave$"#

      
        
        132
        +  match app-id=r#"kitty$"#

      
        
        133
        +  match app-id=r#"anki$"#

      
        
        134
        +  match app-id=r#"obsidian$"#

      
        
        135
        +  open-maximized true

      
        116
        136
         }

      
        117
        137
         

      
        118
        
        -window-rule { // zen browser's picture in picture

      
        119
        
        -  match app-id=r#"zen$"# title="^Picture-in-Picture$"

      
        
        138
        +window-rule {

      
        
        139
        +  match app-id=r#"pavucontrol$"#

      
        120
        140
           open-floating true

      
        121
        141
         }

      
        122
        142
         

      
        123
        143
         window-rule {

      
        
        144
        +  match is-window-cast-target=true

      
        
        145
        +  border { inactive-color "#7d0d2d"; }

      
        
        146
        +  shadow { color "#7d0d2d70"; }

      
        
        147
        +  focus-ring {

      
        
        148
        +    active-color "#f38ba8"

      
        
        149
        +    inactive-color "#7d0d2d"

      
        
        150
        +  }

      
        
        151
        +  tab-indicator {

      
        
        152
        +    active-color "#f38ba8"

      
        
        153
        +    inactive-color "#7d0d2d"

      
        
        154
        +  }

      
        
        155
        +}

      
        
        156
        +

      
        
        157
        +window-rule {

      
        124
        158
           match app-id=r#"^org\.keepassxc\.KeePassXC$"#

      
        
        159
        +  match app-id=r#"obsidian$"#

      
        125
        160
           block-out-from "screen-capture"

      
        126
        161
         }

      
        127
        162
         // }}}

      ···
        182
        217
           Mod+Equal { set-column-width "+10%"; }

      
        183
        218
           // }}}

      
        184
        219
           // monitor navigation {{{

      
        185
        
        -  Mod+m { focus-monitor-left; }

      
        186
        
        -  Mod+Comma { focus-monitor-right; }

      
        187
        
        -  Mod+Shift+m { move-column-to-monitor-left; }

      
        188
        
        -  Mod+Shift+Comma { move-column-to-monitor-right; }

      
        
        220
        +  Mod+Comma { focus-monitor-left; }

      
        
        221
        +  Mod+Period { focus-monitor-right; }

      
        
        222
        +  Mod+Shift+Comma { move-column-to-monitor-left; }

      
        
        223
        +  Mod+Shift+Period { move-column-to-monitor-right; }

      
        189
        224
           // }}}

      
        190
        225
           // workspaces {{{

      
        191
        226
           Mod+1 { focus-workspace 1; }