2016-08-05 01:48:13 +02:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
|
|
|
if ! whence hc; then
|
|
|
|
function hc() { herbstclient "$@"; }
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Run things with rofi
|
2020-09-03 00:53:41 +02:00
|
|
|
hc keybind Mod4-r spawn rofi -show run -m 1
|
2016-08-05 01:48:13 +02:00
|
|
|
|
|
|
|
# Use a special rofi configuration that allows windows to be locked by
|
|
|
|
# herbstluftwm.
|
2020-09-03 00:53:41 +02:00
|
|
|
hc keybind Mod4-w spawn rofi -show window -m 1 \
|
|
|
|
-window-command "$HOME/usr/bin/hlwm-switch-to-window {window}" \
|
|
|
|
-config "$HOME/.config/rofi/windows.conf"
|