i3: switch to rofi for running apps

This commit is contained in:
Vincent Bernat 2021-07-17 22:13:00 +02:00
parent 8d8402e8b8
commit 45bb6c3194
3 changed files with 107 additions and 1 deletions

105
dotfiles/rofi.conf Normal file
View file

@ -0,0 +1,105 @@
/* -*- css -*- */
/* All options can be found with "rofi -dump-config" */
configuration {
dpi: 0;
}
/*
* ROFI One Dark
*
* Based on OneDark.vim (https://github.com/joshdick/onedark.vim)
*
* Author: Benjamin Stauss
* User: me-benni
*
*/
* {
black: #000000;
red: #eb6e67;
green: #95ee8f;
yellow: #f8c456;
blue: #6eaafb;
mangenta: #d886f3;
cyan: #6cdcf7;
emphasis: #50536b;
text: #dfdfdf;
text-alt: #b2b2b2;
fg: #abb2bf;
bg: #282c34;
spacing: 0;
background-color: transparent;
font: "Iosevka 12";
text-color: @text;
}
window {
transparency: "real";
background-color: #282c34ff;
}
mainbox {
padding: 1%;
}
inputbar {
margin: 0px 0px 20px 0px;
children: [prompt, textbox-prompt-colon, entry, case-indicator];
}
prompt {
text-color: @blue;
}
textbox-prompt-colon {
expand: false;
str: ":";
text-color: @text-alt;
}
entry {
margin: 0px 10px;
}
listview {
spacing: 5px;
dynamic: true;
scrollbar: false;
}
element {
padding: 5px;
text-color: @text-alt;
highlight: bold #95ee8f; /* green */
border-radius: 3px;
}
element selected {
background-color: @emphasis;
text-color: @text;
}
element urgent, element selected urgent {
text-color: @red;
}
element active, element selected active {
text-color: @purple;
}
message {
padding: 5px;
border-radius: 3px;
background-color: @emphasis;
border: 1px;
border-color: @cyan;
}
mode-switcher {
margin: 20px 0 0 0;
}
button selected {
padding: 5px;
border-radius: 5px;
background-color: @emphasis;
}

View file

@ -33,6 +33,7 @@ systemd .config/systemd/user
dunstrc .config/dunst/dunstrc
picom.conf .config/picom.conf
polybar.conf .config/polybar/config
rofi.conf .config/rofi/config.rasi
EOF
rm -f ~/.config/gtk-3.0/settings.ini