add support of volume interface.
This commit is contained in:
@@ -207,9 +207,12 @@ window-rule {
|
|||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match title="^(图片查看器|.*记录)$" app-id="QQ"
|
match title="^(图片查看器|.*记录)$" app-id="QQ"
|
||||||
|
|
||||||
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
||||||
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
||||||
match app-id=r#"^org\.kde\.ksecretd$"#
|
match app-id=r#"^org\.kde\.ksecretd$"#
|
||||||
|
|
||||||
|
match app-id="pavucontrol-qt"
|
||||||
open-floating true
|
open-floating true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -217,6 +220,7 @@ window-rule {
|
|||||||
match title=r#"Code - OSS$"#
|
match title=r#"Code - OSS$"#
|
||||||
match title=r#"Visual Studio Code$"#
|
match title=r#"Visual Studio Code$"#
|
||||||
match app-id=r#"^code"#
|
match app-id=r#"^code"#
|
||||||
|
|
||||||
match app-id=r#"firefox$"#
|
match app-id=r#"firefox$"#
|
||||||
open-maximized true
|
open-maximized true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,9 @@
|
|||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": " {volume}%",
|
"format": " {volume}%",
|
||||||
|
"format-muted": "x {volume}%",
|
||||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
"on-click-right": "flatpak run com.saivert.pwvucontrol"
|
"on-click-right": "pwvucontrol-qt"
|
||||||
},
|
},
|
||||||
"niri/workspaces": {
|
"niri/workspaces": {
|
||||||
"format": "{index}"
|
"format": "{index}"
|
||||||
|
|||||||
Reference in New Issue
Block a user