Next: (heks-linux user-settings), Previous: (heks-linux rmpc), Up: API
Default value:
"/root/.config/rofi"
Default value:
"config.rasi"
Default value:
"WhiteSur-pink-dark"
Default value:
"/root/.local/bin"
Default value:
"heks-rofi-power-menu"
Default value:
"sss-theme.rasi"
Default value:
"/root/.local/bin"
Default value:
"heks-rofi-theme-menu"
Write the launcher config and theme, plus the power and theme-picker
scripts. Local overrides are read from
$XDG_CONFIG_HOME/heks-linux/rofi-settings.scm first. The two
generated scripts are what make rofi -show power and rofi
-show theme work.
Generate the Bash script implementing the Rofi power script mode.
Rofi calls it with ROFI_RETV=0 to list the entries and with
ROFI_RETV=1 (the chosen entry as $1) to execute its
action.
Generate the Bash script implementing the Rofi theme script mode.
Choosing an entry rewrites
~/.config/heks-linux/local-settings.scm (keeping a .bak of
the previous file) and then runs maak install-theme to re-render
every palette-dependent dotfile.
Render the Rofi config.rasi file.
The launcher is registered with four modes: drun (applications),
window (the Cmd-Tab style switcher), power (session
actions) and theme (the palette picker). The two script modes
live in ~/.local/bin next to this configuration.
Ordered list of Rofi power-menu entries, each as (label icon
command).
Return the Rofi theme as a list of CSS rulesets. Every colour is looked
up in the current palette, so the launcher follows the theme. The
result is rendered with mk-css-conf-lines.
Next: (heks-linux user-settings), Previous: (heks-linux rmpc), Up: API