river: Switch call to terminal to be more general
Switched the calls for the term variable mappings (opening term, floating term, calculator, and so on) to make use of the pretty much standard 'terminal -e' invocation to start the terminal and execute something within it. This newly works for wezterm since any release after 2022-12-26, which are now also on the Arch repositories and will make the river init a tiny bit more portable whenever wanting to switch to a different terminal.
This commit is contained in:
parent
60b89b6d30
commit
a43e2cc4bd
1 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ riverctl map normal $mod+Shift C close
|
|||
# Open terminal
|
||||
riverctl map normal $mod Return spawn "$term"
|
||||
# Open floating terminal
|
||||
riverctl map normal $mod+Control Return spawn "$term start --class float"
|
||||
riverctl map normal $mod+Control Return spawn "$term -e --class float"
|
||||
|
||||
# Open run menu
|
||||
riverctl map normal $mod Space spawn "bemenu-run"
|
||||
|
@ -61,7 +61,7 @@ riverctl map normal $mod+Shift O spawn "qutedmenu"
|
|||
riverctl map normal $mod+Shift Space spawn "clipman pick --tool=bemenu"
|
||||
|
||||
# Open floating calculator
|
||||
riverctl map normal $mod+Shift R spawn "$term start --class float -e qalc"
|
||||
riverctl map normal $mod+Shift R spawn "$term -e --class float qalc"
|
||||
|
||||
# Open emoji picker
|
||||
riverctl map normal $mod+Shift E spawn "bemoji -nt"
|
||||
|
@ -77,7 +77,7 @@ riverctl map normal $mod+Shift S spawn 'flavourchoose'
|
|||
riverctl map normal $mod+Shift P spawn "pass-pick"
|
||||
|
||||
# File upload
|
||||
riverctl map normal $mod+Shift U spawn "$term start --class float -e sharefile | xargs notify-send"
|
||||
riverctl map normal $mod+Shift U spawn "$term -e --class float sharefile | xargs notify-send"
|
||||
|
||||
# # Screenshot
|
||||
riverctl map normal None Print spawn "screenshot"
|
||||
|
|
Loading…
Reference in a new issue