mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-04 10:14:34 +02:00
i3: switch to rofi for running apps
This commit is contained in:
parent
8d8402e8b8
commit
45bb6c3194
3 changed files with 107 additions and 1 deletions
2
config
2
config
|
@ -58,7 +58,7 @@ bindsym $mod+Return exec exec $term
|
||||||
bindsym $mod+x kill
|
bindsym $mod+x kill
|
||||||
|
|
||||||
# execute command
|
# execute command
|
||||||
bindsym $mod+r exec --no-startup-id exec j4-dmenu-desktop --no-generic
|
bindsym $mod+r exec --no-startup-id exec rofi -show drun -show-icons -drun-match-fields name -sidebar-mode -modi drun#run
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
|
|
105
dotfiles/rofi.conf
Normal file
105
dotfiles/rofi.conf
Normal 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;
|
||||||
|
}
|
|
@ -33,6 +33,7 @@ systemd .config/systemd/user
|
||||||
dunstrc .config/dunst/dunstrc
|
dunstrc .config/dunst/dunstrc
|
||||||
picom.conf .config/picom.conf
|
picom.conf .config/picom.conf
|
||||||
polybar.conf .config/polybar/config
|
polybar.conf .config/polybar/config
|
||||||
|
rofi.conf .config/rofi/config.rasi
|
||||||
EOF
|
EOF
|
||||||
rm -f ~/.config/gtk-3.0/settings.ini
|
rm -f ~/.config/gtk-3.0/settings.ini
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue