158 lines
5.0 KiB
Plaintext
158 lines
5.0 KiB
Plaintext
|
# SYSTEM SHORTCUTS.
|
||
|
#Connect/disconnect bluetooth headphones.
|
||
|
bind = $Mod SHIFT, C, exec, bluetoothctl connect 0C:AE:BD:DB:52:3A
|
||
|
bind = $Mod SHIFT, D, exec, bluetoothctl disconnect 0C:AE:BD:DB:52:3A
|
||
|
|
||
|
# Raise/increase brightness, 5% step.
|
||
|
bindel = $Mod ALT, F5, exec, brightnessctl set 5%-
|
||
|
bindel = $Mod ALT, F6, exec, brightnessctl set +5%
|
||
|
|
||
|
# Raise/increase brightness, 1% step.
|
||
|
bindel = $Mod, F5, exec, brightnessctl set 1%-
|
||
|
bindel = $Mod, F6, exec, brightnessctl set +1%
|
||
|
|
||
|
# Hide bar temporary
|
||
|
bindr=$Mod, D, exec, pkill -SIGUSR1 waybar
|
||
|
|
||
|
# Kill/start Waybar.
|
||
|
bindr=$Mod ALT, D, exec, pkill waybar || waybar -c $cfg/waybar/btm-1/config.jsonc -s $cfg/waybar/btm-1/style.css
|
||
|
|
||
|
#bindr=$Mod ALT, D, exec, pkill waybar || waybar -c $cfg/waybar/btm-2/config.jsonc -s $cfg/waybar/btm-2/style.css
|
||
|
#bindr=$Mod ALT, D, exec, pkill waybar || waybar -c $cfg/waybar/lft-2/config.jsonc -s $cfg/waybar/lft-2/style.css
|
||
|
#bindr=$Mod ALT, D, exec, pkill waybar || waybar -c $cfg/waybar/lft-3/config.jsonc -s $cfg/waybar/lft-3/style.css
|
||
|
|
||
|
|
||
|
# Audio volume control shortcuts.
|
||
|
#Volume up/down.
|
||
|
bindel = $Mod, F3, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||
|
bindel = $Mod, F2, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||
|
|
||
|
#bindel =, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||
|
#bindel =, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||
|
|
||
|
#Volume mute.
|
||
|
bindl = $Mod, F1, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||
|
|
||
|
|
||
|
# Playback control shortcut.
|
||
|
# Play-pause.
|
||
|
bindl = $Mod ALT, F1, exec, cmus-remote --pause
|
||
|
bindl =, XF86AudioPlay, exec, playerctl play
|
||
|
bindl =, XF86AudioPause, exec, playerctl pause
|
||
|
|
||
|
# Next song.
|
||
|
bindl = $Mod ALT, F3, exec, cmus-remote --next
|
||
|
bindl =, XF86AudioNext, exec, playerctl next
|
||
|
|
||
|
# Previous song.
|
||
|
bindl = $Mod ALT, F2, exec, cmus-remote --prev
|
||
|
bindl =, XF86AudioPrev, exec, playerctl previous
|
||
|
|
||
|
# WINDOWS SHORTCUTS.
|
||
|
# Basics.
|
||
|
bind = $Mod, W, killactive,
|
||
|
bind = $Mod, S, togglefloating,
|
||
|
bind = $Mod, R, fakefullscreen,
|
||
|
bind = $Mod, F, fullscreen,
|
||
|
bind = $Mod, X, centerwindow,
|
||
|
bind = $Mod ALT, M, exit,
|
||
|
|
||
|
# Move focus.
|
||
|
bind = $Mod, left, movefocus, l
|
||
|
bind = $Mod, right, movefocus, r
|
||
|
bind = $Mod, up, movefocus, u
|
||
|
bind = $Mod, down, movefocus, d
|
||
|
|
||
|
# Move floating windows, 40px step.
|
||
|
binde = $Mod SHIFT, right, moveactive, 40 0
|
||
|
binde = $Mod SHIFT, left, moveactive, -40 0
|
||
|
binde = $Mod SHIFT, up, moveactive, 0 -40
|
||
|
binde = $Mod SHIFT, down, moveactive, 0 40
|
||
|
|
||
|
# Move floating windows, 10px step.
|
||
|
binde = $Mod ALT SHIFT, right, moveactive, 10 0
|
||
|
binde = $Mod ALT SHIFT, left, moveactive, -10 0
|
||
|
binde = $Mod ALT SHIFT, up, moveactive, 0 -10
|
||
|
binde = $Mod ALT SHIFT, down, moveactive, 0 10
|
||
|
|
||
|
# Move windows to a screen edge.
|
||
|
binde = $Mod ALT, Left, movewindow, l
|
||
|
binde = $Mod ALT, Right, movewindow, r
|
||
|
binde = $Mod ALT, Up, movewindow, u
|
||
|
binde = $Mod ALT, Down, movewindow, d
|
||
|
|
||
|
# Resize windows, 40px step.
|
||
|
binde = $Mod CTRL, left, resizeactive,-40 0
|
||
|
binde = $Mod CTRL, right, resizeactive,40 0
|
||
|
binde = $Mod CTRL, up, resizeactive,0 -40
|
||
|
binde = $Mod CTRL, down, resizeactive,0 40
|
||
|
|
||
|
# Resize windows, 10px step.
|
||
|
binde = $Mod ALT CTRL, left, resizeactive,-10 0
|
||
|
binde = $Mod ALT CTRL, right, resizeactive,10 0
|
||
|
binde = $Mod ALT CTRL, up, resizeactive,0 -10
|
||
|
binde = $Mod ALT CTRL, down, resizeactive,0 10
|
||
|
|
||
|
# Move/resize windows with mouse/touchpad.
|
||
|
bindm = $Mod, mouse:272, movewindow
|
||
|
bindm = $Mod, mouse:273, resizewindow
|
||
|
|
||
|
#Workspaces shortcuts.
|
||
|
# Switch to workspace.
|
||
|
bind = $Mod, 1, workspace, 1
|
||
|
bind = $Mod, 2, workspace, 2
|
||
|
bind = $Mod, 3, workspace, 3
|
||
|
bind = $Mod, 4, workspace, 4
|
||
|
bind = $Mod, 5, workspace, 5
|
||
|
bind = $Mod, 6, workspace, 6
|
||
|
bind = $Mod, 7, workspace, 7
|
||
|
bind = $Mod, 8, workspace, 8
|
||
|
bind = $Mod, 9, workspace, 9
|
||
|
bind = $Mod, 0, workspace, 10
|
||
|
|
||
|
# Move active window to another workspace.
|
||
|
bind = $Mod ALT, 1, movetoworkspace, 1
|
||
|
bind = $Mod ALT, 2, movetoworkspace, 2
|
||
|
bind = $Mod ALT, 3, movetoworkspace, 3
|
||
|
bind = $Mod ALT, 4, movetoworkspace, 4
|
||
|
bind = $Mod ALT, 5, movetoworkspace, 5
|
||
|
bind = $Mod ALT, 6, movetoworkspace, 6
|
||
|
bind = $Mod ALT, 7, movetoworkspace, 7
|
||
|
bind = $Mod ALT, 8, movetoworkspace, 8
|
||
|
bind = $Mod ALT, 9, movetoworkspace, 9
|
||
|
bind = $Mod ALT, 0, movetoworkspace, 10
|
||
|
|
||
|
# Scroll through existing workspaces.
|
||
|
bind = $Mod, mouse_down, workspace, e+1
|
||
|
bind = $Mod, mouse_up, workspace, e-1
|
||
|
|
||
|
# APPS SHORTCUTS.
|
||
|
# Main.
|
||
|
bind = $Mod, Q, exec, $term
|
||
|
bind = $Mod, E, exec, $fmt
|
||
|
bind = $Mod, C, exec, $mpt
|
||
|
|
||
|
# Other.
|
||
|
#bind = $Mod, Y, exec, hyprctl dispatch exec [workspace 6] transmission-gtk
|
||
|
bind = $Mod, Y, exec, transmission-gtk
|
||
|
bind = $Mod, T, exec, XDG_CURRENT_DESKTOP=gnome ayugram-desktop
|
||
|
bind = $Mod, B, exec, waterfox
|
||
|
bind = $Mod, M, exec, prismlauncher
|
||
|
bind = $Mod, K, exec, krita
|
||
|
|
||
|
|
||
|
# Drop-down "menu-like" things.
|
||
|
# Volume control.
|
||
|
bind = $Mod, V, exec, pkill pulsemixer || $vc
|
||
|
|
||
|
# System monitor.
|
||
|
bind = $Mod, G, exec, pkill htop || $sm
|
||
|
|
||
|
# Lock screen shortcut.
|
||
|
bind = $Mod SHIFT, Delete, exec, gtklock
|
||
|
bindl =, switch:on:Lid Switch, exec, gtklock
|
||
|
|
||
|
# Grim (screenshot tool) shortcut.
|
||
|
bind = , Print, exec, grim $scr/Screen-"$(date +%s)".png
|
||
|
bind = $Mod, Print, exec, grim -g "$(slurp)" $scr/Screen-"$(date +%s)".png
|