rofi more minimalistic menu

This commit is contained in:
Tiago Sousa 2024-02-11 17:53:44 +00:00
parent 3637f3de35
commit 4515999f0b
7 changed files with 13 additions and 14 deletions

View file

@ -71,7 +71,7 @@ bindsym $mod+Return exec $terminal
bindsym $mod+q kill bindsym $mod+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id $HOME/.config/rofi/launchers/type-6/launcher.sh bindsym $mod+d exec --no-startup-id $HOME/.config/rofi/launchers/type-4/launcher.sh
# A more modern dmenu replacement is rofi: # A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun" # bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a # There also is i3-dmenu-desktop which only displays applications shipping a
@ -230,8 +230,7 @@ assign [class="discord"] 5
# startup programs # startup programs
exec --no-startup-id nextcloud exec --no-startup-id nextcloud
exec --no-startup-id nitrogen --restore exec --no-startup-id nitrogen --restore
exec --no-startup-id i3-msg 'workspace 2; exec $browser' exec --no-startup-id i3-msg 'workspace 2; exec $browser; workspace 1; exec $terminal'
exec --no-startup-id i3-msg 'workspace 1; exec $terminal'
exec --no-startup-id openrgb -d 0 -m off -d 1 -m off exec --no-startup-id openrgb -d 0 -m off -d 1 -m off
# sets up monitors and picom # sets up monitors and picom
exec_always --no-startup-id ~/.local/share/scripts/monitor.sh exec_always --no-startup-id ~/.local/share/scripts/monitor.sh

View file

@ -12,7 +12,7 @@
## style-11 style-12 style-13 style-14 style-15 ## style-11 style-12 style-13 style-14 style-15
dir="$HOME/.config/rofi/launchers/type-1" dir="$HOME/.config/rofi/launchers/type-1"
theme='style-1' theme='style-2'
## Run ## Run
rofi \ rofi \

View file

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-4" dir="$HOME/.config/rofi/launchers/type-4"
theme='style-1' theme='style-2'
## Run ## Run
rofi \ rofi \

View file

@ -15,4 +15,4 @@
/* Import color-scheme from `colors` directory */ /* Import color-scheme from `colors` directory */
@import "~/.config/rofi/colors/onedark.rasi" @import "~/.config/rofi/colors/catppuccin.rasi"

View file

@ -10,12 +10,12 @@
/*****----- Configuration -----*****/ /*****----- Configuration -----*****/
configuration { configuration {
modi: "drun"; modi: "drun";
show-icons: false; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]"; drun-display-format: "{name}";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
} }
@ -56,7 +56,7 @@ window {
location: center; location: center;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 600px; width: 400px;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@ -201,7 +201,7 @@ element alternate.active {
element-icon { element-icon {
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
size: 24px; size: 22px;
cursor: inherit; cursor: inherit;
} }
element-text { element-text {