Add brightness control to niri
This commit is contained in:
parent
4a5ea07130
commit
c7e003b735
2 changed files with 8 additions and 4 deletions
2
justfile
2
justfile
|
@ -96,7 +96,7 @@ kitty-terminal:
|
||||||
[group("graphical")]
|
[group("graphical")]
|
||||||
niri-window-manager:
|
niri-window-manager:
|
||||||
@just _echowarning "1) Installing niri and related tools"
|
@just _echowarning "1) Installing niri and related tools"
|
||||||
paru -S cliphist fuzzel gdm gnome-keyring inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra polkit-kde-agent swayidle swaylock ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset wpaperd xdg-desktop-portal-gnome xwayland-satellite-git
|
paru -S brightnessctl cliphist fuzzel gdm gnome-keyring inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra polkit-kde-agent swayidle swaylock ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset wpaperd xdg-desktop-portal-gnome xwayland-satellite-git
|
||||||
|
|
||||||
@just _echowarning "\n2) Stowing niri config"
|
@just _echowarning "\n2) Stowing niri config"
|
||||||
stow --dotfiles -S niri
|
stow --dotfiles -S niri
|
||||||
|
|
|
@ -232,9 +232,6 @@ binds {
|
||||||
Control+Shift+Escape {
|
Control+Shift+Escape {
|
||||||
spawn "kitty" "-e" "btop"
|
spawn "kitty" "-e" "btop"
|
||||||
}
|
}
|
||||||
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
|
||||||
// Note: the entire command goes as a single argument in the end.
|
|
||||||
// Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
|
||||||
// Volume keys mappings for PipeWire & WirePlumber.
|
// Volume keys mappings for PipeWire & WirePlumber.
|
||||||
XF86AudioRaiseVolume allow-when-locked=true {
|
XF86AudioRaiseVolume allow-when-locked=true {
|
||||||
spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"
|
spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"
|
||||||
|
@ -248,6 +245,13 @@ binds {
|
||||||
XF86AudioMicMute allow-when-locked=true {
|
XF86AudioMicMute allow-when-locked=true {
|
||||||
spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"
|
spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"
|
||||||
}
|
}
|
||||||
|
// Brightness keys mappings
|
||||||
|
XF86MonBrightnessDown allow-when-locked=true {
|
||||||
|
spawn "brightnessctl" "set" "5%-";
|
||||||
|
}
|
||||||
|
XF86MonBrightnessUp allow-when-locked=true {
|
||||||
|
spawn "brightnessctl" "set" "5%+";
|
||||||
|
}
|
||||||
Alt+F4 {
|
Alt+F4 {
|
||||||
close-window
|
close-window
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue