summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-04 19:37:17 +0200
committerDavid Robillard <d@drobilla.net>2018-09-10 21:26:12 +0200
commit61a3c86ede1ef2280b054313751d0260c48378c3 (patch)
treeb2b4a17aa66aec2796512984258a8b46016900b0
parentff139ab4a95dfcbe84de3f4aedbd923941543683 (diff)
downloaddotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.tar.gz
dotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.tar.bz2
dotfiles-61a3c86ede1ef2280b054313751d0260c48378c3.zip
Add rofi config
-rwxr-xr-xdeploy.sh1
-rw-r--r--rofi/.config/rofi/config7
-rw-r--r--rofi/.config/rofi/promptbox.rasi133
-rwxr-xr-xundeploy.sh1
4 files changed, 142 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 86a0f21..e26d189 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -6,6 +6,7 @@ stow bash
stow bspwm
stow conky
stow emacs
+stow rofi
stow sxhkd
stow tmux
stow vim
diff --git a/rofi/.config/rofi/config b/rofi/.config/rofi/config
new file mode 100644
index 0000000..61f6419
--- /dev/null
+++ b/rofi/.config/rofi/config
@@ -0,0 +1,7 @@
+rofi.terminal: xfce4-terminal
+rofi.sidebar-mode: false
+rofi.theme: promptbox.rasi
+rofi.show-icons: false
+rofi.click-to-exit: true
+rofi.me-select-entry: MouseSecondary
+rofi.me-accept-entry: MousePrimary
diff --git a/rofi/.config/rofi/promptbox.rasi b/rofi/.config/rofi/promptbox.rasi
new file mode 100644
index 0000000..d1aee46
--- /dev/null
+++ b/rofi/.config/rofi/promptbox.rasi
@@ -0,0 +1,133 @@
+configuration {
+ display-drun: "Activate";
+ display-run: "Execute";
+ display-window: "Window";
+ show-icons: false;
+ sidebar-mode: false;
+}
+
+* {
+ background-color: #000000;
+ text-color: #eeeeee;
+ selbg: #859900;
+ actbg: #546e00;
+ urgbg: #8B2C02;
+ winbg: #222222;
+
+ selected-normal-foreground: @winbg;
+ normal-foreground: @text-color;
+ selected-normal-background: @actbg;
+ normal-background: @background-color;
+
+ selected-urgent-foreground: @background-color;
+ urgent-foreground: @text-color;
+ selected-urgent-background: @urgbg;
+ urgent-background: @background-color;
+
+ selected-active-foreground: @winbg;
+ active-foreground: @text-color;
+ selected-active-background: @actbg;
+ active-background: @selbg;
+
+ font: "DejaVu Sans Mono 18";
+
+ line-margin: 1;
+ line-padding: 1;
+ separator-style: "none";
+ hide-scrollbar: "false";
+ margin: 0;
+ padding: 0;
+}
+
+window {
+ location: center;
+ anchor: center;
+ height: 80%;
+ width: 40%;
+ orientation: horizontal;
+ children: [mainbox];
+ border: 2px;
+ border-color: #6f7372;
+}
+
+mainbox {
+ spacing: 0em;
+ children: [ sidebar,entry,listview ];
+}
+
+button {
+ padding: 0.5em 0.5em;
+}
+
+button selected {
+ background-color: @active-background;
+ text-color: @background-color;
+}
+
+inputbar {
+ padding: 0.5em;
+ spacing: 0.5em;
+}
+
+listview {
+ dynamic: false;
+ cycle: true;
+}
+
+element {
+ padding: 0.5em;
+}
+
+entry {
+ expand: false;
+ text-color: @normal-foreground;
+ vertical-align: 1;
+ padding: 1em;
+}
+
+element normal.normal {
+ background-color: @normal-background;
+ text-color: @normal-foreground;
+}
+
+element normal.urgent {
+ background-color: @urgent-background;
+ text-color: @urgent-foreground;
+}
+
+element normal.active {
+ background-color: @active-background;
+ text-color: @active-foreground;
+}
+
+element selected.normal {
+ background-color: @selected-normal-background;
+ text-color: @selected-normal-foreground;
+ border: 2px;
+ border-color: @active-background;
+}
+
+element selected.urgent {
+ background-color: @selected-urgent-background;
+ text-color: @selected-urgent-foreground;
+}
+
+element selected.active {
+ background-color: @selected-active-background;
+ text-color: @selected-active-foreground;
+}
+
+element alternate.normal {
+ background-color: @normal-background;
+ text-color: @normal-foreground;
+}
+
+element alternate.urgent {
+ background-color: @urgent-background;
+ text-color: @urgent-foreground;
+}
+
+element alternate.active {
+ background-color: @active-background;
+ text-color: @active-foreground;
+}
diff --git a/undeploy.sh b/undeploy.sh
index 3370b70..9bb89bd 100755
--- a/undeploy.sh
+++ b/undeploy.sh
@@ -6,6 +6,7 @@ rm ~/.bashrc
rm ~/.config/bspwm
rm ~/.conkyrc
rm ~/.emacs.d
+rm ~/.config/rofi
rm ~/.config/sxhkd
rm ~/.tmux.conf
rm ~/.vimrc