feat: add rofi config

This commit is contained in:
Fabio Lenherr / DashieTM 2023-03-02 20:55:29 +01:00
parent aee215c25a
commit c63ca7ccf6
4 changed files with 138 additions and 2 deletions

1
gtk-3.0/settings.ini Normal file
View file

@ -0,0 +1 @@
gtk-icon-theme-name = Papirus

View file

@ -118,8 +118,8 @@ bind=SUPER,M,exit,
bind=SUPER,E,exec,nautilus --new-window
bind=SUPER,V,togglefloating,
bind=SUPER,B,fullscreen,
bind=SUPER,R,exec,wofi -I -m -t alacritty -s ~/.config/wofi/style.css --show drun
bind=SUPERSHIFT,R,exec,wofi -I -m -t alacritty -s ~/.config/wofi/style.css --show run
bind=SUPER,R,exec,rofi -show drun -theme tokyonight
bind=SUPERSHIFT,R,exec,rofi -show run -theme tokyonight
bind=SUPER,C,togglesplit
bind=SUPER,G,exec,calculator --gui
bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend

19
rofi/config.rasi Normal file
View file

@ -0,0 +1,19 @@
configuration {
matching: "prefix";
show-icons: true;
icon-theme: "Papirus";
sort: true;
sorting-method: "fzf";
modes: "drun,window,calc,run,filebrowser";
steal-focus: true;
drun-match-fields: "exec,name,categories,keywords,generic";
hover-select: true;
window-thumbnail: true;
drun-use-desktop-cache: true;
application-fallback-icon: "";
display-window: "Open Applications";
display-drun: "Desktop Applications";
display-run: "Terminal Applications";
display-calc: "Calculator";
display-filebrowser: "Filebrowser";
}

116
rofi/themes/tokyonight.rasi Normal file
View file

@ -0,0 +1,116 @@
/*
* ROFI color theme
*
* Based on Something Found in the Internet
*
* User: Contributors
* Copyright: *!
*/
configuration {
font: "Noto Sans 12";
drun {
display-name: "";
}
run {
display-name: "";
}
window {
display-name: "";
}
timeout {
delay: 10;
action: "kb-cancel";
}
}
* {
bg: #1a1b26FF;
bg-alt: #232433FF;
fg-alt-dim: #ffffff22;
fg: #6a6f87;
fg-alt: #a9b1d6;
width: 100%;
height: 100%;
border: 0;
margin: 0;
padding: 30% 40% 30% 40%;
spacing: 0;
}
window {
/* transparency: "real"; */
/* width: 700px; */
background-color: @fg-alt-dim;
}
mainbox {
border-radius: 15px;
padding: 0;
children: [inputbar, listview];
background-color: @bg;
}
inputbar {
padding: 0;
background-color: @bg-alt;
children: [prompt, entry];
text-color: @fg;
}
entry {
padding: 0;
background-color: inherit;
padding: 12px 3px;
background-color: @bg;
text-color: @fg;
}
prompt {
padding: 0;
background-color: inherit;
padding: 12px;
background-color: @bg;
text-color: @fg;
}
listview {
padding: 0;
lines: 8;
background-color: @bg;
text-color: @fg;
}
element {
padding: 0;
children: [element-icon, element-text];
background-color: @bg;
}
element-icon {
padding: 0;
padding: 10px 10px;
size: 25px;
background-color: @bg;
text-color: @fg;
}
element-text {
padding: 0;
padding: 10px 0;
background-color: @bg;
text-color: @fg;
}
element-text selected {
padding: 0;
text-color: @fg-alt;
background-color: @bg-alt;
}