all repos

dotfiles @ e19c3f6

i use rach linux btw
2 files changed, 9 insertions(+), 8 deletions(-)
niri: update icon on waybar; start browser on start
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-28 16:28:06 +0300
Authored at: 2025-06-28 16:27:21 +0300
Parent: b68db8c
M config/niri/config.kdl
···
        1
        1
         // vim: foldmethod=marker ts=2 sw=2

      
        2
        2
         // auto start {{{

      
        3
        
        -spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"; // NOTE: might be run as system service

      
        
        3
        +spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"

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

      
        5
        
        -spawn-at-startup "dunst";

      
        6
        
        -spawn-at-startup "xwayland-satellite"; // TODO: remove in next update

      
        7
        
        -spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf";

      
        
        5
        +spawn-at-startup "dunst"

      
        
        6
        +spawn-at-startup "xwayland-satellite" // TODO: remove in next update

      
        
        7
        +spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf"

      
        
        8
        +spawn-at-startup "zen-browser"

      
        8
        9
         // }}}

      
        9
        10
         // env {{{

      
        10
        11
         environment {

      
        11
        12
           DISPLAY ":0"

      
        12
        13
           QT_QPA_PLATFORM "wayland;xcb"

      
        13
        14
           QT_WAYLAND_DISABLE_WINDOWDECORATION "1"

      
        14
        
        -  MOZ_ENABLE_WAYLAND "1";

      
        
        15
        +  MOZ_ENABLE_WAYLAND "1"

      
        15
        16
         }

      
        16
        17
         // }}}

      
        17
        18
         // inputs {{{

      ···
        66
        67
         layout {

      
        67
        68
           gaps 0

      
        68
        69
           center-focused-column "never"

      
        69
        
        -  default-column-width { proportion 0.5; }

      
        
        70
        +  default-column-width { proportion 0.7; }

      
        70
        71
           border { off; }

      
        71
        72
           preset-column-widths {

      
        72
        73
             proportion 0.33333

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

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

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

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

      
        
        106
        +workspace "misc" { open-on-output "HDMI-A-1"; }

      
        106
        107
         

      
        107
        108
         window-rule {

      
        108
        109
           match app-id="anki"

      
M config/waybar/modules/niri.json
···
        5
        5
               "tools": "󰅨",

      
        6
        6
               "web": "󰖟",

      
        7
        7
               "dev": "",

      
        8
        
        -      "media": "󰎄",

      
        
        8
        +      "misc": "",

      
        9
        9
               "default": ""

      
        10
        10
             }

      
        11
        11
           },