Commit Graph

7 Commits

Author SHA1 Message Date
druckdev
12c7fbcfc4 rofi: Do not match all desktop file fields 2020-11-22 14:48:49 +01:00
druckdev
97ab5d64a6 rofi: Fix duplicate, whitespaces, bindings & more
Fix the duplicate config by replacing `config` with a symlink. `config`
only exists for the `conf` function in zsh.

Remove *.font since it is overriden by the Xresources setting.
TODO: Keep rofi form reading the Xresources file?

Remove *.lines setting, since it is overridden by window.height.
Convert spaces to tabs.
Add Vim like keybindings for navigation.
Set matching-type to fuzzy.
Remove unused commented lines.
2020-11-12 23:43:23 +01:00
druckdev
26e9e42610 rofi:powermenu: Use loginctl instead of systemctl
By that the script can be used together with elogind when systemd is not
fully installed as in artix.
2020-10-31 22:34:04 +01:00
druckdev
e403a03eca rofi:powermenu: Small fixes and refactoring
Remove ": " from prompts since rofi adds them already.

Change order of yes and no when conforming so that <Enter> cannot
accidentally be pressed twice.

Use tabs instead of spaces.
2020-10-26 15:08:49 +01:00
druckdev
ca7e82ae64 rofi: Add run modi, auto-select + fix whitespaces 2020-10-26 13:40:26 +01:00
druckdev
4cb445c2b5 shell-scripts: Use [[ instead of [ where possible
Replace all occurrences of [ with [[ in bash and zsh scripts and
configs.
Performance wise it makes sense to use the builtin instead of calling an
external command also when from a functionality stand point `test` would
suffice.
2020-10-03 01:29:29 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00