Add rofi menus to global shortcuts
Accessible through Super+Space for the quickrun menu (essentially emulates dmenu, just with a nice colorscheme); Super+r for a more extensive options menu: window switching, clipboard history, ssh (accessible with Shift-right). First step toward streamlined rofi config.
This commit is contained in:
parent
8b7de007e9
commit
da5cd9ef1f
3 changed files with 18 additions and 12 deletions
|
@ -159,7 +159,7 @@ mode "resize" {
|
|||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
bindsym $mod+shift+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
@ -177,7 +177,7 @@ bar {
|
|||
# reload the configuration file
|
||||
bindsym $mod+Shift+y reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# bindsym $mod+Shift+r restart
|
||||
|
||||
# set a pretty wallpaper
|
||||
exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg
|
||||
|
|
|
@ -8,6 +8,10 @@ super + Return
|
|||
super + space
|
||||
exec rofi -show drun -theme /themes/dmenu
|
||||
|
||||
# open more extensive run menu
|
||||
super + r
|
||||
exec rofi -modi combi,ssh -show combi -combi-modi "window,clipboard:greenclip print,run"
|
||||
|
||||
# System functionality
|
||||
|
||||
# Enable lock screen (TODO does not stop music, etc yet
|
||||
|
|
4
.xinitrc
4
.xinitrc
|
@ -60,9 +60,11 @@ type flashfocus >/dev/null 2>&1 && flashfocus -l never &
|
|||
|
||||
# if sxhkd - the key-binding daemon is installed, start it up
|
||||
type sxhkd >/dev/null 2>&1 && sxhkd &
|
||||
# if greenclip - a clipboard manager, integrated with rofi, is installed, start it up
|
||||
type greenclip >/dev/null 2>&1 && greenclip daemon &
|
||||
|
||||
# additional config options for Touchpad devices ONLY
|
||||
if [ $(dmesg | grep "Touchpad" | wc -l) > 0 ]; then
|
||||
if [ $(dmesg | grep -c "Touchpad") -gt 0 ]; then
|
||||
# enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop <TAB>
|
||||
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue