tweaks
This commit is contained in:
parent
32af24f141
commit
7f859b3305
4 changed files with 19 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ import = [ "gruvbox-dark.toml" ]
|
||||||
padding = {x = 2, y = 2}
|
padding = {x = 2, y = 2}
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Adwaita Mono"
|
family = "monospace"
|
||||||
|
|
||||||
[keyboard]
|
[keyboard]
|
||||||
bindings = [
|
bindings = [
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,14 @@
|
||||||
font=sans-serif
|
font=sans-serif
|
||||||
|
|
||||||
default-timeout=5000
|
default-timeout=5000
|
||||||
|
max-history=8
|
||||||
|
max-visible=8
|
||||||
|
on-button-middle=dismiss --no-history
|
||||||
|
|
||||||
layer=overlay
|
layer=overlay
|
||||||
anchor=top-right
|
anchor=top-right
|
||||||
margin=12
|
outer-margin=8
|
||||||
|
margin=0,0,4
|
||||||
padding=8
|
padding=8
|
||||||
|
|
||||||
background-color=#191919E5
|
background-color=#191919E5
|
||||||
|
|
@ -19,7 +23,7 @@ border-color=#9b0000E5
|
||||||
default-timeout=0
|
default-timeout=0
|
||||||
|
|
||||||
[category=status]
|
[category=status]
|
||||||
anchor=center
|
anchor=bottom-center
|
||||||
group-by=category
|
group-by=category
|
||||||
history=0
|
history=0
|
||||||
format=<b>%s</b> %b
|
format=<b>%s</b> %b
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
font=Adwaita Sans
|
font=sans-serif
|
||||||
image=~/.config/niri/backgrounds/wallpaper.png
|
image=~/.config/niri/backgrounds/wallpaper.png
|
||||||
color=191919E5
|
color=191919E5
|
||||||
|
|
||||||
indicator-idle-visible
|
indicator-idle-visible
|
||||||
indicator-radius=64
|
indicator-radius=64
|
||||||
indicator-thickness=4
|
indicator-thickness=4
|
||||||
|
ignore-empty-password
|
||||||
|
|
||||||
inside-color=191919E5
|
inside-color=191919E5
|
||||||
inside-clear-color=191919E5
|
inside-clear-color=191919E5
|
||||||
|
|
|
||||||
|
|
@ -132,9 +132,15 @@ function color_scheme
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function restore_notifications
|
||||||
|
for i in (seq (count (string match -r 'Notification [0-9]' (makoctl history))))
|
||||||
|
makoctl restore
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
# Select sub menu
|
# Select sub menu
|
||||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Color Scheme"
|
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Color Scheme" " Restore Notifications"
|
||||||
set input (menu $options)
|
set input (menu $options)
|
||||||
|
|
||||||
switch $input
|
switch $input
|
||||||
|
|
@ -162,4 +168,7 @@ switch $input
|
||||||
|
|
||||||
case $options[7]
|
case $options[7]
|
||||||
color_scheme
|
color_scheme
|
||||||
|
|
||||||
|
case $options[8]
|
||||||
|
restore_notifications
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue