forked from extern/nix-config
Add rofi
Rofi is "a window switcher, application launcher, and dmenu replacement". It lets you search for and access certain information at any given time, making it very useful.
This commit is contained in:
parent
9b9a7b1768
commit
f26f5acedc
18
.config/rofi/config.rasi
Normal file
18
.config/rofi/config.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
configuration {
|
||||
modi: "window,run,drun";
|
||||
dpi: 192;
|
||||
font: "Hack 12";
|
||||
show-icons: true;
|
||||
bw: 0;
|
||||
theme: "~/.cache/wal/colors-rofi-dark.rasi";
|
||||
drun-icon-theme: "Papirus-Dark";
|
||||
terminal: "urxvtcd";
|
||||
scroll-method: 1;
|
||||
columns: 3;
|
||||
width: 70;
|
||||
display-drun: "Search";
|
||||
display-window: "Windows";
|
||||
display-calc: "Calc";
|
||||
}
|
||||
|
||||
// vim:ft=java
|
@ -160,9 +160,24 @@ super + {Left,Down,Up,Right}
|
||||
super + y
|
||||
bspc node focused -g private
|
||||
|
||||
# A very bad script that opens the application menu in
|
||||
# KDE Plasma based on mouse coordinates.
|
||||
# ====================
|
||||
# ======= Rofi =======
|
||||
# ====================
|
||||
|
||||
# Show the application launcher
|
||||
alt + z
|
||||
xdotool mousemove 28 2131 click 1
|
||||
env XDG_CURRENT_DESKTOP="KDE" QT_FONT_DPI="192" rofi -show drun
|
||||
|
||||
# Show open windows
|
||||
alt + space
|
||||
rofi -show window
|
||||
|
||||
# Show pass
|
||||
alt + slash
|
||||
rofi-pass
|
||||
|
||||
# Show calculator with natural language support
|
||||
alt + backslash
|
||||
rofi -show calc -modi calc -no-show-match -no-sort
|
||||
|
||||
# vim:ft=sxhkdrc
|
||||
|
Loading…
Reference in New Issue
Block a user