added some stuff to make the terminal scratchpad work smoother.
This commit is contained in:
@@ -13,6 +13,11 @@ exec-once=~/.config/sdgos/firstrun.sh
|
||||
# UI
|
||||
exec-once=ghostty
|
||||
|
||||
# pre-load terminal scratchpad
|
||||
exec-once=sleep 1 && mmsg -d toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,'ghostty +new-window --title="scratchpad-term"'
|
||||
exec-once=sleep 1.5 && mmsg -d toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,'ghostty +new-window --title="scratchpad-term"'
|
||||
exec-once=sleep 2 && mmsg -d toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,'ghostty +new-window --title="scratchpad-term"'
|
||||
|
||||
|
||||
## start DankMaterial Shell
|
||||
exec-once=dms run
|
||||
|
||||
+16
-7
@@ -9,7 +9,8 @@ bind=SUPER,0,spawn_shell,notify-send "SDG-OS Tips" "$(shuf -n 1 ~/.config/sdgos/
|
||||
bind=SUPER,C,toggle_scratchpad
|
||||
bind=SUPER+CTRL,C,minimized
|
||||
bind=SUPER+ALT,C,restore_minimized
|
||||
bind=SUPER+ALT,SPACE,toggle_named_scratchpad,com.mitchellh.ghostty,.*,ghostty
|
||||
#specific terminal scratchpad for a quick access terminal
|
||||
bind=SUPER+ALT,SPACE,toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,ghostty +new-window --title="scratchpad-term" && sleep 0.2 && mmsg -d toggle_named_scratchpad,com.mitchellh.ghostty,scratchpad-term,ghostty +new-window --title="scratchpad-term"
|
||||
|
||||
##! window management
|
||||
bind=SUPER,T,togglefloating, # float/unfloat active window
|
||||
@@ -23,7 +24,7 @@ bind=ALT,TAB,toggleoverview
|
||||
bind=SUPER,A,spawn_shell,~/.config/sdgos/misc/layoutbutton.sh # special layout toggle
|
||||
bind=SUPER+SHIFT,A,switch_layout
|
||||
|
||||
##! OS functions
|
||||
##! DMS 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
|
||||
@@ -35,19 +36,27 @@ bind=SUPER+SHIFT,N,spawn_shell,dms ipc call notifications open # open notificati
|
||||
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
|
||||
|
||||
###! SDG-OS custom scripts
|
||||
bind=SUPER,M,spawn_shell,ghostty -e ~/.config/sdgos/mango-config.sh # show mango config editor
|
||||
bind=SUPER+ALT,M,spawn_shell,ghostty -e ~/.config/sdgos/config-overview/menu.sh # mango config explainer menu
|
||||
bind=SUPER,Y,spawn_shell,shelly-ui
|
||||
bind=SUPER+SHIFT,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/aur-install.sh # install AUR packages
|
||||
bind=SUPER+ALT,Y,spawn_shell,ghostty -e unipkg launch-tui # launch unipkg tui
|
||||
bind=SUPER+ctrl,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/pkg-install.sh # install packages via TUI
|
||||
bind=SUPER,W,spawn_shell,ghostty -e ~/.config/sdgos/tuis/layout-switch.sh # switch between layouts on the current workspace
|
||||
|
||||
####! dotfile git sync script
|
||||
#bind=SUPER+CTRL,TAB,spawn_shell, ghostty -e dotfile-git-sync ~/mydotfilerepo # set the location before uncommenting
|
||||
|
||||
# Default package manager binds (shelly + unipkg)
|
||||
bind=SUPER,Y,spawn_shell,shelly-ui
|
||||
bind=SUPER+shift,Y,spawn_shell,ghostty -e unipkg launch-tui # launch unipkg tui
|
||||
|
||||
# Alternate binds (using omarchy's TUIs)
|
||||
#bind=SUPER,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/aur-install.sh # install AUR packages
|
||||
#bind=SUPER+shift,Y,spawn_shell,ghostty -e ~/.config/sdgos/tuis/pkg-install.sh # install packages via TUI
|
||||
|
||||
##! program launchers
|
||||
bind=SUPER,RETURN,spawn_shell,ghostty
|
||||
bind=SUPER,TAB,spawn_shell,ghostty
|
||||
bind=SUPER,E,spawn,nautilus ~
|
||||
bind=SUPER,E,spawn,nautilus --new-window
|
||||
bind=SUPER,B,spawn,firefox
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user