aboutsummaryrefslogtreecommitdiffstats
path: root/rofi/.config/herbstluftwm/autostart.d/rofi.sh
blob: ed99b8c05545cd2426b575494b0b48622a43d2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env zsh

if ! whence hc; then
    function hc() { herbstclient "$@"; }
fi

# Run things with rofi
hc keybind Mod4-r spawn rofi -show drun \
   -config "$HOME/.config/rofi/rofi.rasi"

# Use a special rofi configuration that allows windows to be locked by
# herbstluftwm.
hc keybind Mod4-w spawn rofi -show window \
    -window-command "$HOME/usr/bin/hlwm-switch-to-window {window}" \
    -config "$HOME/.config/rofi/windows.rasi" \
    -theme yoshi