added layout switcher on super+w
This commit is contained in:
@@ -28,6 +28,7 @@ bind=SUPER,K,spawn_shell,dms ipc call keybinds toggleWithPath mangowc ~/.config/
|
||||
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
|
||||
bind=SUPER,RETURN,spawn_shell,ghostty
|
||||
@@ -70,6 +71,8 @@ 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
|
||||
BIND=SUPER+SHIFT,right,focusstack,next
|
||||
bind=SUPER+Ctrl,left,exchange_client,left
|
||||
bind=SUPER+Ctrl,right,exchange_client,right
|
||||
bind=SUPER+Ctrl,up,exchange_client,up
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
[SDG-OS Tips]: Did you know? You can use "!!" to repeat the last command in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "!$" to reference the last argument of the previous command in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "cd -" to switch to the previous directory in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "ls "/*.txt" to recursively list all .txt files in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "ls ./*.txt" to list all .txt files in the current directory in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "=command" (e.g., "=ls") to see the full path of a command in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "alt+." to insert the last argument of the previous command in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "alt+?" to search backward in zsh's history
|
||||
@@ -121,10 +121,6 @@
|
||||
[SDG-OS Tips]: Did you know? You can use "history -i" to incrementally search your command history in zsh
|
||||
[SDG-OS Tips]: Did you know? you can use the command "cmdhist" to interactively search through past commands and send them back to the terminal input
|
||||
[SDG-OS Tips]: Did you know? You can use "print -z" to add a command to the buffer without executing it in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use "zsh-stat" to check your zsh version and configuration details
|
||||
[SDG-OS Tips]: Did you know? You can use "zsh-add-file" to source a file temporarily in your zsh session
|
||||
[SDG-OS Tips]: Did you know? You can use "zsh-remove-file" to unsource a file from your zsh session
|
||||
[SDG-OS Tips]: Did you know? You can use "zsh-watch" to monitor a file for changes and re-source it in zsh
|
||||
[SDG-OS Tips]: Did you know? You can use Ctrl+Shift+T to open a new tab in ghostty
|
||||
[SDG-OS Tips]: Did you know? You can use Ctrl+Shift+W to close the current tab in ghostty
|
||||
[SDG-OS Tips]: Did you know? You can use Ctrl+Shift+F to search for text in ghostty's scrollback
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
mmsg -d togglefloating
|
||||
|
||||
|
||||
SELECTED=$(cat ~/.config/sdgos/tuis/layouts.list | cut -d '|' -f 1 | fzf --layout=reverse)
|
||||
|
||||
CMD=$(cat ~/.config/sdgos/tuis/layouts.list | grep -e "$SELECTED" | cut -d '|' -f 2)
|
||||
|
||||
eval $CMD
|
||||
@@ -0,0 +1,15 @@
|
||||
Scroller - horizontal | mmsg -l "S"
|
||||
Scroller - vertical | mmsg -l "VS"
|
||||
Tile/master - left | mmsg -l "T"
|
||||
Tile/master - top | mmsg -l "VT"
|
||||
Tile/master - center | mmsg -l "CT"
|
||||
Tile/master - right | mmsg -l "RT"
|
||||
Grid - horizontal | mmsg -l "G"
|
||||
Grid - vertical | mmsg -l "VG"
|
||||
Deck - horizontal | mmsg -l "K"
|
||||
Deck - vertical | mmsg -l "VK"
|
||||
Fair - horizontal | mmsg -l "F"
|
||||
Fair - vertical | mmsg -l "VF"
|
||||
Monocle | mmsg -l "M"
|
||||
Dwindle | mmsg -l "DW"
|
||||
|
||||
Reference in New Issue
Block a user