diff --git a/.config/hypr/hyprbinds.lua b/.config/hypr/hyprbinds.lua index ed8764e..9cdb70c 100644 --- a/.config/hypr/hyprbinds.lua +++ b/.config/hypr/hyprbinds.lua @@ -44,13 +44,13 @@ hl.bind('SUPER + SHIFT + P', hl.dsp.exec_cmd('rofi-rbw')) hl.bind('ALT + P', hl.dsp.exec_cmd('hyprpicker --format=hex -a')) -- Audio Controls -hl.bind('code:123', hl.dsp.exec_cmd('wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'), { repeating = true, locked = true }) -hl.bind('code:122', hl.dsp.exec_cmd('wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-'), { repeating = true, locked = true }) -hl.bind('code:121', hl.dsp.exec_cmd('wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'), { repeating = true, locked = true }) +hl.bind('XF86AudioRaiseVolume', hl.dsp.exec_cmd('wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'), { repeating = true, locked = true }) +hl.bind('XF86AudioLowerVolume', hl.dsp.exec_cmd('wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-'), { repeating = true, locked = true }) +hl.bind('XF86AudioMute', hl.dsp.exec_cmd('wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'), { repeating = true, locked = true }) -- Brightness Controls -hl.bind('code:233', hl.dsp.exec_cmd('brightnessctl s 1%+ && echo true > /home/rafayahmad/dotfiles/.config/eww/brightnessShow'), { repeating = true, locked = true }) -hl.bind('code:232', hl.dsp.exec_cmd('brightnessctl s 1%- && echo true > /home/rafayahmad/dotfiles/.config/eww/brightnessShow'), { repeating = true, locked = true }) +hl.bind('XF86MonBrightnessUp', hl.dsp.exec_cmd('brightnessctl s 1%+ && echo true > /home/rafayahmad/dotfiles/.config/eww/brightnessShow'), { repeating = true, locked = true }) +hl.bind('XF86MonBrightnessDown', hl.dsp.exec_cmd('brightnessctl s 1%- && echo true > /home/rafayahmad/dotfiles/.config/eww/brightnessShow'), { repeating = true, locked = true }) -- Window movement @@ -130,6 +130,6 @@ hl.bind('SUPER + mouse:272', hl.dsp.window.drag(), { mouse = true }) hl.bind('ALT + mouse:272', hl.dsp.window.resize(), { mouse = true }) -- Shutdown/Reboot -hl.bind('SUPER + M', hl.dsp.exit) +hl.bind('SUPER + M', hl.dsp.exit()) hl.bind('CTRL + ALT + Z', hl.dsp.exec_cmd('reboot')) hl.bind('CTRL + ALT + X', hl.dsp.exec_cmd('shutdown now')) diff --git a/.config/hypr/pauseMod3.xkb b/.config/hypr/pauseMod3.xkb index 5f10157..cc22156 100644 --- a/.config/hypr/pauseMod3.xkb +++ b/.config/hypr/pauseMod3.xkb @@ -9,6 +9,12 @@ xkb_keymap { modifier_map Mod3 { }; key { [ Escape ] }; + + key { [ XF86AudioMute ] }; + key { [ XF86AudioLowerVolume ] }; + key { [ XF86AudioRaiseVolume ] }; + key { [ XF86MonBrightnessDown ] }; + key { [ XF86MonBrightnessUp ] }; }; xkb_geometry { include "pc(pc105)" }; diff --git a/.gitconfig b/.gitconfig index 8b8ff50..d1b3ca1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -14,3 +14,5 @@ format = ssh [commit] gpgsign = true +[gpg "ssh"] + allowedSignersFile = /home/rafayahmad/.ssh/allowed_signers