diff --git a/1080p/android/apps.sh b/1080p/android/apps.sh new file mode 100755 index 0000000..466c629 --- /dev/null +++ b/1080p/android/apps.sh @@ -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 + diff --git a/1080p/android/backlight.sh b/1080p/android/backlight.sh new file mode 100755 index 0000000..d37f975 --- /dev/null +++ b/1080p/android/backlight.sh @@ -0,0 +1,84 @@ +#!/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 /bin/brightnessctl ]]; then + BNESS="$(brightnessctl get)" + MAX="$(brightnessctl max)" + PERC="$((BNESS*100/MAX))" + BLIGHT=${PERC%.*} +elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -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 + diff --git a/1080p/android/colors.rasi b/1080p/android/colors.rasi new file mode 100644 index 0000000..24b1353 --- /dev/null +++ b/1080p/android/colors.rasi @@ -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, dracula + * + */ + +@import "../styles/arc.rasi" diff --git a/1080p/android/confirm.rasi b/1080p/android/confirm.rasi new file mode 100644 index 0000000..09b85d5 --- /dev/null +++ b/1080p/android/confirm.rasi @@ -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; +} diff --git a/1080p/android/five.rasi b/1080p/android/five.rasi new file mode 100644 index 0000000..d49d6d4 --- /dev/null +++ b/1080p/android/five.rasi @@ -0,0 +1,93 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + urgent: @off; +} + +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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 26px 26px 26px 26px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 10px; +} + +element normal.active, +element alternate.active { + background-color: @background; + text-color: @foreground; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 10px; + border-color: @accent; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background; + color: @foreground; +} diff --git a/1080p/android/message.rasi b/1080p/android/message.rasi new file mode 100644 index 0000000..40b1f17 --- /dev/null +++ b/1080p/android/message.rasi @@ -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; +} diff --git a/1080p/android/mpd.sh b/1080p/android/mpd.sh new file mode 100755 index 0000000..6f15be0 --- /dev/null +++ b/1080p/android/mpd.sh @@ -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 diff --git a/1080p/android/powermenu.sh b/1080p/android/powermenu.sh new file mode 100755 index 0000000..e28c731 --- /dev/null +++ b/1080p/android/powermenu.sh @@ -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 diff --git a/1080p/android/quicklinks.sh b/1080p/android/quicklinks.sh new file mode 100755 index 0000000..e2ae62f --- /dev/null +++ b/1080p/android/quicklinks.sh @@ -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 + diff --git a/1080p/android/screenshot.sh b/1080p/android/screenshot.sh new file mode 100755 index 0000000..95abe34 --- /dev/null +++ b/1080p/android/screenshot.sh @@ -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 + diff --git a/1080p/android/six.rasi b/1080p/android/six.rasi new file mode 100644 index 0000000..717d325 --- /dev/null +++ b/1080p/android/six.rasi @@ -0,0 +1,92 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 26px 26px 26px 26px; +} + +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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} \ No newline at end of file diff --git a/1080p/android/three.rasi b/1080p/android/three.rasi new file mode 100644 index 0000000..b9c5b40 --- /dev/null +++ b/1080p/android/three.rasi @@ -0,0 +1,92 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 26px 26px 26px 26px; +} + +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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/android/volume.sh b/1080p/android/volume.sh new file mode 100755 index 0000000..429db8c --- /dev/null +++ b/1080p/android/volume.sh @@ -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 + diff --git a/1080p/applets/apps.sh b/1080p/applets/apps.sh new file mode 100755 index 0000000..f8129ce --- /dev/null +++ b/1080p/applets/apps.sh @@ -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 diff --git a/1080p/applets/backlight.sh b/1080p/applets/backlight.sh new file mode 100755 index 0000000..b94cfa7 --- /dev/null +++ b/1080p/applets/backlight.sh @@ -0,0 +1,86 @@ +#!/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 /bin/brightnessctl ]]; then + BNESS="$(brightnessctl get)" + MAX="$(brightnessctl max)" + PERC="$((BNESS*100/MAX))" + BLIGHT=${PERC%.*} +elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -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 + diff --git a/1080p/applets/battery.sh b/1080p/applets/battery.sh new file mode 100755 index 0000000..8a38ab4 --- /dev/null +++ b/1080p/applets/battery.sh @@ -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 + diff --git a/1080p/applets/configs/circle/apps.rasi b/1080p/applets/configs/circle/apps.rasi new file mode 100644 index 0000000..c119346 --- /dev/null +++ b/1080p/applets/configs/circle/apps.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/backlight.rasi b/1080p/applets/configs/circle/backlight.rasi new file mode 100644 index 0000000..f040d49 --- /dev/null +++ b/1080p/applets/configs/circle/backlight.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/battery.rasi b/1080p/applets/configs/circle/battery.rasi new file mode 100644 index 0000000..3f2e1f0 --- /dev/null +++ b/1080p/applets/configs/circle/battery.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/mpd.rasi b/1080p/applets/configs/circle/mpd.rasi new file mode 100644 index 0000000..e49f391 --- /dev/null +++ b/1080p/applets/configs/circle/mpd.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/network.rasi b/1080p/applets/configs/circle/network.rasi new file mode 100644 index 0000000..4ccc4fc --- /dev/null +++ b/1080p/applets/configs/circle/network.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/powermenu.rasi b/1080p/applets/configs/circle/powermenu.rasi new file mode 100644 index 0000000..2dfc85d --- /dev/null +++ b/1080p/applets/configs/circle/powermenu.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/quicklinks.rasi b/1080p/applets/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..1eb01ec --- /dev/null +++ b/1080p/applets/configs/circle/quicklinks.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/screenshot.rasi b/1080p/applets/configs/circle/screenshot.rasi new file mode 100644 index 0000000..801f6f4 --- /dev/null +++ b/1080p/applets/configs/circle/screenshot.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/circle/time.rasi b/1080p/applets/configs/circle/time.rasi new file mode 100644 index 0000000..cc3fd05 --- /dev/null +++ b/1080p/applets/configs/circle/time.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 10px 40px 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; +} diff --git a/1080p/applets/configs/circle/volume.rasi b/1080p/applets/configs/circle/volume.rasi new file mode 100644 index 0000000..3b533e4 --- /dev/null +++ b/1080p/applets/configs/circle/volume.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/apps.rasi b/1080p/applets/configs/rounded/apps.rasi new file mode 100644 index 0000000..616a144 --- /dev/null +++ b/1080p/applets/configs/rounded/apps.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/backlight.rasi b/1080p/applets/configs/rounded/backlight.rasi new file mode 100644 index 0000000..5ce20c4 --- /dev/null +++ b/1080p/applets/configs/rounded/backlight.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/battery.rasi b/1080p/applets/configs/rounded/battery.rasi new file mode 100644 index 0000000..801e962 --- /dev/null +++ b/1080p/applets/configs/rounded/battery.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/mpd.rasi b/1080p/applets/configs/rounded/mpd.rasi new file mode 100644 index 0000000..61595af --- /dev/null +++ b/1080p/applets/configs/rounded/mpd.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/network.rasi b/1080p/applets/configs/rounded/network.rasi new file mode 100644 index 0000000..54e40d0 --- /dev/null +++ b/1080p/applets/configs/rounded/network.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/powermenu.rasi b/1080p/applets/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..51a8b13 --- /dev/null +++ b/1080p/applets/configs/rounded/powermenu.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/quicklinks.rasi b/1080p/applets/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..b44f3b2 --- /dev/null +++ b/1080p/applets/configs/rounded/quicklinks.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/screenshot.rasi b/1080p/applets/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..4c1071e --- /dev/null +++ b/1080p/applets/configs/rounded/screenshot.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/rounded/time.rasi b/1080p/applets/configs/rounded/time.rasi new file mode 100644 index 0000000..bee4545 --- /dev/null +++ b/1080p/applets/configs/rounded/time.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 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; +} diff --git a/1080p/applets/configs/rounded/volume.rasi b/1080p/applets/configs/rounded/volume.rasi new file mode 100644 index 0000000..43f753d --- /dev/null +++ b/1080p/applets/configs/rounded/volume.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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; +} diff --git a/1080p/applets/configs/square/apps.rasi b/1080p/applets/configs/square/apps.rasi new file mode 100644 index 0000000..5244bcb --- /dev/null +++ b/1080p/applets/configs/square/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/backlight.rasi b/1080p/applets/configs/square/backlight.rasi new file mode 100644 index 0000000..a200b2a --- /dev/null +++ b/1080p/applets/configs/square/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/battery.rasi b/1080p/applets/configs/square/battery.rasi new file mode 100644 index 0000000..9868390 --- /dev/null +++ b/1080p/applets/configs/square/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/mpd.rasi b/1080p/applets/configs/square/mpd.rasi new file mode 100644 index 0000000..fa110e6 --- /dev/null +++ b/1080p/applets/configs/square/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/network.rasi b/1080p/applets/configs/square/network.rasi new file mode 100644 index 0000000..5a48395 --- /dev/null +++ b/1080p/applets/configs/square/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 3px 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/powermenu.rasi b/1080p/applets/configs/square/powermenu.rasi new file mode 100644 index 0000000..526c8ed --- /dev/null +++ b/1080p/applets/configs/square/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/quicklinks.rasi b/1080p/applets/configs/square/quicklinks.rasi new file mode 100644 index 0000000..5fb2091 --- /dev/null +++ b/1080p/applets/configs/square/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/screenshot.rasi b/1080p/applets/configs/square/screenshot.rasi new file mode 100644 index 0000000..d49e20b --- /dev/null +++ b/1080p/applets/configs/square/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/time.rasi b/1080p/applets/configs/square/time.rasi new file mode 100644 index 0000000..d20d100 --- /dev/null +++ b/1080p/applets/configs/square/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 3px 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/configs/square/volume.rasi b/1080p/applets/configs/square/volume.rasi new file mode 100644 index 0000000..9ca0b12 --- /dev/null +++ b/1080p/applets/configs/square/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 12"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 20"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 19px 10px 19px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/applets/mpd.sh b/1080p/applets/mpd.sh new file mode 100755 index 0000000..d1f3d2b --- /dev/null +++ b/1080p/applets/mpd.sh @@ -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 diff --git a/1080p/applets/network.sh b/1080p/applets/network.sh new file mode 100755 index 0000000..260eddb --- /dev/null +++ b/1080p/applets/network.sh @@ -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 + diff --git a/1080p/applets/powermenu.sh b/1080p/applets/powermenu.sh new file mode 100755 index 0000000..500cbce --- /dev/null +++ b/1080p/applets/powermenu.sh @@ -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=$($HOME/.config/rofi/bin/usedcpu) +memory=$($HOME/.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 diff --git a/1080p/applets/quicklinks.sh b/1080p/applets/quicklinks.sh new file mode 100755 index 0000000..e736b71 --- /dev/null +++ b/1080p/applets/quicklinks.sh @@ -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 + diff --git a/1080p/applets/screenshot.sh b/1080p/applets/screenshot.sh new file mode 100755 index 0000000..f614599 --- /dev/null +++ b/1080p/applets/screenshot.sh @@ -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 + diff --git a/1080p/applets/style.sh b/1080p/applets/style.sh new file mode 100755 index 0000000..68b9668 --- /dev/null +++ b/1080p/applets/style.sh @@ -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" diff --git a/1080p/applets/time.sh b/1080p/applets/time.sh new file mode 100755 index 0000000..b8e7e8c --- /dev/null +++ b/1080p/applets/time.sh @@ -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)" diff --git a/1080p/applets/volume.sh b/1080p/applets/volume.sh new file mode 100755 index 0000000..7be3242 --- /dev/null +++ b/1080p/applets/volume.sh @@ -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 + diff --git a/1080p/menu/apps.sh b/1080p/menu/apps.sh new file mode 100755 index 0000000..b5dd989 --- /dev/null +++ b/1080p/menu/apps.sh @@ -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 diff --git a/1080p/menu/backlight.sh b/1080p/menu/backlight.sh new file mode 100755 index 0000000..15333eb --- /dev/null +++ b/1080p/menu/backlight.sh @@ -0,0 +1,86 @@ +#!/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 /bin/brightnessctl ]]; then + BNESS="$(brightnessctl get)" + MAX="$(brightnessctl max)" + PERC="$((BNESS*100/MAX))" + BLIGHT=${PERC%.*} +elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" + elif [[ -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 /bin/brightnessctl ]]; then + brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" + elif [[ -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 + diff --git a/1080p/menu/battery.sh b/1080p/menu/battery.sh new file mode 100755 index 0000000..c279794 --- /dev/null +++ b/1080p/menu/battery.sh @@ -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 + diff --git a/1080p/menu/configs/circle/apps.rasi b/1080p/menu/configs/circle/apps.rasi new file mode 100644 index 0000000..ccbc096 --- /dev/null +++ b/1080p/menu/configs/circle/apps.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/backlight.rasi b/1080p/menu/configs/circle/backlight.rasi new file mode 100644 index 0000000..53d7d29 --- /dev/null +++ b/1080p/menu/configs/circle/backlight.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/battery.rasi b/1080p/menu/configs/circle/battery.rasi new file mode 100644 index 0000000..2b50581 --- /dev/null +++ b/1080p/menu/configs/circle/battery.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/mpd.rasi b/1080p/menu/configs/circle/mpd.rasi new file mode 100644 index 0000000..15ece0b --- /dev/null +++ b/1080p/menu/configs/circle/mpd.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/network.rasi b/1080p/menu/configs/circle/network.rasi new file mode 100644 index 0000000..4c31aa2 --- /dev/null +++ b/1080p/menu/configs/circle/network.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/powermenu.rasi b/1080p/menu/configs/circle/powermenu.rasi new file mode 100644 index 0000000..850d6b6 --- /dev/null +++ b/1080p/menu/configs/circle/powermenu.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/quicklinks.rasi b/1080p/menu/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..14e1415 --- /dev/null +++ b/1080p/menu/configs/circle/quicklinks.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/screenshot.rasi b/1080p/menu/configs/circle/screenshot.rasi new file mode 100644 index 0000000..ff7b493 --- /dev/null +++ b/1080p/menu/configs/circle/screenshot.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/time.rasi b/1080p/menu/configs/circle/time.rasi new file mode 100644 index 0000000..23e4810 --- /dev/null +++ b/1080p/menu/configs/circle/time.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 0px 60px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/circle/volume.rasi b/1080p/menu/configs/circle/volume.rasi new file mode 100644 index 0000000..e5f1fd1 --- /dev/null +++ b/1080p/menu/configs/circle/volume.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/apps.rasi b/1080p/menu/configs/rounded/apps.rasi new file mode 100644 index 0000000..bf7edcb --- /dev/null +++ b/1080p/menu/configs/rounded/apps.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/backlight.rasi b/1080p/menu/configs/rounded/backlight.rasi new file mode 100644 index 0000000..b487817 --- /dev/null +++ b/1080p/menu/configs/rounded/backlight.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/battery.rasi b/1080p/menu/configs/rounded/battery.rasi new file mode 100644 index 0000000..f81443c --- /dev/null +++ b/1080p/menu/configs/rounded/battery.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/mpd.rasi b/1080p/menu/configs/rounded/mpd.rasi new file mode 100644 index 0000000..5cc1286 --- /dev/null +++ b/1080p/menu/configs/rounded/mpd.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/network.rasi b/1080p/menu/configs/rounded/network.rasi new file mode 100644 index 0000000..1cba0a6 --- /dev/null +++ b/1080p/menu/configs/rounded/network.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/powermenu.rasi b/1080p/menu/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..9cd4ba3 --- /dev/null +++ b/1080p/menu/configs/rounded/powermenu.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/quicklinks.rasi b/1080p/menu/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..912f02b --- /dev/null +++ b/1080p/menu/configs/rounded/quicklinks.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/screenshot.rasi b/1080p/menu/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..9b592a6 --- /dev/null +++ b/1080p/menu/configs/rounded/screenshot.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/time.rasi b/1080p/menu/configs/rounded/time.rasi new file mode 100644 index 0000000..ada11a4 --- /dev/null +++ b/1080p/menu/configs/rounded/time.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/rounded/volume.rasi b/1080p/menu/configs/rounded/volume.rasi new file mode 100644 index 0000000..cf4dc31 --- /dev/null +++ b/1080p/menu/configs/rounded/volume.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/apps.rasi b/1080p/menu/configs/square/apps.rasi new file mode 100644 index 0000000..c0c905b --- /dev/null +++ b/1080p/menu/configs/square/apps.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/backlight.rasi b/1080p/menu/configs/square/backlight.rasi new file mode 100644 index 0000000..5910ac7 --- /dev/null +++ b/1080p/menu/configs/square/backlight.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/battery.rasi b/1080p/menu/configs/square/battery.rasi new file mode 100644 index 0000000..d6d21b4 --- /dev/null +++ b/1080p/menu/configs/square/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "Iosevka Nerd Font 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/mpd.rasi b/1080p/menu/configs/square/mpd.rasi new file mode 100644 index 0000000..d76c9b4 --- /dev/null +++ b/1080p/menu/configs/square/mpd.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 3px 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/network.rasi b/1080p/menu/configs/square/network.rasi new file mode 100644 index 0000000..403f535 --- /dev/null +++ b/1080p/menu/configs/square/network.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 4px 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/powermenu.rasi b/1080p/menu/configs/square/powermenu.rasi new file mode 100644 index 0000000..2a8f197 --- /dev/null +++ b/1080p/menu/configs/square/powermenu.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 4px 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/quicklinks.rasi b/1080p/menu/configs/square/quicklinks.rasi new file mode 100644 index 0000000..74d34b3 --- /dev/null +++ b/1080p/menu/configs/square/quicklinks.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/screenshot.rasi b/1080p/menu/configs/square/screenshot.rasi new file mode 100644 index 0000000..354c24f --- /dev/null +++ b/1080p/menu/configs/square/screenshot.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/time.rasi b/1080p/menu/configs/square/time.rasi new file mode 100644 index 0000000..4ffa47f --- /dev/null +++ b/1080p/menu/configs/square/time.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 4px 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 { + background-color: inherit; + text-color: inherit; + font: "Hurmit Nerd Font Mono 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/configs/square/volume.rasi b/1080p/menu/configs/square/volume.rasi new file mode 100644 index 0000000..f740b0f --- /dev/null +++ b/1080p/menu/configs/square/volume.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + show-icons: false; + font: "Comfortaa 14"; + disable-history: false; + 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 { + background-color: inherit; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 40px 0px 40px 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: @accent; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/1080p/menu/mpd.sh b/1080p/menu/mpd.sh new file mode 100755 index 0000000..3eb5498 --- /dev/null +++ b/1080p/menu/mpd.sh @@ -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 diff --git a/1080p/menu/network.sh b/1080p/menu/network.sh new file mode 100755 index 0000000..6e50332 --- /dev/null +++ b/1080p/menu/network.sh @@ -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 + diff --git a/1080p/menu/powermenu.sh b/1080p/menu/powermenu.sh new file mode 100755 index 0000000..7316af7 --- /dev/null +++ b/1080p/menu/powermenu.sh @@ -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=$($HOME/.config/rofi/bin/usedcpu) +memory=$($HOME/.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 diff --git a/1080p/menu/quicklinks.sh b/1080p/menu/quicklinks.sh new file mode 100755 index 0000000..c2f0495 --- /dev/null +++ b/1080p/menu/quicklinks.sh @@ -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 + diff --git a/1080p/menu/screenshot.sh b/1080p/menu/screenshot.sh new file mode 100755 index 0000000..24c5e1b --- /dev/null +++ b/1080p/menu/screenshot.sh @@ -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 + diff --git a/1080p/menu/style.sh b/1080p/menu/style.sh new file mode 100755 index 0000000..68b9668 --- /dev/null +++ b/1080p/menu/style.sh @@ -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" diff --git a/1080p/menu/time.sh b/1080p/menu/time.sh new file mode 100755 index 0000000..4432676 --- /dev/null +++ b/1080p/menu/time.sh @@ -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)" diff --git a/1080p/menu/volume.sh b/1080p/menu/volume.sh new file mode 100755 index 0000000..7e4a0d8 --- /dev/null +++ b/1080p/menu/volume.sh @@ -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 + diff --git a/1080p/styles/adapta-nokto.rasi b/1080p/styles/adapta-nokto.rasi new file mode 100644 index 0000000..3c4ef95 --- /dev/null +++ b/1080p/styles/adapta-nokto.rasi @@ -0,0 +1,8 @@ +* { + accent: #00BCD4; + background: #263238; + background-light: #293840; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/1080p/styles/adapta.rasi b/1080p/styles/adapta.rasi new file mode 100644 index 0000000..c1c9999 --- /dev/null +++ b/1080p/styles/adapta.rasi @@ -0,0 +1,8 @@ +* { + accent: #00ADC2; + background: #FFFFFF; + background-light: #E7E7E7; + foreground: #535353; + on: #44ad4d; + off: #e34039; +} diff --git a/1080p/styles/adwaita.rasi b/1080p/styles/adwaita.rasi new file mode 100644 index 0000000..81cd482 --- /dev/null +++ b/1080p/styles/adwaita.rasi @@ -0,0 +1,8 @@ +* { + accent: #2E6BB6; + background: #2D2D2D; + background-light: #353535; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/1080p/styles/arc-dark.rasi b/1080p/styles/arc-dark.rasi new file mode 100644 index 0000000..41f775f --- /dev/null +++ b/1080p/styles/arc-dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #6BA0DE; + background: #383C4A; + background-light: #404552; + foreground: #E4E4E4; + on: #44ad4d; + off: #e34039; +} diff --git a/1080p/styles/arc.rasi b/1080p/styles/arc.rasi new file mode 100644 index 0000000..a5c211b --- /dev/null +++ b/1080p/styles/arc.rasi @@ -0,0 +1,8 @@ +* { + accent: #5294E2; + background: #FFFFFF; + background-light: #E7E8EB; + foreground: #333333; + on: #44ad4d; + off: #e34039; +} diff --git a/1080p/styles/armchair.rasi b/1080p/styles/armchair.rasi new file mode 100644 index 0000000..93a9e2f --- /dev/null +++ b/1080p/styles/armchair.rasi @@ -0,0 +1,8 @@ +* { + accent: #E85A50; + background: #EAE8DC; + background-light: #E4D9C8; + foreground: #8E8D89; + on: #66bb6a; + off: #F68887; +} diff --git a/1080p/styles/colors.rasi b/1080p/styles/colors.rasi new file mode 100644 index 0000000..dc826fc --- /dev/null +++ b/1080p/styles/colors.rasi @@ -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, dracula + * + */ + +@import "dark.rasi" diff --git a/1080p/styles/confirm.rasi b/1080p/styles/confirm.rasi new file mode 100644 index 0000000..79a4be2 --- /dev/null +++ b/1080p/styles/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 225px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/1080p/styles/dark.rasi b/1080p/styles/dark.rasi new file mode 100644 index 0000000..162207b --- /dev/null +++ b/1080p/styles/dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #A9C03F; + background: #141c21; + background-light: #1C252A; + foreground: #93a1a1; + on: #5BB462; + off: #DE635E; +} diff --git a/1080p/styles/darkpink.rasi b/1080p/styles/darkpink.rasi new file mode 100644 index 0000000..3bae851 --- /dev/null +++ b/1080p/styles/darkpink.rasi @@ -0,0 +1,8 @@ +* { + accent: #F75176; + background: #414656; + background-light: #4B5060; + foreground: #F2F7E3; + on: #CDF0D9; + off: #FF796A; +} diff --git a/1080p/styles/dracula.rasi b/1080p/styles/dracula.rasi new file mode 100644 index 0000000..20d9bae --- /dev/null +++ b/1080p/styles/dracula.rasi @@ -0,0 +1,8 @@ +* { + accent: #bd93f9; + background: #282a36; + background-light: #6272a4; + foreground: #f8f8f2; + on: #ff5555; + off: #55ff55; +} \ No newline at end of file diff --git a/1080p/styles/fresh.rasi b/1080p/styles/fresh.rasi new file mode 100644 index 0000000..a19ceb1 --- /dev/null +++ b/1080p/styles/fresh.rasi @@ -0,0 +1,8 @@ +* { + accent: #043968; + background: #5CDB94; + background-light: #59C78A; + foreground: #303030; + on: #2e7d32; + off: #d32f2f; +} diff --git a/1080p/styles/gruvbox.rasi b/1080p/styles/gruvbox.rasi new file mode 100644 index 0000000..9f686f0 --- /dev/null +++ b/1080p/styles/gruvbox.rasi @@ -0,0 +1,8 @@ +* { + accent: #83a598; + background: #282828; + background-light: #303030; + foreground: #ebdbb2; + on: #44ad4d; + off: #fb4934; +} diff --git a/1080p/styles/inside.rasi b/1080p/styles/inside.rasi new file mode 100644 index 0000000..8436894 --- /dev/null +++ b/1080p/styles/inside.rasi @@ -0,0 +1,8 @@ +* { + accent: #C7493A; + background: #151515; + background-light: #202020; + foreground: #AD8174; + on: #689775; + off: #A33327; +} diff --git a/1080p/styles/material-dark/amber.rasi b/1080p/styles/material-dark/amber.rasi new file mode 100644 index 0000000..14cbfcd --- /dev/null +++ b/1080p/styles/material-dark/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffc107; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/blue.rasi b/1080p/styles/material-dark/blue.rasi new file mode 100644 index 0000000..821e449 --- /dev/null +++ b/1080p/styles/material-dark/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1e88e5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/blue_grey.rasi b/1080p/styles/material-dark/blue_grey.rasi new file mode 100644 index 0000000..d810c0d --- /dev/null +++ b/1080p/styles/material-dark/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/brown.rasi b/1080p/styles/material-dark/brown.rasi new file mode 100644 index 0000000..edf7633 --- /dev/null +++ b/1080p/styles/material-dark/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #8d6e63; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/cyan.rasi b/1080p/styles/material-dark/cyan.rasi new file mode 100644 index 0000000..8de289c --- /dev/null +++ b/1080p/styles/material-dark/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #26c6da; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/deep_orange.rasi b/1080p/styles/material-dark/deep_orange.rasi new file mode 100644 index 0000000..6c061b3 --- /dev/null +++ b/1080p/styles/material-dark/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff5722; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/deep_purple.rasi b/1080p/styles/material-dark/deep_purple.rasi new file mode 100644 index 0000000..d30571e --- /dev/null +++ b/1080p/styles/material-dark/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #7e57c2; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/green.rasi b/1080p/styles/material-dark/green.rasi new file mode 100644 index 0000000..674280b --- /dev/null +++ b/1080p/styles/material-dark/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #4caf50; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #a5d6a7; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/grey.rasi b/1080p/styles/material-dark/grey.rasi new file mode 100644 index 0000000..6c5e57c --- /dev/null +++ b/1080p/styles/material-dark/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #9e9e9e; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/indigo.rasi b/1080p/styles/material-dark/indigo.rasi new file mode 100644 index 0000000..8f89719 --- /dev/null +++ b/1080p/styles/material-dark/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #5c6bc0; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/light_blue.rasi b/1080p/styles/material-dark/light_blue.rasi new file mode 100644 index 0000000..d3f4e1b --- /dev/null +++ b/1080p/styles/material-dark/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/light_green.rasi b/1080p/styles/material-dark/light_green.rasi new file mode 100644 index 0000000..5afdf7a --- /dev/null +++ b/1080p/styles/material-dark/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #8bc34a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #4caf50; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/lime.rasi b/1080p/styles/material-dark/lime.rasi new file mode 100644 index 0000000..c32550e --- /dev/null +++ b/1080p/styles/material-dark/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #cddc39; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/orange.rasi b/1080p/styles/material-dark/orange.rasi new file mode 100644 index 0000000..2f26952 --- /dev/null +++ b/1080p/styles/material-dark/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff9800; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/pink.rasi b/1080p/styles/material-dark/pink.rasi new file mode 100644 index 0000000..ef7a0af --- /dev/null +++ b/1080p/styles/material-dark/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #ec407a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/purple.rasi b/1080p/styles/material-dark/purple.rasi new file mode 100644 index 0000000..a1dd6d4 --- /dev/null +++ b/1080p/styles/material-dark/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #ab47bc; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/red.rasi b/1080p/styles/material-dark/red.rasi new file mode 100644 index 0000000..f5d3862 --- /dev/null +++ b/1080p/styles/material-dark/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef5350; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef9a9a; +} diff --git a/1080p/styles/material-dark/teal.rasi b/1080p/styles/material-dark/teal.rasi new file mode 100644 index 0000000..e6cdb73 --- /dev/null +++ b/1080p/styles/material-dark/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #009688; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-dark/yellow.rasi b/1080p/styles/material-dark/yellow.rasi new file mode 100644 index 0000000..d2788b0 --- /dev/null +++ b/1080p/styles/material-dark/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffeb3b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/amber.rasi b/1080p/styles/material-light/amber.rasi new file mode 100644 index 0000000..c02ae2a --- /dev/null +++ b/1080p/styles/material-light/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff8f00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/blue.rasi b/1080p/styles/material-light/blue.rasi new file mode 100644 index 0000000..780663e --- /dev/null +++ b/1080p/styles/material-light/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1565c0; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/blue_grey.rasi b/1080p/styles/material-light/blue_grey.rasi new file mode 100644 index 0000000..8e15a53 --- /dev/null +++ b/1080p/styles/material-light/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/brown.rasi b/1080p/styles/material-light/brown.rasi new file mode 100644 index 0000000..3f7d39f --- /dev/null +++ b/1080p/styles/material-light/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #795548; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/cyan.rasi b/1080p/styles/material-light/cyan.rasi new file mode 100644 index 0000000..d879af0 --- /dev/null +++ b/1080p/styles/material-light/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #00acc1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/deep_orange.rasi b/1080p/styles/material-light/deep_orange.rasi new file mode 100644 index 0000000..23f5815 --- /dev/null +++ b/1080p/styles/material-light/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #f4511e; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/deep_purple.rasi b/1080p/styles/material-light/deep_purple.rasi new file mode 100644 index 0000000..cc5ec7d --- /dev/null +++ b/1080p/styles/material-light/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #5e35b1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/green.rasi b/1080p/styles/material-light/green.rasi new file mode 100644 index 0000000..f476e01 --- /dev/null +++ b/1080p/styles/material-light/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #43a047; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/grey.rasi b/1080p/styles/material-light/grey.rasi new file mode 100644 index 0000000..6936929 --- /dev/null +++ b/1080p/styles/material-light/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #555555; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/indigo.rasi b/1080p/styles/material-light/indigo.rasi new file mode 100644 index 0000000..f0508c3 --- /dev/null +++ b/1080p/styles/material-light/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #3949ab; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/light_blue.rasi b/1080p/styles/material-light/light_blue.rasi new file mode 100644 index 0000000..a0db87a --- /dev/null +++ b/1080p/styles/material-light/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/light_green.rasi b/1080p/styles/material-light/light_green.rasi new file mode 100644 index 0000000..0e33cef --- /dev/null +++ b/1080p/styles/material-light/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #558b2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/lime.rasi b/1080p/styles/material-light/lime.rasi new file mode 100644 index 0000000..044eb62 --- /dev/null +++ b/1080p/styles/material-light/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #afb42b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/orange.rasi b/1080p/styles/material-light/orange.rasi new file mode 100644 index 0000000..072c9e2 --- /dev/null +++ b/1080p/styles/material-light/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef6c00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/pink.rasi b/1080p/styles/material-light/pink.rasi new file mode 100644 index 0000000..e17d94d --- /dev/null +++ b/1080p/styles/material-light/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #d81b60; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/purple.rasi b/1080p/styles/material-light/purple.rasi new file mode 100644 index 0000000..fa95bb9 --- /dev/null +++ b/1080p/styles/material-light/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #8e24aa; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/red.rasi b/1080p/styles/material-light/red.rasi new file mode 100644 index 0000000..d3ebcc0 --- /dev/null +++ b/1080p/styles/material-light/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #d32f2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/teal.rasi b/1080p/styles/material-light/teal.rasi new file mode 100644 index 0000000..b137892 --- /dev/null +++ b/1080p/styles/material-light/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #00796b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/material-light/yellow.rasi b/1080p/styles/material-light/yellow.rasi new file mode 100644 index 0000000..8f68244 --- /dev/null +++ b/1080p/styles/material-light/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #f9a825; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/1080p/styles/message.rasi b/1080p/styles/message.rasi new file mode 100644 index 0000000..7d72a9b --- /dev/null +++ b/1080p/styles/message.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 360px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/1080p/styles/minimo.rasi b/1080p/styles/minimo.rasi new file mode 100644 index 0000000..b6fa284 --- /dev/null +++ b/1080p/styles/minimo.rasi @@ -0,0 +1,8 @@ +* { + accent: #656565; + background: #C6C6C4; + background-light: #FFFFFF; + foreground: #909090; + on: #226827; + off: #682226; +} diff --git a/1080p/styles/party.rasi b/1080p/styles/party.rasi new file mode 100644 index 0000000..d8ea9af --- /dev/null +++ b/1080p/styles/party.rasi @@ -0,0 +1,8 @@ +* { + accent: #FFE401; + background: #272727; + background-light: #323232; + foreground: #747474; + on: #13A76B; + off: #FF652F; +} diff --git a/1080p/styles/sirin.rasi b/1080p/styles/sirin.rasi new file mode 100644 index 0000000..302cbce --- /dev/null +++ b/1080p/styles/sirin.rasi @@ -0,0 +1,8 @@ +* { + accent: #106466; + background: #FFCB9B; + background-light: #D8B08C; + foreground: #2C3532; + on: #43a047; + off: #ef5350; +} diff --git a/720p/applets/applets/configs/square/apps.rasi b/720p/applets/applets/configs/square/apps.rasi index ca4aaf9..069f194 100644 --- a/720p/applets/applets/configs/square/apps.rasi +++ b/720p/applets/applets/configs/square/apps.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/backlight.rasi b/720p/applets/applets/configs/square/backlight.rasi index 546cda9..75a1b31 100644 --- a/720p/applets/applets/configs/square/backlight.rasi +++ b/720p/applets/applets/configs/square/backlight.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/battery.rasi b/720p/applets/applets/configs/square/battery.rasi index 0b3017c..fca2e71 100644 --- a/720p/applets/applets/configs/square/battery.rasi +++ b/720p/applets/applets/configs/square/battery.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/mpd.rasi b/720p/applets/applets/configs/square/mpd.rasi index 66658d7..042fa36 100644 --- a/720p/applets/applets/configs/square/mpd.rasi +++ b/720p/applets/applets/configs/square/mpd.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/network.rasi b/720p/applets/applets/configs/square/network.rasi index d30db77..9bf7d51 100644 --- a/720p/applets/applets/configs/square/network.rasi +++ b/720p/applets/applets/configs/square/network.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/powermenu.rasi b/720p/applets/applets/configs/square/powermenu.rasi index ed1a48f..003e7a5 100644 --- a/720p/applets/applets/configs/square/powermenu.rasi +++ b/720p/applets/applets/configs/square/powermenu.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/quicklinks.rasi b/720p/applets/applets/configs/square/quicklinks.rasi index 0817a17..634b15c 100644 --- a/720p/applets/applets/configs/square/quicklinks.rasi +++ b/720p/applets/applets/configs/square/quicklinks.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/screenshot.rasi b/720p/applets/applets/configs/square/screenshot.rasi index 85d5b4c..d5c3848 100644 --- a/720p/applets/applets/configs/square/screenshot.rasi +++ b/720p/applets/applets/configs/square/screenshot.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/time.rasi b/720p/applets/applets/configs/square/time.rasi index b3d54ba..26b8f54 100644 --- a/720p/applets/applets/configs/square/time.rasi +++ b/720p/applets/applets/configs/square/time.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/applets/configs/square/volume.rasi b/720p/applets/applets/configs/square/volume.rasi index 74eaaf6..b5fbc99 100644 --- a/720p/applets/applets/configs/square/volume.rasi +++ b/720p/applets/applets/configs/square/volume.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/apps.rasi b/720p/applets/menu/configs/circle/apps.rasi index ba22543..f683a3e 100644 --- a/720p/applets/menu/configs/circle/apps.rasi +++ b/720p/applets/menu/configs/circle/apps.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/backlight.rasi b/720p/applets/menu/configs/circle/backlight.rasi index 8387b32..43b674d 100644 --- a/720p/applets/menu/configs/circle/backlight.rasi +++ b/720p/applets/menu/configs/circle/backlight.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/battery.rasi b/720p/applets/menu/configs/circle/battery.rasi index 8b4a0c2..bfa4e65 100644 --- a/720p/applets/menu/configs/circle/battery.rasi +++ b/720p/applets/menu/configs/circle/battery.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/mpd.rasi b/720p/applets/menu/configs/circle/mpd.rasi index b1c6716..1f8db5d 100644 --- a/720p/applets/menu/configs/circle/mpd.rasi +++ b/720p/applets/menu/configs/circle/mpd.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/network.rasi b/720p/applets/menu/configs/circle/network.rasi index 49263b6..bc525c8 100644 --- a/720p/applets/menu/configs/circle/network.rasi +++ b/720p/applets/menu/configs/circle/network.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/powermenu.rasi b/720p/applets/menu/configs/circle/powermenu.rasi index 029f613..fc92bbc 100644 --- a/720p/applets/menu/configs/circle/powermenu.rasi +++ b/720p/applets/menu/configs/circle/powermenu.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/quicklinks.rasi b/720p/applets/menu/configs/circle/quicklinks.rasi index 64a58ba..253fa8f 100644 --- a/720p/applets/menu/configs/circle/quicklinks.rasi +++ b/720p/applets/menu/configs/circle/quicklinks.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/screenshot.rasi b/720p/applets/menu/configs/circle/screenshot.rasi index 790e927..6da17d9 100644 --- a/720p/applets/menu/configs/circle/screenshot.rasi +++ b/720p/applets/menu/configs/circle/screenshot.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/time.rasi b/720p/applets/menu/configs/circle/time.rasi index 5815b7c..339bd4a 100644 --- a/720p/applets/menu/configs/circle/time.rasi +++ b/720p/applets/menu/configs/circle/time.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/circle/volume.rasi b/720p/applets/menu/configs/circle/volume.rasi index 59c9d46..555d0eb 100644 --- a/720p/applets/menu/configs/circle/volume.rasi +++ b/720p/applets/menu/configs/circle/volume.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 100%; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/apps.rasi b/720p/applets/menu/configs/rounded/apps.rasi index e8435de..9325747 100644 --- a/720p/applets/menu/configs/rounded/apps.rasi +++ b/720p/applets/menu/configs/rounded/apps.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/backlight.rasi b/720p/applets/menu/configs/rounded/backlight.rasi index ef6549f..1df5a69 100644 --- a/720p/applets/menu/configs/rounded/backlight.rasi +++ b/720p/applets/menu/configs/rounded/backlight.rasi @@ -111,9 +111,9 @@ element alternate.active { element selected { background-color: @accent; text-color: @background; - border: 0px; + border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/battery.rasi b/720p/applets/menu/configs/rounded/battery.rasi index 85cb2db..ecd2e35 100644 --- a/720p/applets/menu/configs/rounded/battery.rasi +++ b/720p/applets/menu/configs/rounded/battery.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/mpd.rasi b/720p/applets/menu/configs/rounded/mpd.rasi index 7a2063b..8dcab63 100644 --- a/720p/applets/menu/configs/rounded/mpd.rasi +++ b/720p/applets/menu/configs/rounded/mpd.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/network.rasi b/720p/applets/menu/configs/rounded/network.rasi index ab1bc02..81107e7 100644 --- a/720p/applets/menu/configs/rounded/network.rasi +++ b/720p/applets/menu/configs/rounded/network.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/powermenu.rasi b/720p/applets/menu/configs/rounded/powermenu.rasi index 28910f0..02bf8af 100644 --- a/720p/applets/menu/configs/rounded/powermenu.rasi +++ b/720p/applets/menu/configs/rounded/powermenu.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/quicklinks.rasi b/720p/applets/menu/configs/rounded/quicklinks.rasi index e3f65d8..9fbe392 100644 --- a/720p/applets/menu/configs/rounded/quicklinks.rasi +++ b/720p/applets/menu/configs/rounded/quicklinks.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/screenshot.rasi b/720p/applets/menu/configs/rounded/screenshot.rasi index e8efd03..f0b923e 100644 --- a/720p/applets/menu/configs/rounded/screenshot.rasi +++ b/720p/applets/menu/configs/rounded/screenshot.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/time.rasi b/720p/applets/menu/configs/rounded/time.rasi index af4db49..3d59d1f 100644 --- a/720p/applets/menu/configs/rounded/time.rasi +++ b/720p/applets/menu/configs/rounded/time.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/rounded/volume.rasi b/720p/applets/menu/configs/rounded/volume.rasi index fe1737c..0718ef0 100644 --- a/720p/applets/menu/configs/rounded/volume.rasi +++ b/720p/applets/menu/configs/rounded/volume.rasi @@ -113,7 +113,7 @@ element selected { text-color: @background; border: 0px; border-radius: 20px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/apps.rasi b/720p/applets/menu/configs/square/apps.rasi index 4561d46..cc04de6 100644 --- a/720p/applets/menu/configs/square/apps.rasi +++ b/720p/applets/menu/configs/square/apps.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/backlight.rasi b/720p/applets/menu/configs/square/backlight.rasi index 213446d..284a076 100644 --- a/720p/applets/menu/configs/square/backlight.rasi +++ b/720p/applets/menu/configs/square/backlight.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/battery.rasi b/720p/applets/menu/configs/square/battery.rasi index ddfbc4f..1026623 100644 --- a/720p/applets/menu/configs/square/battery.rasi +++ b/720p/applets/menu/configs/square/battery.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/mpd.rasi b/720p/applets/menu/configs/square/mpd.rasi index bbaa763..083510a 100644 --- a/720p/applets/menu/configs/square/mpd.rasi +++ b/720p/applets/menu/configs/square/mpd.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/network.rasi b/720p/applets/menu/configs/square/network.rasi index 3464a6f..6d3a034 100644 --- a/720p/applets/menu/configs/square/network.rasi +++ b/720p/applets/menu/configs/square/network.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/powermenu.rasi b/720p/applets/menu/configs/square/powermenu.rasi index 958db5a..df0b839 100644 --- a/720p/applets/menu/configs/square/powermenu.rasi +++ b/720p/applets/menu/configs/square/powermenu.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/quicklinks.rasi b/720p/applets/menu/configs/square/quicklinks.rasi index 0da3bff..0338c94 100644 --- a/720p/applets/menu/configs/square/quicklinks.rasi +++ b/720p/applets/menu/configs/square/quicklinks.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/screenshot.rasi b/720p/applets/menu/configs/square/screenshot.rasi index a7b46d4..2ed2df0 100644 --- a/720p/applets/menu/configs/square/screenshot.rasi +++ b/720p/applets/menu/configs/square/screenshot.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/time.rasi b/720p/applets/menu/configs/square/time.rasi index 8fd66c9..39490b1 100644 --- a/720p/applets/menu/configs/square/time.rasi +++ b/720p/applets/menu/configs/square/time.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent { diff --git a/720p/applets/menu/configs/square/volume.rasi b/720p/applets/menu/configs/square/volume.rasi index 1f8ab28..78b54e5 100644 --- a/720p/applets/menu/configs/square/volume.rasi +++ b/720p/applets/menu/configs/square/volume.rasi @@ -112,7 +112,7 @@ element selected { text-color: @background; border: 0px; border-radius: 0px; - border-color: @border; + border-color: @accent; } element selected.urgent {