Add lid switch bind
This commit is contained in:
@@ -21,7 +21,7 @@ source = ~/.config/hypr/conf/autostart.conf
|
|||||||
|
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = nemo
|
$fileManager = thunar
|
||||||
$menu = rofi --show drun
|
$menu = rofi --show drun
|
||||||
|
|
||||||
# Some default env vars.
|
# Some default env vars.
|
||||||
@@ -141,7 +141,7 @@ device {
|
|||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
windowrulev2 = opacity 0.95,class:^(nemo)
|
windowrulev2 = opacity 0.95,class:^(thunar)
|
||||||
layerrule = blur, rofi
|
layerrule = blur, rofi
|
||||||
layerrule = blur, waybar
|
layerrule = blur, waybar
|
||||||
layerrule = xray[0], rofi
|
layerrule = xray[0], rofi
|
||||||
@@ -152,7 +152,7 @@ $mainMod = SUPER
|
|||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Q, exec, $terminal
|
bind = $mainMod, Q, exec, $terminal
|
||||||
bind = $mainMod, C, killactive,
|
binde = $mainMod, C, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
@@ -221,6 +221,9 @@ bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@
|
|||||||
# Example volume button that will activate even while an input inhibitor is active
|
# Example volume button that will activate even while an input inhibitor is active
|
||||||
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
|
||||||
|
# Play/Pause
|
||||||
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
|
||||||
# Mute
|
# Mute
|
||||||
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
|
||||||
@@ -237,7 +240,10 @@ bindel = , XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%-
|
|||||||
# Fan control
|
# Fan control
|
||||||
bind = CTRL ALT, L, exec, nbfc set -f 0 1 -s 30
|
bind = CTRL ALT, L, exec, nbfc set -f 0 1 -s 30
|
||||||
bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100
|
bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100
|
||||||
bind = ALT, P, exec, nbfc set -f 0 1 -a
|
bind = CTRL ALT, P, exec, nbfc set -f 0 1 -a
|
||||||
|
|
||||||
|
# Lid Switch
|
||||||
|
bindl=,switch:Lid Switch, exec, hyprlock
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
#debug{
|
#debug{
|
||||||
|
|||||||
@@ -43,3 +43,9 @@
|
|||||||
.config/VeraCrypt/
|
.config/VeraCrypt/
|
||||||
.config/pupgui/
|
.config/pupgui/
|
||||||
.config/spectaclerc
|
.config/spectaclerc
|
||||||
|
.config/MangoHud/
|
||||||
|
.config/discord/
|
||||||
|
.config/dolphinrc
|
||||||
|
.config/gh/
|
||||||
|
.config/libreoffice/
|
||||||
|
.config/session/
|
||||||
|
|||||||
Reference in New Issue
Block a user