[sxhkd] Separate calculator and run shortcuts

Previously, super + r would open an extended run menu which contained
all programs to run, ssh servers to connect to, clipboard history, open
windows, *and* the calculator. It was cumbersome to open the window,
switch the mode to calculator and then have it obscure half the screen.
It was also the mode most often used.

So, these two modes have been split, and their mappings updated:
`super + shift + spacebar` opens the old extended run menu (sans calc),
the mapping mimicking the 'extended' version of the normal run mapping.

`super (+ shift) + r` opens the calculator. Without shift it opens top
left of the screen, with shift bottom right.
This commit is contained in:
Marty Oehme 2020-07-05 10:29:56 +02:00
parent 9872bdf3fe
commit 966d87b3ea
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A

View file

@ -31,8 +31,12 @@ super + space
rofi -show drun -theme themes/dmenu
# open more extensive run menu
super + r
rofi -modi combi,ssh,calc -show combi -combi-modi "window,clipboard:greenclip print,run" -theme themes/dropdown
super + shift + space
rofi -modi combi,ssh -show combi -combi-modi "window,clipboard:greenclip print,run" -theme themes/dropdown
# open dropdown calculator -- top left (small r), bottom right (capital R)
super + { r, shift + r }
rofi -modi calc -show calc -location { 1, 5 }
# open gopass frontend menu
super + p