dotfiles/rofi/.config/herbstluftwm/autostart.d/rofi.sh

17 lines
459 B
Bash
Raw Normal View History

2016-08-05 01:48:13 +02:00
#!/usr/bin/env zsh
if ! whence hc; then
function hc() { herbstclient "$@"; }
fi
# Run things with rofi
2023-03-06 19:23:17 +01:00
hc keybind Mod4-r spawn rofi -show drun \
-config "$HOME/.config/rofi/rofi.rasi"
2016-08-05 01:48:13 +02:00
# Use a special rofi configuration that allows windows to be locked by
# herbstluftwm.
2023-03-06 19:23:17 +01:00
hc keybind Mod4-w spawn rofi -show window \
-window-command "$HOME/usr/bin/hlwm-switch-to-window {window}" \
2023-03-06 19:23:17 +01:00
-config "$HOME/.config/rofi/windows.rasi" \
-theme yoshi