rofi, dunst configuration

This commit is contained in:
2020-01-26 13:06:06 +01:00
parent c81cbb3791
commit 6fe7f71b97
11 changed files with 366 additions and 333 deletions

View File

@ -1,11 +0,0 @@
# general
rofi.modi: window,drun
# matching
rofi.matching: glob
# layout
rofi.width: 35
rofi.location: 0
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi

10
.config/rofi/config.rasi Normal file
View File

@ -0,0 +1,10 @@
configuration {
show-icons: true;
icon-theme: "Sardi-Mono";
cycle: true;
hide-scrollbar: true;
disable-history: false;
modi: "drun";
display-drun: "apps";
columns: 2;
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
rofi -no-lazy-grab -show drun -theme themes/app-launcher.rasi

View File

@ -0,0 +1,19 @@
#!/bin/bash
if [[ -n $@ ]]; then
case $1 in
'Logout')
i3-msg exit;;
'Suspend')
systemctl suspend;;
'Reboot')
systemctl reboot;;
'Shutdown')
systemctl poweroff;;
esac
else
echo -en "Logout\x00icon\x1fsystem-log-out\n"
echo -en "Suspend\x00icon\x1fsystem-suspend\n"
echo -en "Reboot\x00icon\x1fsystem-reboot\n"
echo -en "Shutdown\x00icon\x1fsystem-shutdown\n"
fi

View File

@ -0,0 +1,149 @@
configuration {
/* Override config */
modi: "drun,window,system:~/.config/rofi/scripts/powermenu.sh";
scroll-method: 0;
window-format: "{c} {t}";
}
* {
transparency: "real";
background-color: transparent;
/* background-color: #2f343f; */
window-border: #676E7D;
foreground: #eeeeee;
selected-normal-background: #5294e290;
spacing: 0;
text: #dfdfdf;
text-alt: #b2b2b2;
font: "Roboto Nerd Font";
text-color: @text;
}
window {
background-color: rgba(0, 0, 0, 60%);
width: 100%;
height: 100%;
fullscreen: false;
position: center;
anchor: center;
font: "Roboto Nerd Font 13";
}
mainbox {
margin: 15% 25%;
children: [ inputbar, message, listview, wrapper-prompt ];
}
inputbar {
margin: 0 0 3em 0;
font: "Iosevka 17";
children: [ icon-search, entry, case-indicator];
}
icon-search {
expand: false;
size: 25;
filename: "edit-find-symbolic";
}
entry {
expand: true;
font: inherit;
margin: 0 1em;
}
case-indicator {
font: inherit;
}
message {
text-color: @foreground;
}
listview {
expand: true;
layout: vertical;
columns: 3;
lines: 4;
cycle: true;
spacing: 0.3em;
scrollbar: false;
}
/* Elements */
element {
orientation: vertical;
padding: 1em;
}
element-icon {
size: 64;
}
element-text {
expand: true;
horizontal-align: 0.5;
}
element selected {
background-color: @background;
border: 1px;
border-radius: 0.5em;
}
/* Element normal */
element normal.normal, element alternate.normal {
background-color: @background;
text-color: @foreground;
}
element selected.normal {
border-color: @foreground;
text-color: @foreground;
}
/* Element active */
element normal.active, element alternate.active {
text-color: @secondary;
}
element selected.active {
border-color: @secondary;
text-color: @secondary;
}
/* Element urgent */
element normal.urgent, element alternate.urgent {
text-color: @urgency;
}
element selected.urgent {
border-color: @urgency;
text-color: @urgency;
}
wrapper-prompt {
expand: false;
orientation: horizontal;
children: [ dummy, mode-switcher ];
}
dummy {
expand: true;
}
mode-switcher {
expand: false;
}
button {
width: 6em;
padding: 0.2em 0;
margin: 0 0.5em;
}
button selected {
border: 0 0 1px 0;
border-color: @primary;
}
prompt {
highlight: italic;
}

View File

@ -0,0 +1,19 @@
@theme "/themes/app-launcher"
mainbox {
margin: 40% 20%;
children: [ message, listview ];
}
listview {
columns: 5;
}
element-icon {
size: 128;
}
element-text {
margin: 0.3em 0 0 0;
font: "Roboto Nerd Font 15";
}