niri: update icon on waybar; start browser on start

This commit is contained in:
Oleksandr Smirnov 2025-06-28 16:27:21 +03:00
parent b68db8cdc1
commit e19c3f6342
No known key found for this signature in database
2 changed files with 9 additions and 8 deletions

View file

@ -1,17 +1,18 @@
// vim: foldmethod=marker ts=2 sw=2 // vim: foldmethod=marker ts=2 sw=2
// auto start {{{ // auto start {{{
spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"; // NOTE: might be run as system service spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
spawn-at-startup "~/.config/niri/waybar" spawn-at-startup "~/.config/niri/waybar"
spawn-at-startup "dunst"; spawn-at-startup "dunst"
spawn-at-startup "xwayland-satellite"; // TODO: remove in next update spawn-at-startup "xwayland-satellite" // TODO: remove in next update
spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf"; spawn-at-startup "hypridle" "-c" "/home/olex/.config/niri/hypridle.conf"
spawn-at-startup "zen-browser"
// }}} // }}}
// env {{{ // env {{{
environment { environment {
DISPLAY ":0" DISPLAY ":0"
QT_QPA_PLATFORM "wayland;xcb" QT_QPA_PLATFORM "wayland;xcb"
QT_WAYLAND_DISABLE_WINDOWDECORATION "1" QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
MOZ_ENABLE_WAYLAND "1"; MOZ_ENABLE_WAYLAND "1"
} }
// }}} // }}}
// inputs {{{ // inputs {{{
@ -66,7 +67,7 @@ output "eDP-1" {
layout { layout {
gaps 0 gaps 0
center-focused-column "never" center-focused-column "never"
default-column-width { proportion 0.5; } default-column-width { proportion 0.7; }
border { off; } border { off; }
preset-column-widths { preset-column-widths {
proportion 0.33333 proportion 0.33333
@ -102,7 +103,7 @@ workspace "laptop" { open-on-output "eDP-1"; }
workspace "tools" { open-on-output "HDMI-A-1"; } workspace "tools" { open-on-output "HDMI-A-1"; }
workspace "web"{ open-on-output "HDMI-A-1"; } workspace "web"{ open-on-output "HDMI-A-1"; }
workspace "dev"{ open-on-output "HDMI-A-1"; } workspace "dev"{ open-on-output "HDMI-A-1"; }
workspace "media" { open-on-output "HDMI-A-1"; } workspace "misc" { open-on-output "HDMI-A-1"; }
window-rule { window-rule {
match app-id="anki" match app-id="anki"

View file

@ -5,7 +5,7 @@
"tools": "󰅨", "tools": "󰅨",
"web": "󰖟", "web": "󰖟",
"dev": "", "dev": "",
"media": "󰎄", "misc": "",
"default": "" "default": ""
} }
}, },