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
|
# UI
|
||||||
exec-once=ghostty
|
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
|
## start DankMaterial Shell
|
||||||
exec-once=dms run
|
exec-once=dms run
|
||||||
|
|||||||
+17
-8
@@ -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,C,toggle_scratchpad
|
||||||
bind=SUPER+CTRL,C,minimized
|
bind=SUPER+CTRL,C,minimized
|
||||||
bind=SUPER+ALT,C,restore_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
|
##! window management
|
||||||
bind=SUPER,T,togglefloating, # float/unfloat active window
|
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,A,spawn_shell,~/.config/sdgos/misc/layoutbutton.sh # special layout toggle
|
||||||
bind=SUPER+SHIFT,A,switch_layout
|
bind=SUPER+SHIFT,A,switch_layout
|
||||||
|
|
||||||
##! OS functions
|
##! DMS functions
|
||||||
bind=SUPER,L,spawn_shell,dms ipc call lock lock # locks screen
|
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,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,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,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,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,S,spawn_shell,dms ipc call settings toggle # toggle settings
|
||||||
|
|
||||||
###! SDG-OS custom scripts
|
###! SDG-OS custom scripts
|
||||||
bind=SUPER,M,spawn_shell,ghostty -e ~/.config/sdgos/mango-config.sh # show mango config editor
|
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+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
|
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
|
##! program launchers
|
||||||
bind=SUPER,RETURN,spawn_shell,ghostty
|
bind=SUPER,RETURN,spawn_shell,ghostty
|
||||||
bind=SUPER,TAB,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,B,spawn,firefox
|
||||||
bind=SUPER,N,spawn_shell,dms ipc call notepad toggle # open notes
|
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,M,spawn_shell,ghostty -e ~/.config/sdgos/tuis/documentation.sh # open SDG-OS related documentation
|
||||||
@@ -144,4 +153,4 @@ mousebind=SUPER,btn_right,moveresize,curresize
|
|||||||
|
|
||||||
# Axis Bindings
|
# Axis Bindings
|
||||||
axisbind=SUPER,UP,viewtoleft_have_client,0 # scroll up through views
|
axisbind=SUPER,UP,viewtoleft_have_client,0 # scroll up through views
|
||||||
axisbind=SUPER,DOWN,viewtoright_have_client,0 # scroll down through views
|
axisbind=SUPER,DOWN,viewtoright_have_client,0 # scroll down through views
|
||||||
|
|||||||
Reference in New Issue
Block a user