minor tweaks, removed uato-updates, added reference files for easier modification and scaffolding for help menu.

This commit is contained in:
2026-05-21 13:33:49 +02:00
parent 1b3fed0f2a
commit eb845cb8e1
23 changed files with 835 additions and 71 deletions
+33 -34
View File
@@ -1,74 +1,75 @@
# Example binds
##! important binds
bind=SUPER,R,reload_config
# Actions
bind=SUPER,H,spawn_shell,ghostty -e ~/.config/sdgos/help/cmd-help.sh # show basic command helper
bind=SUPER+SHIFT,H,spawn_shell,ghostty -e ~/.config/sdgos/help/help.sh # show SDG-OS help menu
bind=SUPER,K,spawn_shell,dms ipc call keybinds toggleWithPath mangowc ~/.config/mango/binds.conf # show keybinds
bind=SUPER,0,spawn_shell,notify-send "SDG-OS Tips" "$(shuf -n 1 ~/.config/sdgos/tips/tips.list | sed 's/.*: //')" # show tip
# window management
##! window management
bind=SUPER,T,togglefloating, # float/unfloat active window
bind=SUPER,F,togglefullscreen, # fullscreen active window
bind=SUPER,Q,killclient, # Close active window
bind=SUPER+SHIFT,Q,quit, # Exit mango
bind=SUPER+SHIFT,P,toggleoverlay, # toggle overlay mode
bind=SUPER,P,spawn_shell,mmsg -d toggleglobal && mmsg -d togglefloating # pin window across workspaces
bind=SUPER,O,toggleoverview
bind=ALT,TAB,toggleoverview
# "OS" functions
##! OS functions
bind=SUPER,L,spawn_shell,dms ipc call lock lock # locks screen
bind=SUPER,SPACE,spawn_shell,dms ipc call spotlight toggle # open runner menu
bind=SUPER,V,spawn_shell,dms ipc call clipboard toggle # open clipboard
bind=SUPER,I,spawn_shell,dms ipc call inhibit toggle # toggle sleep inhibit
bind=SUPER+SHIFT,T,spawn_shell,dms ipc call theme toggle # toggle dark/light mode
bind=SUPER,D,spawn_shell,dms ipc call dock toggle # toggle dock
bind=SUPER,X,spawn_shell,dms ipc call processlist open # open process list
bind=SUPER,X,spawn_shell,dms ipc call processlist focusOrToggle # open process list
bind=SUPER+SHIFT,N,spawn_shell,dms ipc call notifications open # open notifications
bind=SUPER,ESCAPE,spawn_shell,dms ipc call control-center toggle # toggle control center
bind=SUPER,Z,spawn_shell,dms ipc call powermenu toggle # toggle power menu
bind=SUPER,S,spawn_shell,dms ipc call settings toggle # toggle settings
bind=SUPER,K,spawn_shell,dms ipc call keybinds toggleWithPath mangowc ~/.config/mango/binds.conf # show binds
###! SDG-OS custom scripts
bind=SUPER,M,spawn_shell,ghostty -e ~/.config/sdgos/mango-config.sh # show mango config editor
bind=SUPER,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/pkg-install.sh # install packages
bind=SUPER+SHIFT,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/aur-install.sh # install AUR packages
bind=SUPER,W,spawn_shell,ghostty -e ~/.config/sdgos/tuis/layout-switch.sh # switch between layouts on the current workspace
#program launchers
##! program launchers
bind=SUPER,RETURN,spawn_shell,ghostty
bind=SUPER,TAB,spawn_shell,ghostty
bind=SUPER,E,spawn,nautilus ~
bind=SUPER,B,spawn,firefox
bind=SUPER,N,spawn_shell,dms ipc call notepad open # open notes
bind=SUPER+SHIFT,M,spawn,firefox --new-window https://mangowm.github.io/docs/configuration
bind=SUPER,N,spawn_shell,dms ipc call notepad toggle # open notes
bind=SUPER+SHIFT,M,spawn_shell,ghostty -e ~/.config/sdgos/tuis/documentation.sh # open SDG-OS related documentation
bind=SUPER+SHIFT,TAB,spawn_shell,ghostty -e ~/.config/sdgos/tuis/project-select.sh # summon project selection TUI
##! Misc
# Audio Ctrls
###! Audio controls
bind=NONE,XF86AudioRaiseVolume,spawn_shell,dms ipc call audio increment 5 # audio up
bind=NONE,XF86AudioLowerVolume,spawn_shell,dms ipc call audio decrement 5 # audio down
bind=NONE,XF86AudioMute,spawn_shell,dms ipc call audio mute # mute audio
bind=NONE,XF86AudioMicMute,spawn_shell,dms ipc call audio micmute # mute mic
# Brightness Ctrls
###! Brightness controls
bind=NONE,XF86MonBrightnessUp,spawn_shell,dms ipc call brightness increment 5 # brightness up
bind=NONE,XF86MonBrightnessDown,spawn_shell,dms ipc call brightness decrement 5 # brightness down
# screenshots
###! screenshots
bind=SUPER,PRINT,spawn_shell,~/.config/sdgos/screenshots/region.sh # screenshot region
bind=SUPER+CTRL,PRINT,spawn_shell,~/.config/sdgos/screenshots/fullscreen.sh # fullscreen screenshot
bind=NONE,PRINT,spawn_shell,~/.config/sdgos/screenshots/mode-toggle.sh # toggle screenshot save mode
# Other
###! Other
bind=NONE,XF86WLAN,spawn_shell,nmcli radio wifi toggle # toggle wifi
bind=NONE,XF86Refresh,spawn_shell,xdotool key F5 # refresh
bind=SUPER,0,spawn_shell,notify-send "SDG-OS Tips" "$(shuf -n 1 ~/.config/sdgos/tips/tips.list | sed 's/.*: //')" # show tip
# Move focus with mainMod + arrow keys
##! Focus and Exchange
bind=SUPER,left,focusdir,left
bind=SUPER,right,focusdir,right
bind=SUPER,up,focusdir,up
bind=SUPER,down,focusdir,down
# move window between monitors with win+Alt+arrow keys
bind=SUPER+SHIFT,up,exchange_stack_client,prev
bind=SUPER+SHIFT,down,exchange_stack_client,next
bind=SUPER+SHIFT,left,focusstack,prev
@@ -82,7 +83,16 @@ bind=SUPER+Alt,right,resizewin,+50,+0 # resize window
bind=SUPER+Alt,up,resizewin,+0,-50 # resize window
bind=SUPER+Alt,down,resizewin,+0,+50 # resize window
# switch between workspaces with mainmod + [1-9]
bind=SUPER,1,view,1,1 # focus workspace 1
bind=SUPER,2,view,2,1 # focus workspace 2
bind=SUPER,3,view,3,1 # focus workspace 3
bind=SUPER,4,view,4,1 # focus workspace 4
bind=SUPER,5,view,5,1 # focus workspace 5
bind=SUPER,6,view,6,1 # focus workspace 6
bind=SUPER,7,view,7,1 # focus workspace 7
bind=SUPER,8,view,8,1 # focus workspace 8
bind=SUPER,9,view,9,1 # focus workspace 9
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind=SUPER+SHIFT,1,tag,1 # Move window to workspace 1
@@ -95,17 +105,6 @@ bind=SUPER+SHIFT,7,tag,7 # Move window to workspace 7
bind=SUPER+SHIFT,8,tag,8 # Move window to workspace 8
bind=SUPER+SHIFT,9,tag,9 # Move window to workspace 9
# switch between workspaces with mainmod + [1-9]
bind=SUPER,1,view,1,1 # focus workspace 1
bind=SUPER,2,view,2,1 # focus workspace 2
bind=SUPER,3,view,3,1 # focus workspace 3
bind=SUPER,4,view,4,1 # focus workspace 4
bind=SUPER,5,view,5,1 # focus workspace 5
bind=SUPER,6,view,6,1 # focus workspace 6
bind=SUPER,7,view,7,1 # focus workspace 7
bind=SUPER,8,view,8,1 # focus workspace 8
bind=SUPER,9,view,9,1 # focus workspace 9
# add workspaces to vie with mainmod + alt + [1-9]
bind=SUPER+alt,1,toggleview,1 # toggle on workspace 1
bind=SUPER+alt,2,toggleview,2 # toggle on workspace 2
@@ -125,8 +124,8 @@ mousebind=NONE,btn_middle,togglemaximizescreen,0
mousebind=SUPER,btn_right,moveresize,curresize
mousebind=SUPER,btn_left,spawn_shell,mmsg -d option dwindle_smart_split 1
bindr=NONE,super,spawn_shell,mmsg -d option dwindle_smart_split 0
#mousebind=SUPER,btn_left,spawn_shell,mmsg -d option dwindle_smart_split 1
#bindr=NONE,super,spawn_shell,mmsg -d option dwindle_smart_split 0
# Axis Bindings
axisbind=SUPER,UP,viewtoleft_have_client,0 # scroll up through views