feat: add Keymap plugin (#68)
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
# Keymap example for MangoWC.
|
||||
# This file is documentation and test data; it is not loaded automatically.
|
||||
|
||||
# Applications
|
||||
bind=SUPER,Return,spawn_shell,foot #"Open terminal"
|
||||
bind=SUPER,B,spawn_shell,firefox #"Open browser"
|
||||
bind=SUPER,E,spawn_shell,xdg-open . #"Open files"
|
||||
bind=SUPER,Space,spawn_shell,noctalia msg panel-toggle launcher #"Open launcher"
|
||||
bind=SUPER,M,spawn_shell,thunderbird #"Open mail"
|
||||
bind=SUPER,A,spawn_shell,gnome-calculator #"Open calculator"
|
||||
|
||||
# Windows
|
||||
bind=SUPER,Q,killclient, #"Close window"
|
||||
bind=SUPER,F,togglefullscreen, #"Toggle fullscreen"
|
||||
bind=SUPER+SHIFT,F,togglefloating, #"Toggle floating"
|
||||
bind=SUPER,Left,focusdir,left #"Focus left"
|
||||
bind=SUPER,Right,focusdir,right #"Focus right"
|
||||
bind=SUPER,Up,focusdir,up #"Focus up"
|
||||
bind=SUPER,Down,focusdir,down #"Focus down"
|
||||
bind=SUPER+SHIFT,Left,smartmovewin,left #"Move window left"
|
||||
bind=SUPER+SHIFT,Right,smartmovewin,right #"Move window right"
|
||||
bind=SUPER,Tab,focusstack,next #"Focus next window"
|
||||
|
||||
# Workspaces
|
||||
bind=SUPER,1,view,1 #"Workspace 1"
|
||||
bind=SUPER,2,view,2 #"Workspace 2"
|
||||
bind=SUPER,3,view,3 #"Workspace 3"
|
||||
bind=SUPER,4,view,4 #"Workspace 4"
|
||||
bind=SUPER+SHIFT,1,tag,1 #"Move to workspace 1"
|
||||
bind=SUPER+SHIFT,2,tag,2 #"Move to workspace 2"
|
||||
axisbind=SUPER,DOWN,viewtoleft,0 #"Next workspace"
|
||||
axisbind=SUPER,UP,viewtoright,0 #"Previous workspace"
|
||||
|
||||
# Screenshots
|
||||
bind=NONE,Print,spawn_shell,grim ~/Pictures/screenshot.png #"Capture monitor"
|
||||
bind=SHIFT,Print,spawn_shell,grim -g "$(slurp)" ~/Pictures/region.png #"Capture region"
|
||||
bind=CTRL,Print,spawn_shell,grim -g "$(slurp -w)" ~/Pictures/window.png #"Capture window"
|
||||
|
||||
# Noctalia
|
||||
bind=SUPER,K,spawn_shell,noctalia msg panel-toggle blackbartblues/keymap:panel #"Open Keymap"
|
||||
bind=SUPER,V,spawn_shell,noctalia msg panel-toggle clipboard #"Clipboard history"
|
||||
bind=SUPER,N,spawn_shell,noctalia msg panel-toggle notifications #"Notifications"
|
||||
bind=SUPER,P,spawn_shell,noctalia msg panel-toggle session-menu #"Session menu"
|
||||
|
||||
# Media
|
||||
bindl=NONE,XF86AudioPlay,spawn_shell,playerctl play-pause #"Play or pause"
|
||||
bindl=NONE,XF86AudioNext,spawn_shell,playerctl next #"Next track"
|
||||
bindl=NONE,XF86AudioPrev,spawn_shell,playerctl previous #"Previous track"
|
||||
bindl=NONE,XF86AudioMute,spawn_shell,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle #"Mute audio"
|
||||
bindl=NONE,XF86AudioRaiseVolume,spawn_shell,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ #"Volume up"
|
||||
bindl=NONE,XF86AudioLowerVolume,spawn_shell,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- #"Volume down"
|
||||
|
||||
# Utilities
|
||||
bindr=SUPER+SHIFT,V,spawn_shell,wl-paste | wl-copy #"Normalize clipboard"
|
||||
bind=SUPER+SHIFT,C,spawn_shell,hyprpicker -a #"Pick a color"
|
||||
bind=SUPER,L,spawn_shell,noctalia msg session lock #"Lock screen"
|
||||
Reference in New Issue
Block a user