From e9865398f7717dc5945f478f701941782402d692 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Nov 2015 00:33:36 +0100 Subject: Give Rofi its own configuration file --- x11/.config/Xresources/Rofi.conf | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 x11/.config/Xresources/Rofi.conf (limited to 'x11/.config/Xresources') diff --git a/x11/.config/Xresources/Rofi.conf b/x11/.config/Xresources/Rofi.conf new file mode 100644 index 0000000..6bcf2a7 --- /dev/null +++ b/x11/.config/Xresources/Rofi.conf @@ -0,0 +1,45 @@ +! Use a nice font. +rofi.font: Fantasque Sans Mono 13 + +! Use Mod4 (Super, Windows) and r to open Rofis run dialog. +rofi.key-run: Mod4-r + +! Use Mod4 (Super, Windows) and w to open Rofis windows dialog. +rofi.key-window: Mod4-w + +! Setup the theme to match my Emacs and URxvt colors. +rofi.bg: backgroundColor +rofi.bgalt: backgroundColor +rofi.bc: backgroundColor +rofi.fg: foregroundColor +rofi.fg-urgent: fgred +rofi.fg-active: fgturquoise +rofi.hlbg: bgblue +rofi.hlbg-active: bgyellow +rofi.hlfg: foregroundColor +rofi.hlfg-active: fgbright + +! Remove the border +rofi.bw: 0 + +! Make the window approximately 30 characters wide. +rofi.width: -30 + +! Put rofi in the top-right corner of the screen. +rofi.location: 3 + +! Make rofi almost completely opaque. +rofi.opacity: 95 + +! Give the rofi window 15 pixels padding, just like the Emacs and +! URxvt windows. +rofi.padding: 15 + +! Always show 41 lines with 6 pixels margin between each. This makes +! it line up (almost) exactly with the bottom of my screen, giving it +! a sidebar look. The fixed-num-lines is required for when there are +! less than 24 possible options when rofi starts. Which happens a lot +! when working with windows. +rofi.lines: 41 +rofi.line-margin: 6 +rofi.fixed-num-lines: true -- cgit v1.2.3-54-g00ecf