This commit is contained in:
vibikim 2021-03-23 10:06:18 +02:00
parent 0ae69871e8
commit ca13101e90
323 changed files with 22014 additions and 0 deletions

View file

@ -30,6 +30,7 @@ then
goconfig bspwm goconfig bspwm
goconfig dunst goconfig dunst
goconfig polybar goconfig polybar
goconfig rofi
goconfig sxhkd goconfig sxhkd
goconfig picom.conf goconfig picom.conf
goconfig nvim goconfig nvim

94
rofi/applets/android/apps.sh Executable file
View file

@ -0,0 +1,94 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

View file

@ -0,0 +1,73 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
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=""
notify="notify-send -u low -t 1500"
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)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

View file

@ -0,0 +1,22 @@
/*
* Change the colorscheme for every menu simply by editing this file...
*
* Available Color Schemes
* // Dark
* material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange
* material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green
* material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal
* material-dark/yellow
* // Light
* material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange
* material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green
* material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal
* material-light/yellow
*
* // Other
* adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark
* armchair, darkpink, fresh, inside, party, sirin
*
*/
@import "../styles/arc.rasi"

View file

@ -0,0 +1,24 @@
/* Confirm Dialog */
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
font: "Iosevka Nerd Font 12";
}
window {
width: 225px;
padding: 25px;
border: 0px;
border-radius: 12px;
border-color: @accent;
location: center;
y-offset: -20px;
}
entry {
expand: true;
text-color: @accent;
}

View file

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 5;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
text-color: @foreground;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @background-alt;
text-color: @foreground;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @urgent;
text-color: @foreground;
}
element selected.active {
background-color: @background-alt;
color: @foreground;
}

View file

@ -0,0 +1,24 @@
/* Confirm Dialog */
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
font: "Iosevka Nerd Font 12";
}
window {
width: 360px;
padding: 25px;
border: 0px;
border-radius: 12px;
border-color: @accent;
location: center;
y-offset: -20px;
}
entry {
expand: true;
text-color: @accent;
}

76
rofi/applets/android/mpd.sh Executable file
View file

@ -0,0 +1,76 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_random=""
if [[ $status == *"random: on"* ]]; then
[ -n "$active" ] && active+=",5" || active="-a 5"
elif [[ $status == *"random: off"* ]]; then
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
else
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f %title% current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

View file

@ -0,0 +1,94 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/five.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $dir/confirm.rasi
}
# Message
msg() {
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

View file

@ -0,0 +1,60 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

View file

@ -0,0 +1,48 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first."
}
# 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)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
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'
else
msg
fi
;;
esac

View file

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 6;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 3;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

56
rofi/applets/android/volume.sh Executable file
View file

@ -0,0 +1,56 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.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=""
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_UP)
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
;;
$ICON_DOWN)
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
;;
$ICON_MUTED)
amixer -q set Master toggle
;;
esac

95
rofi/applets/applets/apps.sh Executable file
View file

@ -0,0 +1,95 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/apps.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

View file

@ -0,0 +1,75 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/backlight.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
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=""
notify="notify-send -u low -t 1500"
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)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

65
rofi/applets/applets/battery.sh Executable file
View file

@ -0,0 +1,65 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/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 = *"Full"* ]]; then
active="-u 1"
ICON_CHRG=""
MSG=$CHARGE
else
urgent="-u 1"
ICON_CHRG=""
MSG=$CHARGE
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)"
case $chosen in
$ICON_CHRG)
;;
$ICON_DISCHRG)
;;
$ICON_PMGR)
xfce4-power-manager-settings
;;
esac

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 260px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 335px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 335px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 350px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

78
rofi/applets/applets/mpd.sh Executable file
View file

@ -0,0 +1,78 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/mpd.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_random=""
if [[ $status == *"random: on"* ]]; then
[ -n "$active" ] && active+=",5" || active="-a 5"
elif [[ $status == *"random: off"* ]]; then
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
else
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f "%title%" current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

68
rofi/applets/applets/network.sh Executable file
View file

@ -0,0 +1,68 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/network.rasi"
## Get info
IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')"
#SSID="$(iwgetid -r)"
#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')"
#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )"
STATUS="$(nmcli radio wifi)"
active=""
urgent=""
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
if [[ $STATUS == *"enable"* ]]; then
if [[ $IFACE == e* ]]; then
connected=""
else
connected=""
fi
active="-a 0"
SSID="$(iwgetid -r)"
PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)"
fi
else
urgent="-u 0"
SSID="Disconnected"
PIP="Not Available"
connected=""
fi
## Icons
bmon=""
launch_cli=""
launch=""
options="$connected\n$bmon\n$launch_cli\n$launch"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$connected)
if [[ $STATUS == *"enable"* ]]; then
nmcli radio wifi off
else
nmcli radio wifi on
fi
;;
$bmon)
termite -e bmon
;;
$launch_cli)
termite -e nmtui
;;
$launch)
nm-connection-editor
;;
esac

View file

@ -0,0 +1,98 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram)
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $HOME/.config/rofi/applets/styles/confirm.rasi
}
# Message
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

View file

@ -0,0 +1,62 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/quicklinks.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

View file

@ -0,0 +1,50 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/screenshot.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first."
}
# Options
screen=""
area=""
window=""
# Variable passed to rofi
options="$screen\n$area\n$window"
chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
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'
else
msg
fi
;;
esac

15
rofi/applets/applets/style.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# square circle rounded
style="square"
# uncomment these lines to enable random style
#styles=('square' 'circle' 'rounded')
#style="${styles[$(( $RANDOM % 3 ))]}"
# print style name
echo "$style"

24
rofi/applets/applets/time.sh Executable file
View file

@ -0,0 +1,24 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/time.rasi"
## Get time and date
TIME="$(date +"%I:%M %p")"
DN=$(date +"%A")
MN=$(date +"%B")
DAY="$(date +"%d")"
MONTH="$(date +"%m")"
YEAR="$(date +"%Y")"
options="$DAY\n$MONTH\n$YEAR"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$DN, $TIME" -dmenu -selected-row 1)"

58
rofi/applets/applets/volume.sh Executable file
View file

@ -0,0 +1,58 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/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="Mute"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_MUTED=""
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_UP)
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
;;
$ICON_DOWN)
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
;;
$ICON_MUTED)
amixer -q set Master toggle
;;
esac

95
rofi/applets/menu/apps.sh Executable file
View file

@ -0,0 +1,95 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/apps.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

75
rofi/applets/menu/backlight.sh Executable file
View file

@ -0,0 +1,75 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/backlight.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
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=""
notify="notify-send -u low -t 1500"
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)"
case $chosen in
$ICON_UP)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

65
rofi/applets/menu/battery.sh Executable file
View file

@ -0,0 +1,65 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/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 = *"Full"* ]]; then
active="-u 1"
ICON_CHRG=""
MSG=$CHARGE
else
urgent="-u 1"
ICON_CHRG=""
MSG=$CHARGE
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 "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_CHRG)
;;
$ICON_DISCHRG)
;;
$ICON_PMGR)
xfce4-power-manager-settings
;;
esac

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 4px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 14px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 30px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View file

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

78
rofi/applets/menu/mpd.sh Executable file
View file

@ -0,0 +1,78 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/mpd.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_random=""
if [[ $status == *"random: on"* ]]; then
[ -n "$active" ] && active+=",5" || active="-a 5"
elif [[ $status == *"random: off"* ]]; then
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
else
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f "%artist% - %title%" current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

68
rofi/applets/menu/network.sh Executable file
View file

@ -0,0 +1,68 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/network.rasi"
## Get info
IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')"
#SSID="$(iwgetid -r)"
#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')"
#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )"
STATUS="$(nmcli radio wifi)"
active=""
urgent=""
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
if [[ $STATUS == *"enable"* ]]; then
if [[ $IFACE == e* ]]; then
connected=""
else
connected=""
fi
active="-a 0"
SSID="$(iwgetid -r)"
PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)"
fi
else
urgent="-u 0"
SSID="Disconnected"
PIP="Not Available"
connected=""
fi
## Icons
bmon=""
launch_cli=""
launch=""
options="$connected\n$bmon\n$launch_cli\n$launch"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$SSID : $PIP" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$connected)
if [[ $STATUS == *"enable"* ]]; then
nmcli radio wifi off
else
nmcli radio wifi on
fi
;;
$bmon)
termite -e bmon
;;
$launch_cli)
termite -e nmtui
;;
$launch)
nm-connection-editor
;;
esac

98
rofi/applets/menu/powermenu.sh Executable file
View file

@ -0,0 +1,98 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram)
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $HOME/.config/rofi/applets/styles/confirm.rasi
}
# Message
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "$uptime |  $cpu | ﬙ $memory " -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

62
rofi/applets/menu/quicklinks.sh Executable file
View file

@ -0,0 +1,62 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/quicklinks.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

50
rofi/applets/menu/screenshot.sh Executable file
View file

@ -0,0 +1,50 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/screenshot.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first."
}
# Options
screen=""
area=""
window=""
# Variable passed to rofi
options="$screen\n$area\n$window"
chosen="$(echo -e "$options" | $rofi_command -p 'App : scrot' -dmenu -selected-row 1)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
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'
else
msg
fi
;;
esac

15
rofi/applets/menu/style.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# square circle rounded
style="square"
# uncomment these lines to enable random style
#styles=('square' 'circle' 'rounded')
#style="${styles[$(( $RANDOM % 3 ))]}"
# print style name
echo "$style"

24
rofi/applets/menu/time.sh Executable file
View file

@ -0,0 +1,24 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/time.rasi"
## Get time and date
TIME="$(date +"%I:%M %p")"
DN=$(date +"%A")
MN=$(date +"%B")
DAY="$(date +"%d")"
MONTH="$(date +"%m")"
YEAR="$(date +"%Y")"
options="$DAY\n$MONTH\n$YEAR"
## Main
chosen="$(echo -e "$options" | $rofi_command -p " at $TIME on $DN in $MN" -dmenu -selected-row 1)"

58
rofi/applets/menu/volume.sh Executable file
View file

@ -0,0 +1,58 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/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="Mute"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_MUTED=""
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_UP)
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
;;
$ICON_DOWN)
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
;;
$ICON_MUTED)
amixer -q set Master toggle
;;
esac

View file

@ -0,0 +1,8 @@
* {
accent: #00BCD4;
background: #263238;
background-light: #293840;
foreground: #E7E8EB;
on: #44ad4d;
off: #e34039;
}

View file

@ -0,0 +1,8 @@
* {
accent: #00ADC2;
background: #FFFFFF;
background-light: #E7E7E7;
foreground: #535353;
on: #44ad4d;
off: #e34039;
}

View file

@ -0,0 +1,8 @@
* {
accent: #2E6BB6;
background: #2D2D2D;
background-light: #353535;
foreground: #E7E8EB;
on: #44ad4d;
off: #e34039;
}

View file

@ -0,0 +1,8 @@
* {
accent: #6BA0DE;
background: #383C4A;
background-light: #404552;
foreground: #E4E4E4;
on: #44ad4d;
off: #e34039;
}

Some files were not shown because too many files have changed in this diff Show more