Add rofi config
This commit is contained in:
parent
d232f91ee0
commit
edc276b12a
9
.config/rofi/bak.config
Normal file
9
.config/rofi/bak.config
Normal file
@ -0,0 +1,9 @@
|
||||
rofi.font: SFNS Display bold 14
|
||||
rofi.columns: 6
|
||||
rofi.lines: 10
|
||||
rofi.width: 1000
|
||||
rofi.align: center
|
||||
rofi.display-drun: App
|
||||
rofi.show-icons: true
|
||||
rofi.icon-themes: papirus
|
||||
rofi.theme: /usr/share/rofi/themes/blurry_full.rasi
|
11
.config/rofi/config.rasi
Normal file
11
.config/rofi/config.rasi
Normal file
@ -0,0 +1,11 @@
|
||||
/** Configured For Applets **/
|
||||
|
||||
configuration {
|
||||
modi: "window,drun,run,ssh";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
terminal: "kitty";
|
||||
drun-match-fields: "name,generic,exec,categories";
|
||||
}
|
||||
|
||||
@import "/usr/share/rofi/themes/blurry.rasi"
|
44
.config/rofi/scripts/backlight.sh
Executable file
44
.config/rofi/scripts/backlight.sh
Executable file
@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
rofi_command="rofi -theme themes/backlight.rasi"
|
||||
|
||||
## Get Brightness
|
||||
VAR="$(xbacklight -get)"
|
||||
BLIGHT="$(printf "%.0f\n" "$VAR")"
|
||||
|
||||
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
|
||||
MSG="Low"
|
||||
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
|
||||
MSG="Optimal"
|
||||
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
|
||||
MSG="High"
|
||||
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
|
||||
MSG="Too Much"
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_OPT=""
|
||||
|
||||
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
$ICON_UP)
|
||||
xbacklight -inc 10 && notify-send -u low -t 1500 "Brightness Up $ICON_UP"
|
||||
;;
|
||||
$ICON_DOWN)
|
||||
xbacklight -dec 10 && notify-send -u low -t 1500 "Brightness Down $ICON_DOWN"
|
||||
;;
|
||||
$ICON_OPT)
|
||||
xbacklight -set 35 && notify-send -u low -t 1500 "Optimal Brightness $ICON_OPT"
|
||||
;;
|
||||
esac
|
||||
|
64
.config/rofi/scripts/battery.sh
Executable file
64
.config/rofi/scripts/battery.sh
Executable file
@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
rofi_command="rofi -theme themes/battery.rasi"
|
||||
|
||||
## Get data
|
||||
|
||||
BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)"
|
||||
CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)"
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $CHARGE = *"Charging"* ]]; then
|
||||
active="-a 1"
|
||||
ICON_CHRG="ﮣ"
|
||||
MSG=$CHARGE
|
||||
elif [[ $CHARGE = *"Discharging"* ]]; then
|
||||
urgent="-u 1"
|
||||
ICON_CHRG="ﮤ"
|
||||
MSG="Discharging"
|
||||
elif [[ $CHARGE = * ]]; then
|
||||
active="-a 1"
|
||||
ICON_CHRG="ﮣ"
|
||||
MSG="Full"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Discharging
|
||||
#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then
|
||||
# ICON_DISCHRG=""
|
||||
if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then
|
||||
ICON_DISCHRG=" "
|
||||
elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then
|
||||
ICON_DISCHRG=" "
|
||||
elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then
|
||||
ICON_DISCHRG=" "
|
||||
elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then
|
||||
ICON_DISCHRG=" "
|
||||
elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then
|
||||
ICON_DISCHRG=" "
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_PMGR=""
|
||||
|
||||
options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0 -location 3 -yoffset 35 -xoffset -10)"
|
||||
case $chosen in
|
||||
$ICON_CHRG)
|
||||
;;
|
||||
$ICON_DISCHRG)
|
||||
;;
|
||||
$ICON_PMGR)
|
||||
xfce4-power-manager-settings &
|
||||
;;
|
||||
esac
|
4
.config/rofi/scripts/runnig_apps.sh
Normal file
4
.config/rofi/scripts/runnig_apps.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rofi_command="rofi -theme themes/backlight.rasi"
|
||||
|
29
.config/rofi/scripts/screenshot.sh
Executable file
29
.config/rofi/scripts/screenshot.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
rofi_command="rofi -theme themes/screenshot.rasi"
|
||||
|
||||
# Options
|
||||
screen=""
|
||||
area=""
|
||||
window=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$screen\n$area\n$window"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1 -location 5 -yoffset -50 -xoffset -550)"
|
||||
case $chosen in
|
||||
$screen)
|
||||
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' &
|
||||
;;
|
||||
$area)
|
||||
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' &
|
||||
;;
|
||||
$window)
|
||||
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' &
|
||||
;;
|
||||
esac
|
59
.config/rofi/scripts/volume.sh
Executable file
59
.config/rofi/scripts/volume.sh
Executable file
@ -0,0 +1,59 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
rofi_command="rofi -theme themes/volume.rasi"
|
||||
|
||||
## Get Volume
|
||||
#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')
|
||||
MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%')
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"on"* ]]; then
|
||||
VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%"
|
||||
else
|
||||
VOLUME="Mu..."
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP="ﱛ"
|
||||
ICON_DOWN="ﱜ"
|
||||
ICON_MUTED="ﱝ"
|
||||
SETTINGS=""
|
||||
|
||||
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN\n$SETTINGS"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0 -location 3 -yoffset 35 -xoffset -60)"
|
||||
case $chosen in
|
||||
$ICON_UP)
|
||||
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $"
|
||||
;;
|
||||
$ICON_DOWN)
|
||||
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down"
|
||||
;;
|
||||
$ICON_MUTED)
|
||||
amixer -q set Master toggle
|
||||
;;
|
||||
$SETTINGS)
|
||||
pavucontrol &
|
||||
;;
|
||||
esac
|
||||
|
139
.config/rofi/themes/backlight.rasi
Normal file
139
.config/rofi/themes/backlight.rasi
Normal file
@ -0,0 +1,139 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
/* ########### */
|
||||
|
||||
* {
|
||||
/* General */
|
||||
text-font: "GoogleSans Nerd Font 12";
|
||||
icon-font: "GoogleSans Nerd Font 32";
|
||||
icon-font-small: "GoogleSans Nerd Font 24";
|
||||
|
||||
option-6-listview-spacing: 5px;
|
||||
|
||||
menu-window-padding: 5px 15px;
|
||||
menu-inputbar-margin: 10px 0px;
|
||||
menu-prompt-padding: 10px 20px 10px 20px;
|
||||
menu-prompt-margin: 0px 0px 0px -2px;
|
||||
menu-element-border: 10px;
|
||||
menu-element-padding: 3px 8px -1px -40px;
|
||||
}
|
||||
|
||||
/* ########### */
|
||||
|
||||
#window {
|
||||
width: 18%;
|
||||
height: 20%;
|
||||
}
|
||||
|
||||
/* ########### */
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: @icon-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
children: [ listview];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: @option-element-padding;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
/* ########### */
|
||||
|
||||
* {
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#window {
|
||||
padding: @menu-window-padding;
|
||||
children: [ inputbar, horibox];
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
children: [ textbox-prompt-colon, prompt];
|
||||
margin: @menu-inputbar-margin;
|
||||
}
|
||||
|
||||
prompt,
|
||||
textbox-prompt-colon {
|
||||
padding: @menu-prompt-padding;
|
||||
border: 2px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
#prompt {
|
||||
margin: @menu-prompt-margin;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "Brightness";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: @option-6-listview-spacing;
|
||||
lines: 3;
|
||||
}
|
||||
|
||||
#element {
|
||||
font: @icon-font;
|
||||
border: @menu-element-border;
|
||||
padding: @menu-element-padding;
|
||||
border-color: @background;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.active,
|
||||
element.selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
border-color: @on;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.urgent,
|
||||
element.selected.active {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-color: @off;
|
||||
}
|
||||
|
||||
element.selected.active {
|
||||
border-color: @accent;
|
||||
}
|
135
.config/rofi/themes/battery.rasi
Normal file
135
.config/rofi/themes/battery.rasi
Normal file
@ -0,0 +1,135 @@
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
/** Configured For Applets **/
|
||||
|
||||
|
||||
/* ########### */
|
||||
|
||||
* {
|
||||
/* General */
|
||||
text-font: "GoogleSans Nerd Font 12";
|
||||
icon-font: "GoogleSans Nerd Font 28";
|
||||
icon-font-small: "GoogleSans Nerd Font 28";
|
||||
|
||||
option-6-listview-spacing: 0px;
|
||||
|
||||
menu-window-padding: 0px 0px;
|
||||
menu-inputbar-margin: 0px 0px;
|
||||
menu-prompt-padding: 10px 55px 10px 20px;
|
||||
menu-prompt-padding-2: 10px 20px 10px 20px;
|
||||
menu-prompt-margin: 0px 0px 0px -2px;
|
||||
menu-element-border: 0px;
|
||||
menu-element-padding: 10px 15px 15px -15px;
|
||||
}
|
||||
|
||||
|
||||
#window {
|
||||
width: 12.4%;
|
||||
height: 11%;
|
||||
transparency: "real";
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: @icon-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
children: [listview];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: @option-element-padding;
|
||||
background-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
#window {
|
||||
padding: @menu-window-padding;
|
||||
children: [ inputbar, horibox];
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
children: [ textbox-prompt-colon, prompt];
|
||||
margin: @menu-inputbar-margin;
|
||||
}
|
||||
|
||||
prompt, textbox-prompt-colon {
|
||||
padding: @menu-prompt-padding;
|
||||
border: 2px;
|
||||
border-color: @background-light;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#prompt {
|
||||
margin: @menu-prompt-margin;
|
||||
padding: @menu-prompt-padding-2;
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
|
||||
}
|
||||
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "\tBattery";
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: @option-6-listview-spacing;
|
||||
lines: 3;
|
||||
}
|
||||
|
||||
#element {
|
||||
font: @icon-font;
|
||||
border: @menu-element-border;
|
||||
padding: @menu-element-padding;
|
||||
border-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.active {
|
||||
/* background-color: @on; */
|
||||
text-color: @on;
|
||||
border-color: @on;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
/* background-color: @off; */
|
||||
text-color: @foreground;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.urgent, element.selected.active {
|
||||
/* background-color: @off; */
|
||||
text-color: @foreground;
|
||||
border-color: @off;
|
||||
}
|
||||
|
||||
element.selected.active {
|
||||
/* background-color: @on; */
|
||||
text-color: @on;
|
||||
border-color: @accent;
|
||||
}
|
9
.config/rofi/themes/colors.rasi
Normal file
9
.config/rofi/themes/colors.rasi
Normal file
@ -0,0 +1,9 @@
|
||||
* {
|
||||
accent: #125891a6;
|
||||
background: #383c4a27;
|
||||
background-light: #00000000;
|
||||
foreground: #E4E4E4;
|
||||
on: #8BC34A;
|
||||
off: #eb342e;
|
||||
}
|
||||
|
149
.config/rofi/themes/drun.rasi
Normal file
149
.config/rofi/themes/drun.rasi
Normal file
@ -0,0 +1,149 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
font: "GoogleSans Nerd Font 10";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
display-drun: " ";
|
||||
drun-display-format: "{name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
|
||||
}
|
||||
|
||||
* {
|
||||
background: #19172700;
|
||||
background-color: #00000066;
|
||||
background-entry: #00000033;
|
||||
background-alt: #f2f2f215;
|
||||
foreground: #f2f2f2EE;
|
||||
foreground-selected: #ffffffFF;
|
||||
urgent: #E91E6366;
|
||||
urgent-selected: #E91E6377;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 0px;
|
||||
height: 60%;
|
||||
width: 50%;
|
||||
location: center;
|
||||
anchor: center;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 0px 0px 0px 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: "NovaMono Nerd Font 16";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @background-alt;
|
||||
text-color: rgb(105, 105, 105);
|
||||
expand: false;
|
||||
border-radius: 6px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 10px 10px 10px 10px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
|
||||
entry {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Search";
|
||||
blink: true;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
columns: 5;
|
||||
spacing: 4px;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background-color;
|
||||
children: [ inputbar, listview];
|
||||
spacing: 15px;
|
||||
padding: 30px 25px 15px 25px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 6px;
|
||||
padding: 10px 0px 10px 0px;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 65px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 5px 10px 0px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground-selected;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent-selected;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground-selected;
|
||||
}
|
126
.config/rofi/themes/screenshot.rasi
Normal file
126
.config/rofi/themes/screenshot.rasi
Normal file
@ -0,0 +1,126 @@
|
||||
@import "colors.rasi"
|
||||
|
||||
|
||||
* {
|
||||
/* General */
|
||||
text-font: "GoogleSans Nerd Font 12";
|
||||
icon-font: "GoogleSans Nerd Font 28";
|
||||
icon-font-small: "GoogleSans Nerd Font 28";
|
||||
|
||||
option-6-listview-spacing: 0px;
|
||||
|
||||
menu-window-padding: 0px 0px;
|
||||
menu-inputbar-margin: 0px 0px;
|
||||
menu-prompt-padding: 10px 250px 10px 20px;
|
||||
menu-prompt-padding-2: 10px 20px 10px 20px;
|
||||
menu-prompt-margin: 0px 0px 0px -4px;
|
||||
menu-element-border: 0px;
|
||||
menu-element-padding: 10px 15px 15px -15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#window {
|
||||
width: 11.95%;
|
||||
height: 10.6%;
|
||||
transparency: "real";
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: @icon-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
children: [ listview];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: @option-element-padding;
|
||||
background-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
#window {
|
||||
padding: @menu-window-padding;
|
||||
children: [ inputbar, horibox];
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
children: [ textbox-prompt-colon, prompt];
|
||||
margin: @menu-inputbar-margin;
|
||||
}
|
||||
|
||||
prompt, textbox-prompt-colon {
|
||||
padding: @menu-prompt-padding;
|
||||
border: 0px;
|
||||
border-color: @accent;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#prompt {
|
||||
margin: @menu-prompt-margin;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "Screenshot";
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: @option-6-listview-spacing;
|
||||
lines: 3;
|
||||
}
|
||||
|
||||
#element {
|
||||
font: @icon-font;
|
||||
border: @menu-element-border;
|
||||
padding: @menu-element-padding;
|
||||
border-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.active, element.selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @foreground;
|
||||
border-color: @on;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.urgent, element.selected.active {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-color: @off;
|
||||
}
|
||||
|
||||
element.selected.active {
|
||||
border-color: @accent;
|
||||
}
|
126
.config/rofi/themes/volume.rasi
Normal file
126
.config/rofi/themes/volume.rasi
Normal file
@ -0,0 +1,126 @@
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
text-font: "GoogleSans Nerd Font 12";
|
||||
icon-font: "GoogleSans Nerd Font 28";
|
||||
icon-font-small: "GoogleSans Nerd Font 28";
|
||||
|
||||
option-6-listview-spacing: 0px;
|
||||
|
||||
menu-window-padding: 0px 0px;
|
||||
menu-inputbar-margin: 0px 0px;
|
||||
menu-prompt-padding: 10px 50px 10px 20px;
|
||||
menu-prompt-padding-2: 10px 20px 10px 20px;
|
||||
menu-prompt-margin: 0px 0px 0px -4px;
|
||||
menu-element-border: 0px;
|
||||
menu-element-padding: 10px 15px 15px -15px;
|
||||
}
|
||||
|
||||
|
||||
#window {
|
||||
width: 305px;
|
||||
height: 10.7%;
|
||||
transparency: "real";
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: @icon-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
children: [ listview];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: @option-element-padding;
|
||||
background-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
#window {
|
||||
padding: @menu-window-padding;
|
||||
children: [ inputbar, horibox];
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
children: [ textbox-prompt-colon, prompt];
|
||||
margin: @menu-inputbar-margin;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
prompt, textbox-prompt-colon {
|
||||
padding: @menu-prompt-padding;
|
||||
border: 0px;
|
||||
border-color: @accent;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#prompt {
|
||||
margin: @menu-prompt-margin;
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: "\tVolume";
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
font: @text-font;
|
||||
}
|
||||
|
||||
#horibox {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: @option-6-listview-spacing;
|
||||
lines: 4;
|
||||
}
|
||||
|
||||
#element {
|
||||
font: @icon-font;
|
||||
border: @menu-element-border;
|
||||
padding: @menu-element-padding;
|
||||
border-color: @background-light;
|
||||
}
|
||||
|
||||
#element.selected {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.active,
|
||||
element.selected.urgent {
|
||||
/* background-color: @on; */
|
||||
text-color: rgb(15, 15, 15);
|
||||
border-color: @on;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element.urgent,
|
||||
element.selected.active {
|
||||
/* background-color: @off; */
|
||||
text-color: rgb(15, 15, 15);
|
||||
border-color: @off;
|
||||
}
|
||||
|
||||
element.selected.active {
|
||||
border-color: @accent;
|
||||
}
|
130
.config/rofi/themes/window.rasi
Normal file
130
.config/rofi/themes/window.rasi
Normal file
@ -0,0 +1,130 @@
|
||||
configuration {
|
||||
font: "NovaMono Nerd Font 14";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
drun-display-format: "{icon} {name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: true;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
height: 50%;
|
||||
width: 55%;
|
||||
location: center;
|
||||
anchor: center;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 0% 0.5% 0% 0%;
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
font: "NovaMono Nerd Font 16";
|
||||
}
|
||||
|
||||
|
||||
inputbar {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
margin: 1% 0% 0% 0%;
|
||||
padding: 10px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
|
||||
entry {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Search Applications";
|
||||
padding: 10px;
|
||||
blink: true;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
listview {
|
||||
background-color: @background-light;
|
||||
columns: 1;
|
||||
spacing: 1%;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview];
|
||||
spacing: 1%;
|
||||
padding: 1% 1% 1% 1%;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 7px;
|
||||
padding: 1% 0% 1% 0%;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 34px;
|
||||
border: 0px;
|
||||
horizontal-align: 0.05;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0.05;
|
||||
vertical-align: 0.5;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @on;
|
||||
text-color: @foreground;
|
||||
border-radius: 1%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @foreground;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @foreground;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
Loading…
Reference in New Issue
Block a user