aboutsummaryrefslogtreecommitdiff
path: root/targets/rofi.sh
blob: eef77bd8eaa31856b1b3fe8f10e60cc8ae44a6b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
fileout="$HOME/.config/rofi/config.rasi"

printf "
*{
    background: $(echo $color0)e0;
    alternate-normal-background: #00000000;
    normal-background: #00000000;
    selected-normal-background: $(echo $color5)ff;
    foreground: $(echo $color14);
    selected-normal-foreground: $(echo $color0)ff;
    separatorcolor: #00000000;
    spacing: 2;
}

window {
    border: 0;
}

configuration {
    kb-row-up: \"Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab\";
    kb-row-down: \"Down,Control+j\";
    kb-accept-entry: \"Control+m,Return,KP_Enter\";
    terminal: \"wezterm\";
    kb-remove-to-eol: \"Control+Shift+e\";
    /*kb-mode-next: \"Shift+Right,Control+Tab,Control+l\";*/
    kb-mode-previous: \"Shift+Left,Control+Shift+Tab,Control+h\";
    kb-remove-char-back: \"BackSpace\";
}" > "$fileout"