diff --git a/bin/compix b/bin/compix deleted file mode 100755 index e3396c2..0000000 Binary files a/bin/compix and /dev/null differ diff --git a/bin/wackysnap b/bin/wackysnap index f1cde54..0334b97 100755 --- a/bin/wackysnap +++ b/bin/wackysnap @@ -67,5 +67,5 @@ then elif [ "$1" = 'area' ]; then msg='Area screenshot saved and copied to clipboard!' - shot 'maim -u -s -n -m 1' "${msg}" + shot 'maim -u -o -s -n -m 1' "${msg}" fi diff --git a/cfg/bspwm/bspwmrc b/cfg/bspwm/bspwmrc index 4ab8c45..4b85052 100755 --- a/cfg/bspwm/bspwmrc +++ b/cfg/bspwm/bspwmrc @@ -3,7 +3,7 @@ xrdb -merge ~/.Xresources pgrep -x sxhkd > /dev/null || sxhkd & #bspc monitor -d WEB CODE FILES CHAT MUSIC -bspc monitor -d WEB CODE FILES CHAT MUSIC +bspc monitor -d 1 2 3 4 5 ############Window Settings #################### bspc config border_width 1 bspc config window_gap 5 @@ -21,13 +21,16 @@ bspc config normal_border_color "#131a1c" bspc rule -a KotatogramDesktop desktop='^4' #bspc rule -a firefox desktop='^1' bspc rule -a Zathura state=tiled +bspc rule -a Emacs state=tiled manage=on monitor=eDP-1-1 follow=on dunst & ######### Other Settings ################ xsetroot -cursor_name left_ptr & xinput set-prop 12 309 1 -compix & +picom & ######## THe real beauty behind rice #### xwallpaper --zoom ~/Pictures/city-topview.png -tint2 +#tint2 +polybar +mpd & diff --git a/cfg/rofi/applets/android/apps.sh b/cfg/rofi/applets/android/apps.sh new file mode 100755 index 0000000..466c629 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/backlight.sh b/cfg/rofi/applets/android/backlight.sh new file mode 100755 index 0000000..d37f975 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/colors.rasi b/cfg/rofi/applets/android/colors.rasi new file mode 100644 index 0000000..5ce46fc --- /dev/null +++ b/cfg/rofi/applets/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 + * + */ + +@import "../styles/arc.rasi" diff --git a/cfg/rofi/applets/android/confirm.rasi b/cfg/rofi/applets/android/confirm.rasi new file mode 100644 index 0000000..970783f --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/five.rasi b/cfg/rofi/applets/android/five.rasi new file mode 100644 index 0000000..29cdcce --- /dev/null +++ b/cfg/rofi/applets/android/five.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: 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-alt; + text-color: @foreground; +} + +element selected { + background-color: @accent; + text-color: @background; + border: 0px; + border-radius: 10px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/applets/android/message.rasi b/cfg/rofi/applets/android/message.rasi new file mode 100644 index 0000000..f35d3a2 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/mpd.sh b/cfg/rofi/applets/android/mpd.sh new file mode 100755 index 0000000..6f15be0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/powermenu.sh b/cfg/rofi/applets/android/powermenu.sh new file mode 100755 index 0000000..e28c731 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/quicklinks.sh b/cfg/rofi/applets/android/quicklinks.sh new file mode 100755 index 0000000..e2ae62f --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/screenshot.sh b/cfg/rofi/applets/android/screenshot.sh new file mode 100755 index 0000000..95abe34 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/android/six.rasi b/cfg/rofi/applets/android/six.rasi new file mode 100644 index 0000000..e654946 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/android/three.rasi b/cfg/rofi/applets/android/three.rasi new file mode 100644 index 0000000..0a09705 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/android/volume.sh b/cfg/rofi/applets/android/volume.sh new file mode 100755 index 0000000..429db8c --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/apps.sh b/cfg/rofi/applets/applets/apps.sh new file mode 100755 index 0000000..f8129ce --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/backlight.sh b/cfg/rofi/applets/applets/backlight.sh new file mode 100755 index 0000000..b94cfa7 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/battery.sh b/cfg/rofi/applets/applets/battery.sh new file mode 100755 index 0000000..8a38ab4 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/apps.rasi b/cfg/rofi/applets/applets/configs/circle/apps.rasi new file mode 100644 index 0000000..5bd1300 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/backlight.rasi b/cfg/rofi/applets/applets/configs/circle/backlight.rasi new file mode 100644 index 0000000..5c6bf3b --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/battery.rasi b/cfg/rofi/applets/applets/configs/circle/battery.rasi new file mode 100644 index 0000000..db6d8d0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/mpd.rasi b/cfg/rofi/applets/applets/configs/circle/mpd.rasi new file mode 100644 index 0000000..e49f391 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/network.rasi b/cfg/rofi/applets/applets/configs/circle/network.rasi new file mode 100644 index 0000000..4ccc4fc --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/powermenu.rasi b/cfg/rofi/applets/applets/configs/circle/powermenu.rasi new file mode 100644 index 0000000..2dfc85d --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/quicklinks.rasi b/cfg/rofi/applets/applets/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..1eb01ec --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/screenshot.rasi b/cfg/rofi/applets/applets/configs/circle/screenshot.rasi new file mode 100644 index 0000000..801f6f4 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/time.rasi b/cfg/rofi/applets/applets/configs/circle/time.rasi new file mode 100644 index 0000000..cc3fd05 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/circle/volume.rasi b/cfg/rofi/applets/applets/configs/circle/volume.rasi new file mode 100644 index 0000000..3b533e4 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/apps.rasi b/cfg/rofi/applets/applets/configs/rounded/apps.rasi new file mode 100644 index 0000000..616a144 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/backlight.rasi b/cfg/rofi/applets/applets/configs/rounded/backlight.rasi new file mode 100644 index 0000000..5ce20c4 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/battery.rasi b/cfg/rofi/applets/applets/configs/rounded/battery.rasi new file mode 100644 index 0000000..801e962 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/mpd.rasi b/cfg/rofi/applets/applets/configs/rounded/mpd.rasi new file mode 100644 index 0000000..61595af --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/network.rasi b/cfg/rofi/applets/applets/configs/rounded/network.rasi new file mode 100644 index 0000000..54e40d0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/powermenu.rasi b/cfg/rofi/applets/applets/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..51a8b13 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/quicklinks.rasi b/cfg/rofi/applets/applets/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..b44f3b2 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/screenshot.rasi b/cfg/rofi/applets/applets/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..4c1071e --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/time.rasi b/cfg/rofi/applets/applets/configs/rounded/time.rasi new file mode 100644 index 0000000..bee4545 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/rounded/volume.rasi b/cfg/rofi/applets/applets/configs/rounded/volume.rasi new file mode 100644 index 0000000..43f753d --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/configs/square/apps.rasi b/cfg/rofi/applets/applets/configs/square/apps.rasi new file mode 100644 index 0000000..6760c56 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/backlight.rasi b/cfg/rofi/applets/applets/configs/square/backlight.rasi new file mode 100644 index 0000000..5dcf4b1 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/battery.rasi b/cfg/rofi/applets/applets/configs/square/battery.rasi new file mode 100644 index 0000000..cfa2adf --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/mpd.rasi b/cfg/rofi/applets/applets/configs/square/mpd.rasi new file mode 100644 index 0000000..ec2eff9 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/network.rasi b/cfg/rofi/applets/applets/configs/square/network.rasi new file mode 100644 index 0000000..f57cb17 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/powermenu.rasi b/cfg/rofi/applets/applets/configs/square/powermenu.rasi new file mode 100644 index 0000000..6bd1c96 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/quicklinks.rasi b/cfg/rofi/applets/applets/configs/square/quicklinks.rasi new file mode 100644 index 0000000..731ed7e --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/screenshot.rasi b/cfg/rofi/applets/applets/configs/square/screenshot.rasi new file mode 100644 index 0000000..5c1fa95 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/time.rasi b/cfg/rofi/applets/applets/configs/square/time.rasi new file mode 100644 index 0000000..7022da9 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/configs/square/volume.rasi b/cfg/rofi/applets/applets/configs/square/volume.rasi new file mode 100644 index 0000000..adfeb39 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/applets/mpd.sh b/cfg/rofi/applets/applets/mpd.sh new file mode 100755 index 0000000..d1f3d2b --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/network.sh b/cfg/rofi/applets/applets/network.sh new file mode 100755 index 0000000..260eddb --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/powermenu.sh b/cfg/rofi/applets/applets/powermenu.sh new file mode 100755 index 0000000..500cbce --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/quicklinks.sh b/cfg/rofi/applets/applets/quicklinks.sh new file mode 100755 index 0000000..e736b71 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/screenshot.sh b/cfg/rofi/applets/applets/screenshot.sh new file mode 100755 index 0000000..f614599 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/style.sh b/cfg/rofi/applets/applets/style.sh new file mode 100755 index 0000000..68b9668 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/time.sh b/cfg/rofi/applets/applets/time.sh new file mode 100755 index 0000000..b8e7e8c --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/applets/volume.sh b/cfg/rofi/applets/applets/volume.sh new file mode 100755 index 0000000..7be3242 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/apps.sh b/cfg/rofi/applets/menu/apps.sh new file mode 100755 index 0000000..b5dd989 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/backlight.sh b/cfg/rofi/applets/menu/backlight.sh new file mode 100755 index 0000000..15333eb --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/battery.sh b/cfg/rofi/applets/menu/battery.sh new file mode 100755 index 0000000..c279794 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/configs/circle/apps.rasi b/cfg/rofi/applets/menu/configs/circle/apps.rasi new file mode 100644 index 0000000..c2042b3 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/backlight.rasi b/cfg/rofi/applets/menu/configs/circle/backlight.rasi new file mode 100644 index 0000000..2688014 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/battery.rasi b/cfg/rofi/applets/menu/configs/circle/battery.rasi new file mode 100644 index 0000000..9444210 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/mpd.rasi b/cfg/rofi/applets/menu/configs/circle/mpd.rasi new file mode 100644 index 0000000..04ba678 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/network.rasi b/cfg/rofi/applets/menu/configs/circle/network.rasi new file mode 100644 index 0000000..2a7de93 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/powermenu.rasi b/cfg/rofi/applets/menu/configs/circle/powermenu.rasi new file mode 100644 index 0000000..6e0131b --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/quicklinks.rasi b/cfg/rofi/applets/menu/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..a8a6ba3 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/screenshot.rasi b/cfg/rofi/applets/menu/configs/circle/screenshot.rasi new file mode 100644 index 0000000..519560e --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/time.rasi b/cfg/rofi/applets/menu/configs/circle/time.rasi new file mode 100644 index 0000000..ac0ffc8 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/circle/volume.rasi b/cfg/rofi/applets/menu/configs/circle/volume.rasi new file mode 100644 index 0000000..0fb93ca --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/apps.rasi b/cfg/rofi/applets/menu/configs/rounded/apps.rasi new file mode 100644 index 0000000..dcddce8 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/backlight.rasi b/cfg/rofi/applets/menu/configs/rounded/backlight.rasi new file mode 100644 index 0000000..84c27c1 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/battery.rasi b/cfg/rofi/applets/menu/configs/rounded/battery.rasi new file mode 100644 index 0000000..198ccc6 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/mpd.rasi b/cfg/rofi/applets/menu/configs/rounded/mpd.rasi new file mode 100644 index 0000000..a7ba438 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/network.rasi b/cfg/rofi/applets/menu/configs/rounded/network.rasi new file mode 100644 index 0000000..3a49537 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/powermenu.rasi b/cfg/rofi/applets/menu/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..d64175f --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/quicklinks.rasi b/cfg/rofi/applets/menu/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..7536a86 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/screenshot.rasi b/cfg/rofi/applets/menu/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..b468206 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/time.rasi b/cfg/rofi/applets/menu/configs/rounded/time.rasi new file mode 100644 index 0000000..a56c59d --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/rounded/volume.rasi b/cfg/rofi/applets/menu/configs/rounded/volume.rasi new file mode 100644 index 0000000..7da2a4a --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/apps.rasi b/cfg/rofi/applets/menu/configs/square/apps.rasi new file mode 100644 index 0000000..559c7e5 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/backlight.rasi b/cfg/rofi/applets/menu/configs/square/backlight.rasi new file mode 100644 index 0000000..bb20f5e --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/battery.rasi b/cfg/rofi/applets/menu/configs/square/battery.rasi new file mode 100644 index 0000000..0b0a6c2 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/mpd.rasi b/cfg/rofi/applets/menu/configs/square/mpd.rasi new file mode 100644 index 0000000..b489728 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/network.rasi b/cfg/rofi/applets/menu/configs/square/network.rasi new file mode 100644 index 0000000..4d5bfde --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/powermenu.rasi b/cfg/rofi/applets/menu/configs/square/powermenu.rasi new file mode 100644 index 0000000..9dcc9e2 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/quicklinks.rasi b/cfg/rofi/applets/menu/configs/square/quicklinks.rasi new file mode 100644 index 0000000..77d7d72 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/screenshot.rasi b/cfg/rofi/applets/menu/configs/square/screenshot.rasi new file mode 100644 index 0000000..a95d9e2 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/time.rasi b/cfg/rofi/applets/menu/configs/square/time.rasi new file mode 100644 index 0000000..7c81666 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/configs/square/volume.rasi b/cfg/rofi/applets/menu/configs/square/volume.rasi new file mode 100644 index 0000000..f83d167 --- /dev/null +++ b/cfg/rofi/applets/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: @border; +} + +element selected.urgent { + background-color: @on; + text-color: @background; +} + +element selected.active { + background-color: @off; + color: @background; +} diff --git a/cfg/rofi/applets/menu/mpd.sh b/cfg/rofi/applets/menu/mpd.sh new file mode 100755 index 0000000..3eb5498 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/network.sh b/cfg/rofi/applets/menu/network.sh new file mode 100755 index 0000000..6e50332 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/powermenu.sh b/cfg/rofi/applets/menu/powermenu.sh new file mode 100755 index 0000000..7316af7 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/quicklinks.sh b/cfg/rofi/applets/menu/quicklinks.sh new file mode 100755 index 0000000..c2f0495 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/screenshot.sh b/cfg/rofi/applets/menu/screenshot.sh new file mode 100755 index 0000000..24c5e1b --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/style.sh b/cfg/rofi/applets/menu/style.sh new file mode 100755 index 0000000..d7fd3a8 --- /dev/null +++ b/cfg/rofi/applets/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="rounded" + +# uncomment these lines to enable random style +#styles=('square' 'circle' 'rounded') +#style="${styles[$(( $RANDOM % 3 ))]}" + +# print style name +echo "$style" diff --git a/cfg/rofi/applets/menu/time.sh b/cfg/rofi/applets/menu/time.sh new file mode 100755 index 0000000..4432676 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/menu/volume.sh b/cfg/rofi/applets/menu/volume.sh new file mode 100755 index 0000000..7e4a0d8 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/adapta-nokto.rasi b/cfg/rofi/applets/styles/adapta-nokto.rasi new file mode 100644 index 0000000..3c4ef95 --- /dev/null +++ b/cfg/rofi/applets/styles/adapta-nokto.rasi @@ -0,0 +1,8 @@ +* { + accent: #00BCD4; + background: #263238; + background-light: #293840; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/cfg/rofi/applets/styles/adapta.rasi b/cfg/rofi/applets/styles/adapta.rasi new file mode 100644 index 0000000..c1c9999 --- /dev/null +++ b/cfg/rofi/applets/styles/adapta.rasi @@ -0,0 +1,8 @@ +* { + accent: #00ADC2; + background: #FFFFFF; + background-light: #E7E7E7; + foreground: #535353; + on: #44ad4d; + off: #e34039; +} diff --git a/cfg/rofi/applets/styles/adwaita.rasi b/cfg/rofi/applets/styles/adwaita.rasi new file mode 100644 index 0000000..81cd482 --- /dev/null +++ b/cfg/rofi/applets/styles/adwaita.rasi @@ -0,0 +1,8 @@ +* { + accent: #2E6BB6; + background: #2D2D2D; + background-light: #353535; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/cfg/rofi/applets/styles/arc-dark.rasi b/cfg/rofi/applets/styles/arc-dark.rasi new file mode 100644 index 0000000..41f775f --- /dev/null +++ b/cfg/rofi/applets/styles/arc-dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #6BA0DE; + background: #383C4A; + background-light: #404552; + foreground: #E4E4E4; + on: #44ad4d; + off: #e34039; +} diff --git a/cfg/rofi/applets/styles/arc.rasi b/cfg/rofi/applets/styles/arc.rasi new file mode 100644 index 0000000..a5c211b --- /dev/null +++ b/cfg/rofi/applets/styles/arc.rasi @@ -0,0 +1,8 @@ +* { + accent: #5294E2; + background: #FFFFFF; + background-light: #E7E8EB; + foreground: #333333; + on: #44ad4d; + off: #e34039; +} diff --git a/cfg/rofi/applets/styles/armchair.rasi b/cfg/rofi/applets/styles/armchair.rasi new file mode 100644 index 0000000..93a9e2f --- /dev/null +++ b/cfg/rofi/applets/styles/armchair.rasi @@ -0,0 +1,8 @@ +* { + accent: #E85A50; + background: #EAE8DC; + background-light: #E4D9C8; + foreground: #8E8D89; + on: #66bb6a; + off: #F68887; +} diff --git a/cfg/rofi/applets/styles/colors.rasi b/cfg/rofi/applets/styles/colors.rasi new file mode 100644 index 0000000..f9043a3 --- /dev/null +++ b/cfg/rofi/applets/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 + * + */ + +@import "dark.rasi" diff --git a/cfg/rofi/applets/styles/confirm.rasi b/cfg/rofi/applets/styles/confirm.rasi new file mode 100644 index 0000000..79a4be2 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/dark.rasi b/cfg/rofi/applets/styles/dark.rasi new file mode 100644 index 0000000..162207b --- /dev/null +++ b/cfg/rofi/applets/styles/dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #A9C03F; + background: #141c21; + background-light: #1C252A; + foreground: #93a1a1; + on: #5BB462; + off: #DE635E; +} diff --git a/cfg/rofi/applets/styles/darkpink.rasi b/cfg/rofi/applets/styles/darkpink.rasi new file mode 100644 index 0000000..3bae851 --- /dev/null +++ b/cfg/rofi/applets/styles/darkpink.rasi @@ -0,0 +1,8 @@ +* { + accent: #F75176; + background: #414656; + background-light: #4B5060; + foreground: #F2F7E3; + on: #CDF0D9; + off: #FF796A; +} diff --git a/cfg/rofi/applets/styles/fresh.rasi b/cfg/rofi/applets/styles/fresh.rasi new file mode 100644 index 0000000..a19ceb1 --- /dev/null +++ b/cfg/rofi/applets/styles/fresh.rasi @@ -0,0 +1,8 @@ +* { + accent: #043968; + background: #5CDB94; + background-light: #59C78A; + foreground: #303030; + on: #2e7d32; + off: #d32f2f; +} diff --git a/cfg/rofi/applets/styles/gruvbox.rasi b/cfg/rofi/applets/styles/gruvbox.rasi new file mode 100644 index 0000000..9f686f0 --- /dev/null +++ b/cfg/rofi/applets/styles/gruvbox.rasi @@ -0,0 +1,8 @@ +* { + accent: #83a598; + background: #282828; + background-light: #303030; + foreground: #ebdbb2; + on: #44ad4d; + off: #fb4934; +} diff --git a/cfg/rofi/applets/styles/inside.rasi b/cfg/rofi/applets/styles/inside.rasi new file mode 100644 index 0000000..8436894 --- /dev/null +++ b/cfg/rofi/applets/styles/inside.rasi @@ -0,0 +1,8 @@ +* { + accent: #C7493A; + background: #151515; + background-light: #202020; + foreground: #AD8174; + on: #689775; + off: #A33327; +} diff --git a/cfg/rofi/applets/styles/material-dark/amber.rasi b/cfg/rofi/applets/styles/material-dark/amber.rasi new file mode 100644 index 0000000..14cbfcd --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/blue.rasi b/cfg/rofi/applets/styles/material-dark/blue.rasi new file mode 100644 index 0000000..821e449 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/blue_grey.rasi b/cfg/rofi/applets/styles/material-dark/blue_grey.rasi new file mode 100644 index 0000000..d810c0d --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/brown.rasi b/cfg/rofi/applets/styles/material-dark/brown.rasi new file mode 100644 index 0000000..edf7633 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/cyan.rasi b/cfg/rofi/applets/styles/material-dark/cyan.rasi new file mode 100644 index 0000000..8de289c --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/deep_orange.rasi b/cfg/rofi/applets/styles/material-dark/deep_orange.rasi new file mode 100644 index 0000000..6c061b3 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/deep_purple.rasi b/cfg/rofi/applets/styles/material-dark/deep_purple.rasi new file mode 100644 index 0000000..d30571e --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/green.rasi b/cfg/rofi/applets/styles/material-dark/green.rasi new file mode 100644 index 0000000..674280b --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/grey.rasi b/cfg/rofi/applets/styles/material-dark/grey.rasi new file mode 100644 index 0000000..6c5e57c --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/indigo.rasi b/cfg/rofi/applets/styles/material-dark/indigo.rasi new file mode 100644 index 0000000..8f89719 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/light_blue.rasi b/cfg/rofi/applets/styles/material-dark/light_blue.rasi new file mode 100644 index 0000000..d3f4e1b --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/light_green.rasi b/cfg/rofi/applets/styles/material-dark/light_green.rasi new file mode 100644 index 0000000..5afdf7a --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/lime.rasi b/cfg/rofi/applets/styles/material-dark/lime.rasi new file mode 100644 index 0000000..c32550e --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/orange.rasi b/cfg/rofi/applets/styles/material-dark/orange.rasi new file mode 100644 index 0000000..2f26952 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/pink.rasi b/cfg/rofi/applets/styles/material-dark/pink.rasi new file mode 100644 index 0000000..ef7a0af --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/purple.rasi b/cfg/rofi/applets/styles/material-dark/purple.rasi new file mode 100644 index 0000000..a1dd6d4 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/red.rasi b/cfg/rofi/applets/styles/material-dark/red.rasi new file mode 100644 index 0000000..f5d3862 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/teal.rasi b/cfg/rofi/applets/styles/material-dark/teal.rasi new file mode 100644 index 0000000..e6cdb73 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-dark/yellow.rasi b/cfg/rofi/applets/styles/material-dark/yellow.rasi new file mode 100644 index 0000000..d2788b0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/amber.rasi b/cfg/rofi/applets/styles/material-light/amber.rasi new file mode 100644 index 0000000..c02ae2a --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/blue.rasi b/cfg/rofi/applets/styles/material-light/blue.rasi new file mode 100644 index 0000000..780663e --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/blue_grey.rasi b/cfg/rofi/applets/styles/material-light/blue_grey.rasi new file mode 100644 index 0000000..8e15a53 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/brown.rasi b/cfg/rofi/applets/styles/material-light/brown.rasi new file mode 100644 index 0000000..3f7d39f --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/cyan.rasi b/cfg/rofi/applets/styles/material-light/cyan.rasi new file mode 100644 index 0000000..d879af0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/deep_orange.rasi b/cfg/rofi/applets/styles/material-light/deep_orange.rasi new file mode 100644 index 0000000..23f5815 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/deep_purple.rasi b/cfg/rofi/applets/styles/material-light/deep_purple.rasi new file mode 100644 index 0000000..cc5ec7d --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/green.rasi b/cfg/rofi/applets/styles/material-light/green.rasi new file mode 100644 index 0000000..f476e01 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/grey.rasi b/cfg/rofi/applets/styles/material-light/grey.rasi new file mode 100644 index 0000000..6936929 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/indigo.rasi b/cfg/rofi/applets/styles/material-light/indigo.rasi new file mode 100644 index 0000000..f0508c3 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/light_blue.rasi b/cfg/rofi/applets/styles/material-light/light_blue.rasi new file mode 100644 index 0000000..a0db87a --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/light_green.rasi b/cfg/rofi/applets/styles/material-light/light_green.rasi new file mode 100644 index 0000000..0e33cef --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/lime.rasi b/cfg/rofi/applets/styles/material-light/lime.rasi new file mode 100644 index 0000000..044eb62 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/orange.rasi b/cfg/rofi/applets/styles/material-light/orange.rasi new file mode 100644 index 0000000..072c9e2 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/pink.rasi b/cfg/rofi/applets/styles/material-light/pink.rasi new file mode 100644 index 0000000..e17d94d --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/purple.rasi b/cfg/rofi/applets/styles/material-light/purple.rasi new file mode 100644 index 0000000..fa95bb9 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/red.rasi b/cfg/rofi/applets/styles/material-light/red.rasi new file mode 100644 index 0000000..d3ebcc0 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/teal.rasi b/cfg/rofi/applets/styles/material-light/teal.rasi new file mode 100644 index 0000000..b137892 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/material-light/yellow.rasi b/cfg/rofi/applets/styles/material-light/yellow.rasi new file mode 100644 index 0000000..8f68244 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/message.rasi b/cfg/rofi/applets/styles/message.rasi new file mode 100644 index 0000000..69d5b07 --- /dev/null +++ b/cfg/rofi/applets/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/cfg/rofi/applets/styles/minimo.rasi b/cfg/rofi/applets/styles/minimo.rasi new file mode 100644 index 0000000..b6fa284 --- /dev/null +++ b/cfg/rofi/applets/styles/minimo.rasi @@ -0,0 +1,8 @@ +* { + accent: #656565; + background: #C6C6C4; + background-light: #FFFFFF; + foreground: #909090; + on: #226827; + off: #682226; +} diff --git a/cfg/rofi/applets/styles/party.rasi b/cfg/rofi/applets/styles/party.rasi new file mode 100644 index 0000000..d8ea9af --- /dev/null +++ b/cfg/rofi/applets/styles/party.rasi @@ -0,0 +1,8 @@ +* { + accent: #FFE401; + background: #272727; + background-light: #323232; + foreground: #747474; + on: #13A76B; + off: #FF652F; +} diff --git a/cfg/rofi/applets/styles/sirin.rasi b/cfg/rofi/applets/styles/sirin.rasi new file mode 100644 index 0000000..302cbce --- /dev/null +++ b/cfg/rofi/applets/styles/sirin.rasi @@ -0,0 +1,8 @@ +* { + accent: #106466; + background: #FFCB9B; + background-light: #D8B08C; + foreground: #2C3532; + on: #43a047; + off: #ef5350; +} diff --git a/cfg/rofi/bin/android_apps b/cfg/rofi/bin/android_apps new file mode 120000 index 0000000..7b11b66 --- /dev/null +++ b/cfg/rofi/bin/android_apps @@ -0,0 +1 @@ +../applets/android/apps.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_backlight b/cfg/rofi/bin/android_backlight new file mode 120000 index 0000000..9de32b8 --- /dev/null +++ b/cfg/rofi/bin/android_backlight @@ -0,0 +1 @@ +../applets/android/backlight.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_mpd b/cfg/rofi/bin/android_mpd new file mode 120000 index 0000000..1f16126 --- /dev/null +++ b/cfg/rofi/bin/android_mpd @@ -0,0 +1 @@ +../applets/android/mpd.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_powermenu b/cfg/rofi/bin/android_powermenu new file mode 120000 index 0000000..7d66a76 --- /dev/null +++ b/cfg/rofi/bin/android_powermenu @@ -0,0 +1 @@ +../applets/android/powermenu.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_quicklinks b/cfg/rofi/bin/android_quicklinks new file mode 120000 index 0000000..7d44c74 --- /dev/null +++ b/cfg/rofi/bin/android_quicklinks @@ -0,0 +1 @@ +../applets/android/quicklinks.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_screenshot b/cfg/rofi/bin/android_screenshot new file mode 120000 index 0000000..1bd8694 --- /dev/null +++ b/cfg/rofi/bin/android_screenshot @@ -0,0 +1 @@ +../applets/android/screenshot.sh \ No newline at end of file diff --git a/cfg/rofi/bin/android_volume b/cfg/rofi/bin/android_volume new file mode 120000 index 0000000..33bcea2 --- /dev/null +++ b/cfg/rofi/bin/android_volume @@ -0,0 +1 @@ +../applets/android/volume.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_apps b/cfg/rofi/bin/applet_apps new file mode 120000 index 0000000..0cbf8f8 --- /dev/null +++ b/cfg/rofi/bin/applet_apps @@ -0,0 +1 @@ +../applets/applets/apps.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_backlight b/cfg/rofi/bin/applet_backlight new file mode 120000 index 0000000..0663ec3 --- /dev/null +++ b/cfg/rofi/bin/applet_backlight @@ -0,0 +1 @@ +../applets/applets/backlight.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_battery b/cfg/rofi/bin/applet_battery new file mode 120000 index 0000000..4b660cb --- /dev/null +++ b/cfg/rofi/bin/applet_battery @@ -0,0 +1 @@ +../applets/applets/battery.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_mpd b/cfg/rofi/bin/applet_mpd new file mode 120000 index 0000000..2a55e5f --- /dev/null +++ b/cfg/rofi/bin/applet_mpd @@ -0,0 +1 @@ +../applets/applets/mpd.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_network b/cfg/rofi/bin/applet_network new file mode 120000 index 0000000..cecf37c --- /dev/null +++ b/cfg/rofi/bin/applet_network @@ -0,0 +1 @@ +../applets/applets/network.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_powermenu b/cfg/rofi/bin/applet_powermenu new file mode 120000 index 0000000..0a0635d --- /dev/null +++ b/cfg/rofi/bin/applet_powermenu @@ -0,0 +1 @@ +../applets/applets/powermenu.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_quicklinks b/cfg/rofi/bin/applet_quicklinks new file mode 120000 index 0000000..319e0b2 --- /dev/null +++ b/cfg/rofi/bin/applet_quicklinks @@ -0,0 +1 @@ +../applets/applets/quicklinks.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_screenshot b/cfg/rofi/bin/applet_screenshot new file mode 120000 index 0000000..3107901 --- /dev/null +++ b/cfg/rofi/bin/applet_screenshot @@ -0,0 +1 @@ +../applets/applets/screenshot.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_time b/cfg/rofi/bin/applet_time new file mode 120000 index 0000000..0565f05 --- /dev/null +++ b/cfg/rofi/bin/applet_time @@ -0,0 +1 @@ +../applets/applets/time.sh \ No newline at end of file diff --git a/cfg/rofi/bin/applet_volume b/cfg/rofi/bin/applet_volume new file mode 120000 index 0000000..493275a --- /dev/null +++ b/cfg/rofi/bin/applet_volume @@ -0,0 +1 @@ +../applets/applets/volume.sh \ No newline at end of file diff --git a/cfg/rofi/bin/launcher_colorful b/cfg/rofi/bin/launcher_colorful new file mode 120000 index 0000000..8e48b54 --- /dev/null +++ b/cfg/rofi/bin/launcher_colorful @@ -0,0 +1 @@ +../launchers/colorful/launcher.sh \ No newline at end of file diff --git a/cfg/rofi/bin/launcher_misc b/cfg/rofi/bin/launcher_misc new file mode 120000 index 0000000..ff3f68f --- /dev/null +++ b/cfg/rofi/bin/launcher_misc @@ -0,0 +1 @@ +../launchers/misc/launcher.sh \ No newline at end of file diff --git a/cfg/rofi/bin/launcher_ribbon b/cfg/rofi/bin/launcher_ribbon new file mode 120000 index 0000000..925a1a8 --- /dev/null +++ b/cfg/rofi/bin/launcher_ribbon @@ -0,0 +1 @@ +../launchers/ribbon/launcher.sh \ No newline at end of file diff --git a/cfg/rofi/bin/launcher_slate b/cfg/rofi/bin/launcher_slate new file mode 120000 index 0000000..d409300 --- /dev/null +++ b/cfg/rofi/bin/launcher_slate @@ -0,0 +1 @@ +../launchers/slate/launcher.sh \ No newline at end of file diff --git a/cfg/rofi/bin/launcher_text b/cfg/rofi/bin/launcher_text new file mode 120000 index 0000000..65eac28 --- /dev/null +++ b/cfg/rofi/bin/launcher_text @@ -0,0 +1 @@ +../launchers/text/launcher.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_apps b/cfg/rofi/bin/menu_apps new file mode 120000 index 0000000..a07c955 --- /dev/null +++ b/cfg/rofi/bin/menu_apps @@ -0,0 +1 @@ +../applets/menu/apps.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_backlight b/cfg/rofi/bin/menu_backlight new file mode 120000 index 0000000..18eea2f --- /dev/null +++ b/cfg/rofi/bin/menu_backlight @@ -0,0 +1 @@ +../applets/menu/backlight.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_battery b/cfg/rofi/bin/menu_battery new file mode 120000 index 0000000..10f11b5 --- /dev/null +++ b/cfg/rofi/bin/menu_battery @@ -0,0 +1 @@ +../applets/menu/battery.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_mpd b/cfg/rofi/bin/menu_mpd new file mode 120000 index 0000000..b3e204b --- /dev/null +++ b/cfg/rofi/bin/menu_mpd @@ -0,0 +1 @@ +../applets/menu/mpd.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_network b/cfg/rofi/bin/menu_network new file mode 120000 index 0000000..2c4c1d9 --- /dev/null +++ b/cfg/rofi/bin/menu_network @@ -0,0 +1 @@ +../applets/menu/network.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_powermenu b/cfg/rofi/bin/menu_powermenu new file mode 120000 index 0000000..da40a0b --- /dev/null +++ b/cfg/rofi/bin/menu_powermenu @@ -0,0 +1 @@ +../applets/menu/powermenu.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_quicklinks b/cfg/rofi/bin/menu_quicklinks new file mode 120000 index 0000000..e873658 --- /dev/null +++ b/cfg/rofi/bin/menu_quicklinks @@ -0,0 +1 @@ +../applets/menu/quicklinks.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_screenshot b/cfg/rofi/bin/menu_screenshot new file mode 120000 index 0000000..8c4b92d --- /dev/null +++ b/cfg/rofi/bin/menu_screenshot @@ -0,0 +1 @@ +../applets/menu/screenshot.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_time b/cfg/rofi/bin/menu_time new file mode 120000 index 0000000..a7d56c1 --- /dev/null +++ b/cfg/rofi/bin/menu_time @@ -0,0 +1 @@ +../applets/menu/time.sh \ No newline at end of file diff --git a/cfg/rofi/bin/menu_volume b/cfg/rofi/bin/menu_volume new file mode 120000 index 0000000..b0f235a --- /dev/null +++ b/cfg/rofi/bin/menu_volume @@ -0,0 +1 @@ +../applets/menu/volume.sh \ No newline at end of file diff --git a/cfg/rofi/bin/powermenu b/cfg/rofi/bin/powermenu new file mode 120000 index 0000000..d9f9d95 --- /dev/null +++ b/cfg/rofi/bin/powermenu @@ -0,0 +1 @@ +../powermenu/powermenu.sh \ No newline at end of file diff --git a/cfg/rofi/bin/usedcpu b/cfg/rofi/bin/usedcpu new file mode 100755 index 0000000..512933c --- /dev/null +++ b/cfg/rofi/bin/usedcpu @@ -0,0 +1,45 @@ +#!/usr/bin/env bash + +PREV_TOTAL=0 +PREV_IDLE=0 + +cpuFile="/tmp/.cpu" + +if [[ -f "${cpuFile}" ]]; then + fileCont=$(cat "${cpuFile}") + PREV_TOTAL=$(echo "${fileCont}" | head -n 1) + PREV_IDLE=$(echo "${fileCont}" | tail -n 1) +fi + +CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. +unset CPU[0] # Discard the "cpu" prefix. +IDLE=${CPU[4]} # Get the idle CPU time. + +# Calculate the total CPU time. +TOTAL=0 + +for VALUE in "${CPU[@]:0:4}"; do + let "TOTAL=$TOTAL+$VALUE" +done + +if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then + # Calculate the CPU usage since we last checked. + let "DIFF_IDLE=$IDLE-$PREV_IDLE" + let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" + let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" + if [[ $1 = "-i" ]]; then + echo " ${DIFF_USAGE}%" + else + echo "${DIFF_USAGE}%" + fi +else + if [[ $1 = "-i" ]]; then + echo " ?" + else + echo "?" + fi +fi + +# Remember the total and idle CPU times for the next check. +echo "${TOTAL}" > "${cpuFile}" +echo "${IDLE}" >> "${cpuFile}" diff --git a/cfg/rofi/bin/usedram b/cfg/rofi/bin/usedram new file mode 100755 index 0000000..e8a6108 --- /dev/null +++ b/cfg/rofi/bin/usedram @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +mem_info=$(> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 +# style_7 style_8 style_9 style_10 style_11 style_12 + +theme="style_9" +dir="$HOME/.config/rofi/launchers/colorful" + +# dark +ALPHA="#00000000" +BG="#000000ff" +FG="#FFFFFFff" +SELECT="#101010ff" + +# light +#ALPHA="#00000000" +#BG="#FFFFFFff" +#FG="#000000ff" +#SELECT="#f3f3f3ff" + +# accent colors +COLORS=('#EC7875' '#61C766' '#FDD835' '#42A5F5' '#BA68C8' '#4DD0E1' '#00B19F' \ + '#FBC02D' '#E57C46' '#AC8476' '#6D8895' '#EC407A' '#B9C244' '#6C77BB') +ACCENT="${COLORS[$(( $RANDOM % 14 ))]}ff" + +# overwrite colors file +cat > $dir/colors.rasi <<- EOF + /* colors */ + + * { + al: $ALPHA; + bg: $BG; + se: $SELECT; + fg: $FG; + ac: $ACCENT; + } +EOF + +# comment these lines to disable random style +#themes=($(ls -p --hide="launcher.sh" --hide="colors.rasi" $dir)) +#theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/cfg/rofi/launchers/colorful/style_1.rasi b/cfg/rofi/launchers/colorful/style_1.rasi new file mode 100644 index 0000000..667ef34 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_1.rasi @@ -0,0 +1,119 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_10.rasi b/cfg/rofi/launchers/colorful/style_10.rasi new file mode 100644 index 0000000..3311e8b --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_10.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 100%; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 20% 15% 20% 15%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 100%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0.3% 0.2%; + border-radius: 100%; + border-color: @ac; +} diff --git a/cfg/rofi/launchers/colorful/style_11.rasi b/cfg/rofi/launchers/colorful/style_11.rasi new file mode 100644 index 0000000..6f39343 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_11.rasi @@ -0,0 +1,129 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 25px; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + lines: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 1%; + border-color: @ac; + border-radius: 15px; + background-color: @ac; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @ac; +} diff --git a/cfg/rofi/launchers/colorful/style_12.rasi b/cfg/rofi/launchers/colorful/style_12.rasi new file mode 100644 index 0000000..af9aac3 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_12.rasi @@ -0,0 +1,132 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: " Applications"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 50px; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 6; + lines: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 10px 0px 10px 0px; + border-radius: 50px; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 2% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 1%; + border-color: @se; + border-radius: 15px; + background-color: @se; + padding: 2% 1% 2% 1%; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.25% 0.5% 0.25%; + padding: 1% 0.5% 1% 0.5%; +} + +element-text selected { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @ac; + text-color: @bg; + border-radius: 100%; +} diff --git a/cfg/rofi/launchers/colorful/style_2.rasi b/cfg/rofi/launchers/colorful/style_2.rasi new file mode 100644 index 0000000..3de665a --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_2.rasi @@ -0,0 +1,119 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 18%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 32px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_3.rasi b/cfg/rofi/launchers/colorful/style_3.rasi new file mode 100644 index 0000000..e70c102 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_3.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 18%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 32px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_4.rasi b/cfg/rofi/launchers/colorful/style_4.rasi new file mode 100644 index 0000000..d6d9eb7 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_4.rasi @@ -0,0 +1,119 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 19%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px 10px 0px 10px; + columns: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 48px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_5.rasi b/cfg/rofi/launchers/colorful/style_5.rasi new file mode 100644 index 0000000..6bc6a9a --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_5.rasi @@ -0,0 +1,119 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @fg; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_6.rasi b/cfg/rofi/launchers/colorful/style_6.rasi new file mode 100644 index 0000000..06ec71f --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_6.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @ac; + margin: 0% 54.5% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2.5%; + padding: 20% 5% 20% 5%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 4% 0% 4% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0.5% 0%; + border-radius: 25px; + border-color: @ac; +} diff --git a/cfg/rofi/launchers/colorful/style_7.rasi b/cfg/rofi/launchers/colorful/style_7.rasi new file mode 100644 index 0000000..cc29f11 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_7.rasi @@ -0,0 +1,119 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 30%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @bg; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0.5% 0.5% 0.5% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/cfg/rofi/launchers/colorful/style_8.rasi b/cfg/rofi/launchers/colorful/style_8.rasi new file mode 100644 index 0000000..97fb6f7 --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_8.rasi @@ -0,0 +1,125 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @ac; +} diff --git a/cfg/rofi/launchers/colorful/style_9.rasi b/cfg/rofi/launchers/colorful/style_9.rasi new file mode 100644 index 0000000..6e26dfb --- /dev/null +++ b/cfg/rofi/launchers/colorful/style_9.rasi @@ -0,0 +1,126 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 15px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 10px; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 10px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 12px; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 24px; + border: 0px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0.3% 0% 0.3%; + border-radius: 12px; + border-color: @ac; +} diff --git a/cfg/rofi/launchers/misc/appdrawer.rasi b/cfg/rofi/launchers/misc/appdrawer.rasi new file mode 100644 index 0000000..1d42393 --- /dev/null +++ b/cfg/rofi/launchers/misc/appdrawer.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 1.5% 0% 1.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/appdrawer_alt.rasi b/cfg/rofi/launchers/misc/appdrawer_alt.rasi new file mode 100644 index 0000000..f29daab --- /dev/null +++ b/cfg/rofi/launchers/misc/appdrawer_alt.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 30px; + width: 30%; + location: west; + x-offset: 20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/appfolder.rasi b/cfg/rofi/launchers/misc/appfolder.rasi new file mode 100644 index 0000000..e6bbd11 --- /dev/null +++ b/cfg/rofi/launchers/misc/appfolder.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 5px; + width: 27%; + location: east; + x-offset: -20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 1.5% 0.75% 1.5% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/blurry.rasi b/cfg/rofi/launchers/misc/blurry.rasi new file mode 100644 index 0000000..e4b0362 --- /dev/null +++ b/cfg/rofi/launchers/misc/blurry.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: @background; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: @background; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/blurry_full.rasi b/cfg/rofi/launchers/misc/blurry_full.rasi new file mode 100644 index 0000000..b31d51e --- /dev/null +++ b/cfg/rofi/launchers/misc/blurry_full.rasi @@ -0,0 +1,122 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 25% 0% 25%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 4; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 12.5% 10% 12.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: @background; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: @background; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/column.rasi b/cfg/rofi/launchers/misc/column.rasi new file mode 100644 index 0000000..8b3be68 --- /dev/null +++ b/cfg/rofi/launchers/misc/column.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 9%; + location: east; + x-offset: 0px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 3.5% 0.75% 0% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.25% 0% 2.25% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/gnome_do.rasi b/cfg/rofi/launchers/misc/gnome_do.rasi new file mode 100644 index 0000000..94a9c1a --- /dev/null +++ b/cfg/rofi/launchers/misc/gnome_do.rasi @@ -0,0 +1,169 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Classical -- */ +* { + background: #27639AFF; + background-alt: #00000000; + background-bar: #f2f2f240; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +/* -- Transparent -- */ +/* +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} +*/ + +/* -- Light -- */ +/* +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #20202040; + foreground: #404040EE; + accent: #3DAEE966; +} +*/ + +/* -- Dark -- */ +/* +* { + background: #252525ff; + background-alt: #00000000; + background-bar: #10101040; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +/* -- Black -- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #101010ff; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 25px; + width: 26%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: false; + padding: 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: " Search"; + padding: 0% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0%; +} + +listview { + background-color: @background-alt; + columns: 2; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: @background-alt; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 128px; + border: 0px; +} + +element-text { + background-color: @background-alt; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/kde_krunner.rasi b/cfg/rofi/launchers/misc/kde_krunner.rasi new file mode 100644 index 0000000..3d691df --- /dev/null +++ b/cfg/rofi/launchers/misc/kde_krunner.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 38%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 1; + lines: 7; + spacing: 0.5%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; + padding: 0.5%; +} + +element-icon { + background-color: @background-alt; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 32px; + border: 0px; +} + +element-text { + background-color: @background-alt; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0% 0% 0.25%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/kde_simplemenu.rasi b/cfg/rofi/launchers/misc/kde_simplemenu.rasi new file mode 100644 index 0000000..82a5c99 --- /dev/null +++ b/cfg/rofi/launchers/misc/kde_simplemenu.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 38%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 6; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: @background-alt; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: @background-alt; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/launcher.sh b/cfg/rofi/launchers/misc/launcher.sh new file mode 100755 index 0000000..a25dce9 --- /dev/null +++ b/cfg/rofi/launchers/misc/launcher.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# blurry blurry_full kde_simplemenu kde_krunner launchpad +# gnome_do slingshot appdrawer appdrawer_alt appfolder +# column row row_center screen row_dock row_dropdown + +theme="screen" +dir="$HOME/.config/rofi/launchers/misc" + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" $dir)) +theme="${themes[$(( $RANDOM % 16 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/cfg/rofi/launchers/misc/launchpad.rasi b/cfg/rofi/launchers/misc/launchpad.rasi new file mode 100644 index 0000000..1f8d20e --- /dev/null +++ b/cfg/rofi/launchers/misc/launchpad.rasi @@ -0,0 +1,122 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +* { + background: #00000060; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #ffffff66; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 6px; + border-color: @accent; + margin: 0% 30% 0% 30%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 7; + lines: 4; + spacing: 2%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 8.5% 10% 8.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: @background-alt; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 81px; + border: 0px; +} + +element-text { + background-color: @background-alt; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/misc/row.rasi b/cfg/rofi/launchers/misc/row.rasi new file mode 100644 index 0000000..64862dc --- /dev/null +++ b/cfg/rofi/launchers/misc/row.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/row_center.rasi b/cfg/rofi/launchers/misc/row_center.rasi new file mode 100644 index 0000000..de70c88 --- /dev/null +++ b/cfg/rofi/launchers/misc/row_center.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.3%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/row_dock.rasi b/cfg/rofi/launchers/misc/row_dock.rasi new file mode 100644 index 0000000..a9c59d2 --- /dev/null +++ b/cfg/rofi/launchers/misc/row_dock.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 50px 50px 0px 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/row_dropdown.rasi b/cfg/rofi/launchers/misc/row_dropdown.rasi new file mode 100644 index 0000000..91b8d17 --- /dev/null +++ b/cfg/rofi/launchers/misc/row_dropdown.rasi @@ -0,0 +1,140 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px 0px 50px 50px; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ listview, inputbar ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/screen.rasi b/cfg/rofi/launchers/misc/screen.rasi new file mode 100644 index 0000000..e928ad4 --- /dev/null +++ b/cfg/rofi/launchers/misc/screen.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 10%; + border-color: @border; + margin: 0% 50% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 3% 0% 3% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 80px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 25px; + border-color: @border; +} diff --git a/cfg/rofi/launchers/misc/slingshot.rasi b/cfg/rofi/launchers/misc/slingshot.rasi new file mode 100644 index 0000000..1e24c09 --- /dev/null +++ b/cfg/rofi/launchers/misc/slingshot.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +/* -- Light-- */ +* { + background: #F5F5F5FF; + background-alt: #00000000; + background-bar: #D7D7D7FF; + foreground: #000000A6; + accent: #80808066; +} + +/* -- Dark -- */ +/* +* { + background: #3E4148FF; + background-alt: #00000000; + background-bar: #363A3FFF; + foreground: #F5F5F5FF; + accent: #00000066; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 4px; + width: 32%; + location: northwest; + x-offset: 10px; + y-offset: 50px; +} + +prompt { + enabled: true; + padding: 0.30% 0.5% 0% 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0.50%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1.25% 0.65% 1.25% 0.65%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/cfg/rofi/launchers/ribbon/full_bottom.rasi b/cfg/rofi/launchers/ribbon/full_bottom.rasi new file mode 100644 index 0000000..71ffbbd --- /dev/null +++ b/cfg/rofi/launchers/ribbon/full_bottom.rasi @@ -0,0 +1,139 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 12.50% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/full_left.rasi b/cfg/rofi/launchers/ribbon/full_left.rasi new file mode 100644 index 0000000..149f9eb --- /dev/null +++ b/cfg/rofi/launchers/ribbon/full_left.rasi @@ -0,0 +1,139 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/full_right.rasi b/cfg/rofi/launchers/ribbon/full_right.rasi new file mode 100644 index 0000000..4ac34e3 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/full_right.rasi @@ -0,0 +1,139 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/full_top.rasi b/cfg/rofi/launchers/ribbon/full_top.rasi new file mode 100644 index 0000000..2e5e56d --- /dev/null +++ b/cfg/rofi/launchers/ribbon/full_top.rasi @@ -0,0 +1,139 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 12.50% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/launcher.sh b/cfg/rofi/launchers/ribbon/launcher.sh new file mode 100755 index 0000000..7e7c21b --- /dev/null +++ b/cfg/rofi/launchers/ribbon/launcher.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# ribbon_top ribbon_top_round ribbon_bottom ribbon_bottom_round +# ribbon_left ribbon_left_round ribbon_right ribbon_right_round +# full_bottom full_top full_left full_right + +theme="ribbon_top_round" + +dir="$HOME/.config/rofi/launchers/ribbon" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/cfg/rofi/launchers/ribbon/ribbon_bottom.rasi b/cfg/rofi/launchers/ribbon/ribbon_bottom.rasi new file mode 100644 index 0000000..14d8857 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_bottom.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 68.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_bottom_round.rasi b/cfg/rofi/launchers/ribbon/ribbon_bottom_round.rasi new file mode 100644 index 0000000..89ffe6c --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_bottom_round.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 25px 25px 50px 50px; + height: 68.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 50px; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_left.rasi b/cfg/rofi/launchers/ribbon/ribbon_left.rasi new file mode 100644 index 0000000..47c3aec --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_left.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 49.50%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_left_round.rasi b/cfg/rofi/launchers/ribbon/ribbon_left_round.rasi new file mode 100644 index 0000000..fbad458 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_left_round.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 2.5%; + height: 49.50%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 2.5%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_right.rasi b/cfg/rofi/launchers/ribbon/ribbon_right.rasi new file mode 100644 index 0000000..703f027 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_right.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 36.50%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_right_round.rasi b/cfg/rofi/launchers/ribbon/ribbon_right_round.rasi new file mode 100644 index 0000000..5440ab9 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_right_round.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 1.5% 0% 0%; + height: 36.50%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 0% 1.5% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 1.5% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 1.5% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_top.rasi b/cfg/rofi/launchers/ribbon/ribbon_top.rasi new file mode 100644 index 0000000..6578851 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_top.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 55.50%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/ribbon_top_round.rasi b/cfg/rofi/launchers/ribbon/ribbon_top_round.rasi new file mode 100644 index 0000000..ce10cb9 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/ribbon_top_round.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 2.5% 0% 0% 0%; + height: 55.50%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 2.5% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + background-color: #00000000; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/ribbon/styles/berry.rasi b/cfg/rofi/launchers/ribbon/styles/berry.rasi new file mode 100644 index 0000000..6621231 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #2D142Cff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/bluish.rasi b/cfg/rofi/launchers/ribbon/styles/bluish.rasi new file mode 100644 index 0000000..c3254ee --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #EFF0F1FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE999; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/cocoa.rasi b/cfg/rofi/launchers/ribbon/styles/cocoa.rasi new file mode 100644 index 0000000..cf85282 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #413E4Aff; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/colors.rasi b/cfg/rofi/launchers/ribbon/styles/colors.rasi new file mode 100644 index 0000000..058681d --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "berry.rasi" diff --git a/cfg/rofi/launchers/ribbon/styles/faded.rasi b/cfg/rofi/launchers/ribbon/styles/faded.rasi new file mode 100644 index 0000000..99e929a --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #5E6C91ff; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/gotham.rasi b/cfg/rofi/launchers/ribbon/styles/gotham.rasi new file mode 100644 index 0000000..ce71b9c --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #29384Fff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #345B7Cff; + border-alt: #715979ff; + selected: #C46C851a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/mask.rasi b/cfg/rofi/launchers/ribbon/styles/mask.rasi new file mode 100644 index 0000000..4e81074 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #434C6Dff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/nightly.rasi b/cfg/rofi/launchers/ribbon/styles/nightly.rasi new file mode 100644 index 0000000..027ffab --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #2A3950ff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/ribbon/styles/nordic.rasi b/cfg/rofi/launchers/ribbon/styles/nordic.rasi new file mode 100644 index 0000000..300ba35 --- /dev/null +++ b/cfg/rofi/launchers/ribbon/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #475C7Bff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/launchers/slate/launcher.sh b/cfg/rofi/launchers/slate/launcher.sh new file mode 100755 index 0000000..8c12862 --- /dev/null +++ b/cfg/rofi/launchers/slate/launcher.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# slate_full slate_center slate_left +# slate_right slate_top slate_bottom + +theme="slate_full" + +dir="$HOME/.config/rofi/launchers/slate" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 20 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 6 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/cfg/rofi/launchers/slate/slate_bottom.rasi b/cfg/rofi/launchers/slate/slate_bottom.rasi new file mode 100644 index 0000000..4eb4b7d --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_bottom.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/slate_center.rasi b/cfg/rofi/launchers/slate/slate_center.rasi new file mode 100644 index 0000000..2be7af6 --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_center.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 70%; + width: 70%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 38.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 6% 3% 6% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/slate_full.rasi b/cfg/rofi/launchers/slate/slate_full.rasi new file mode 100644 index 0000000..771b08a --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_full.rasi @@ -0,0 +1,139 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 5% 3% 5% 3%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 49.5% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 5% 3% 5% 3%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 15% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/slate_left.rasi b/cfg/rofi/launchers/slate/slate_left.rasi new file mode 100644 index 0000000..99d2dc2 --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_left.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/slate_right.rasi b/cfg/rofi/launchers/slate/slate_right.rasi new file mode 100644 index 0000000..7dffdd6 --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_right.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/slate_top.rasi b/cfg/rofi/launchers/slate/slate_top.rasi new file mode 100644 index 0000000..043eba7 --- /dev/null +++ b/cfg/rofi/launchers/slate/slate_top.rasi @@ -0,0 +1,142 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 64px; + border: 0px; +} + +element-text { + background-color: inherit; + text-color: inherit; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/launchers/slate/styles/Amber.rasi b/cfg/rofi/launchers/slate/styles/Amber.rasi new file mode 100644 index 0000000..f2efa55 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Amber.rasi @@ -0,0 +1,36 @@ +/* -- Amber -- */ + +* { +shade1: #FF6F00; +shade2: #FF8F00; +shade3: #FFA000; +shade4: #FFB300; +shade5: #FFC107; +shade6: #FFCA28; +shade7: #FFD54F; +shade8: #FFE082; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #404040; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Black.rasi b/cfg/rofi/launchers/slate/styles/Black.rasi new file mode 100644 index 0000000..ec8c1fb --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Black.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #000000; +shade2: #050505; +shade3: #101010; +shade4: #151515; +shade5: #202020; +shade6: #252525; +shade7: #303030; +shade8: #353535; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade2; + border-alt: @shade3; + background: @shade4; + background-alt: @shade5; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Blue.rasi b/cfg/rofi/launchers/slate/styles/Blue.rasi new file mode 100644 index 0000000..5d205fc --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Blue.rasi @@ -0,0 +1,36 @@ +/* -- Blue -- */ + +* { +shade1: #0D47A1; +shade2: #1565C0; +shade3: #1976D2; +shade4: #1E88E5; +shade5: #2196F3; +shade6: #42A5F5; +shade7: #64B5F6; +shade8: #90CAF9; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Blue_gray.rasi b/cfg/rofi/launchers/slate/styles/Blue_gray.rasi new file mode 100644 index 0000000..5ff24dd --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Blue_gray.rasi @@ -0,0 +1,36 @@ +/* -- Blue Gray -- */ + +* { +shade1: #263238; +shade2: #37474F; +shade3: #455A64; +shade4: #546E7A; +shade5: #607D8B; +shade6: #78909C; +shade7: #90A4AE; +shade8: #B0BEC5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Brown.rasi b/cfg/rofi/launchers/slate/styles/Brown.rasi new file mode 100644 index 0000000..fd54539 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Brown.rasi @@ -0,0 +1,36 @@ +/* -- Brown -- */ + +* { +shade1: #3E2723; +shade2: #4E342E; +shade3: #5D4037; +shade4: #6D4C41; +shade5: #795548; +shade6: #8D6E63; +shade7: #A1887F; +shade8: #BCAAA4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Cyan.rasi b/cfg/rofi/launchers/slate/styles/Cyan.rasi new file mode 100644 index 0000000..d6db860 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Cyan.rasi @@ -0,0 +1,36 @@ +/* -- Cyan -- */ + +* { +shade1: #006064; +shade2: #00838F; +shade3: #0097A7; +shade4: #00ACC1; +shade5: #00BCD4; +shade6: #26C6DA; +shade7: #4DD0E1; +shade8: #80DEEA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Deep_orange.rasi b/cfg/rofi/launchers/slate/styles/Deep_orange.rasi new file mode 100644 index 0000000..4e21a7b --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Deep_orange.rasi @@ -0,0 +1,36 @@ +/* -- Deep Orange -- */ + +* { +shade1: #BF360C; +shade2: #D84315; +shade3: #E64A19; +shade4: #F4511E; +shade5: #FF5722; +shade6: #FF7043; +shade7: #FF8A65; +shade8: #FFAB91; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Deep_purple.rasi b/cfg/rofi/launchers/slate/styles/Deep_purple.rasi new file mode 100644 index 0000000..a15d9a4 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Deep_purple.rasi @@ -0,0 +1,36 @@ +/* -- Deep Purple -- */ + +* { +shade1: #311B92; +shade2: #4527A0; +shade3: #512DA8; +shade4: #5E35B1; +shade5: #673AB7; +shade6: #7E57C2; +shade7: #9575CD; +shade8: #B39DDB; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Gray.rasi b/cfg/rofi/launchers/slate/styles/Gray.rasi new file mode 100644 index 0000000..1dcd95b --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Gray.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #212121; +shade2: #424242; +shade3: #616161; +shade4: #757575; +shade5: #9E9E9E; +shade6: #BDBDBD; +shade7: #D4D4D4; +shade8: #EEEEEE; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Green.rasi b/cfg/rofi/launchers/slate/styles/Green.rasi new file mode 100644 index 0000000..459e254 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Green.rasi @@ -0,0 +1,36 @@ +/* -- Green -- */ + +* { +shade1: #1B5E20; +shade2: #2E7D32; +shade3: #388E3C; +shade4: #43A047; +shade5: #4CAF50; +shade6: #66BB6A; +shade7: #81C784; +shade8: #A5D6A7; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Indigo.rasi b/cfg/rofi/launchers/slate/styles/Indigo.rasi new file mode 100644 index 0000000..e403909 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Indigo.rasi @@ -0,0 +1,36 @@ +/* -- Indigo -- */ + +* { +shade1: #1A237E; +shade2: #283593; +shade3: #303F9F; +shade4: #3949AB; +shade5: #3F51B5; +shade6: #5C6BC0; +shade7: #7986CB; +shade8: #9FA8DA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Light_blue.rasi b/cfg/rofi/launchers/slate/styles/Light_blue.rasi new file mode 100644 index 0000000..df7b9a2 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Light_blue.rasi @@ -0,0 +1,36 @@ +/* -- Light Blue -- */ + +* { +shade1: #01579B; +shade2: #0277BD; +shade3: #0288D1; +shade4: #039BE5; +shade5: #03A9F4; +shade6: #29B6F6; +shade7: #4FC3F7; +shade8: #81D4FA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Light_green.rasi b/cfg/rofi/launchers/slate/styles/Light_green.rasi new file mode 100644 index 0000000..39738ea --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Light_green.rasi @@ -0,0 +1,36 @@ +/* -- Light Green -- */ + +* { +shade1: #33691E; +shade2: #558B2F; +shade3: #689F38; +shade4: #7CB342; +shade5: #8BC34A; +shade6: #9CCC65; +shade7: #AED581; +shade8: #C5E1A5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Lime.rasi b/cfg/rofi/launchers/slate/styles/Lime.rasi new file mode 100644 index 0000000..a688a10 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Lime.rasi @@ -0,0 +1,36 @@ +/* -- Lime -- */ + +* { +shade1: #827717; +shade2: #9E9D24; +shade3: #AFB42B; +shade4: #C0CA33; +shade5: #CDDC39; +shade6: #D4E157; +shade7: #DCE775; +shade8: #E6EE9C; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #252525; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Orange.rasi b/cfg/rofi/launchers/slate/styles/Orange.rasi new file mode 100644 index 0000000..a6cdc35 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Orange.rasi @@ -0,0 +1,36 @@ +/* -- Orange -- */ + +* { +shade1: #E65100; +shade2: #EF6C00; +shade3: #F57C00; +shade4: #FB8C00; +shade5: #FF9800; +shade6: #FFA726; +shade7: #FFB74D; +shade8: #FFCC80; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #202020; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Pink.rasi b/cfg/rofi/launchers/slate/styles/Pink.rasi new file mode 100644 index 0000000..a15e577 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Pink.rasi @@ -0,0 +1,36 @@ +/* -- Pink -- */ + +* { +shade1: #880E4F; +shade2: #AD1457; +shade3: #C2185B; +shade4: #D81B60; +shade5: #E91E63; +shade6: #EC407A; +shade7: #F06292; +shade8: #F48FB1; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Purple.rasi b/cfg/rofi/launchers/slate/styles/Purple.rasi new file mode 100644 index 0000000..2268fe5 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Purple.rasi @@ -0,0 +1,36 @@ +/* -- Purple -- */ + +* { +shade1: #4A148C; +shade2: #6A1B9A; +shade3: #7B1FA2; +shade4: #8E24AA; +shade5: #9C27B0; +shade6: #AB47BC; +shade7: #BA68C8; +shade8: #CE93D8; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Red.rasi b/cfg/rofi/launchers/slate/styles/Red.rasi new file mode 100644 index 0000000..ea14821 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Red.rasi @@ -0,0 +1,36 @@ +/* -- Red -- */ + +* { +shade1: #B71C1C; +shade2: #C62828; +shade3: #D32F2F; +shade4: #E53935; +shade5: #EE413D; +shade6: #EF5350; +shade7: #E57373; +shade8: #EF9A9A; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Teal.rasi b/cfg/rofi/launchers/slate/styles/Teal.rasi new file mode 100644 index 0000000..8ac9c03 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Teal.rasi @@ -0,0 +1,36 @@ +/* -- Teal -- */ + +* { +shade1: #004D40; +shade2: #00695C; +shade3: #00796B; +shade4: #00897B; +shade5: #009688; +shade6: #26A69A; +shade7: #4DB6AC; +shade8: #80CBC4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/Yellow.rasi b/cfg/rofi/launchers/slate/styles/Yellow.rasi new file mode 100644 index 0000000..ce28546 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/Yellow.rasi @@ -0,0 +1,36 @@ +/* -- Yellow -- */ + +* { +shade1: #F57F17; +shade2: #F9A825; +shade3: #FBC02D; +shade4: #FDD835; +shade5: #FFEB3B; +shade6: #FFEE58; +shade7: #FFF176; +shade8: #FFF59D; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #353535; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #505050; + urgent: #DA4453; +} diff --git a/cfg/rofi/launchers/slate/styles/colors.rasi b/cfg/rofi/launchers/slate/styles/colors.rasi new file mode 100644 index 0000000..e2dce38 --- /dev/null +++ b/cfg/rofi/launchers/slate/styles/colors.rasi @@ -0,0 +1,12 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * Amber Blue Blue_gray Black Brown Cyan Deep_orange + * Deep_purple Gray Green Indigo Light_blue Light_green Lime + * Orange Pink Purple Red Teal Yellow + * + */ + +@import "Deep_purple.rasi" diff --git a/cfg/rofi/launchers/text/launcher.sh b/cfg/rofi/launchers/text/launcher.sh new file mode 100755 index 0000000..b5c28a6 --- /dev/null +++ b/cfg/rofi/launchers/text/launcher.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 style_7 + +theme="style_2" + +dir="$HOME/.config/rofi/launchers/text" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 10 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 7 ))]}" + +rofi -no-lazy-grab -show drun \ +-modi run,drun,window \ +-theme $dir/"$theme" + diff --git a/cfg/rofi/launchers/text/style_1.rasi b/cfg/rofi/launchers/text/style_1.rasi new file mode 100644 index 0000000..d30e6df --- /dev/null +++ b/cfg/rofi/launchers/text/style_1.rasi @@ -0,0 +1,175 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 12px; + padding: 40; + width: 50%; + height: 50%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 10; + columns: 2; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 4px 0px 0px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + padding: 1px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @ac; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @ac; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 20px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 20px; + border-color: @fg; +} + +button selected { + text-color: @fg; + border: 3px; + border-radius: 20px; + border-color: @ac; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_2.rasi b/cfg/rofi/launchers/text/style_2.rasi new file mode 100644 index 0000000..5b233ef --- /dev/null +++ b/cfg/rofi/launchers/text/style_2.rasi @@ -0,0 +1,177 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 30; + width: 20%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 15; + columns: 1; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_3.rasi b/cfg/rofi/launchers/text/style_3.rasi new file mode 100644 index 0000000..9578ade --- /dev/null +++ b/cfg/rofi/launchers/text/style_3.rasi @@ -0,0 +1,177 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 15; + width: 20%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 6; + columns: 1; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_4.rasi b/cfg/rofi/launchers/text/style_4.rasi new file mode 100644 index 0000000..451b36f --- /dev/null +++ b/cfg/rofi/launchers/text/style_4.rasi @@ -0,0 +1,179 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + location: 1; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 30; + width: 20%; + height: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 15; + columns: 1; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 15px 5px 0px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_5.rasi b/cfg/rofi/launchers/text/style_5.rasi new file mode 100644 index 0000000..9d73106 --- /dev/null +++ b/cfg/rofi/launchers/text/style_5.rasi @@ -0,0 +1,181 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 300px; + width: 100%; + height: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 5; + columns: 3; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 25px 5px -20px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 4px; + border-radius: 4px; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @fg; + border-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @se; + margin: 5px; + padding: 15px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @bg; + text-color: @fg; + border: 4px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_6.rasi b/cfg/rofi/launchers/text/style_6.rasi new file mode 100644 index 0000000..48ac207 --- /dev/null +++ b/cfg/rofi/launchers/text/style_6.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 30%; + width: 100%; + height: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 10; + columns: 1; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 35px 5px 25px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + border-radius: 100%; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @fg; + margin: 0px 5px 0px 5px; + padding: 15px; + text-color: @bg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/style_7.rasi b/cfg/rofi/launchers/text/style_7.rasi new file mode 100644 index 0000000..7915fb0 --- /dev/null +++ b/cfg/rofi/launchers/text/style_7.rasi @@ -0,0 +1,177 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 20px; + padding: 30; + width: 40%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + lines: 10; + columns: 2; + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element-text, element-icon { + background-color: #00000000; + text-color: inherit; +} + +element { + border: 0px; + border-radius: 100%; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/cfg/rofi/launchers/text/styles/berry.rasi b/cfg/rofi/launchers/text/styles/berry.rasi new file mode 100644 index 0000000..65ab4f1 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/berry.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #280F28ff; + se: #2D142Cff; + fg: #ffffffA6; + ac: #EE4540ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/black.rasi b/cfg/rofi/launchers/text/styles/black.rasi new file mode 100644 index 0000000..77366f1 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/black.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #101010ff; + se: #151515ff; + fg: #f5f5f5ff; + ac: #42A5F5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/bluish.rasi b/cfg/rofi/launchers/text/styles/bluish.rasi new file mode 100644 index 0000000..ad8b84f --- /dev/null +++ b/cfg/rofi/launchers/text/styles/bluish.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #EFF0F1FF; + se: #E3E3E3FF; + fg: #000000A6; + ac: #000B83FF; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/cocoa.rasi b/cfg/rofi/launchers/text/styles/cocoa.rasi new file mode 100644 index 0000000..3c641a4 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/cocoa.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3C3945FF; + se: #413E4Aff; + fg: #F7C7B2ff; + ac: #B38184ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/colors.rasi b/cfg/rofi/launchers/text/styles/colors.rasi new file mode 100644 index 0000000..8d14819 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/colors.rasi @@ -0,0 +1,11 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * black white + * + */ + +@import "nordic.rasi" diff --git a/cfg/rofi/launchers/text/styles/faded.rasi b/cfg/rofi/launchers/text/styles/faded.rasi new file mode 100644 index 0000000..c9567e0 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/faded.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #57678CFF; + se: #5E6C91ff; + fg: #FFFCFFff; + ac: #FF83A7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/gotham.rasi b/cfg/rofi/launchers/text/styles/gotham.rasi new file mode 100644 index 0000000..4d13693 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/gotham.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #24334Aff; + se: #29384Fff; + fg: #FEFFF1ff; + ac: #3A6081ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/mask.rasi b/cfg/rofi/launchers/text/styles/mask.rasi new file mode 100644 index 0000000..afb1cfa --- /dev/null +++ b/cfg/rofi/launchers/text/styles/mask.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3E4667ff; + se: #434C6Dff; + fg: #FAF7CCff; + ac: #CA8CA5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/nightly.rasi b/cfg/rofi/launchers/text/styles/nightly.rasi new file mode 100644 index 0000000..75d3a00 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/nightly.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #25344Bff; + se: #2A3950ff; + fg: #FEFFF1ff; + ac: #A162F7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/nordic.rasi b/cfg/rofi/launchers/text/styles/nordic.rasi new file mode 100644 index 0000000..8ff9560 --- /dev/null +++ b/cfg/rofi/launchers/text/styles/nordic.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #425775ff; + se: #475C7Bff; + fg: #ffffffcc; + ac: #FDBB6Dff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/launchers/text/styles/white.rasi b/cfg/rofi/launchers/text/styles/white.rasi new file mode 100644 index 0000000..48f1c8c --- /dev/null +++ b/cfg/rofi/launchers/text/styles/white.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #ffffffff; + se: #f5f5f5ff; + fg: #000000ff; + ac: #2900D0ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/cfg/rofi/powermenu/card_alt.rasi b/cfg/rofi/powermenu/card_alt.rasi new file mode 100644 index 0000000..11d082f --- /dev/null +++ b/cfg/rofi/powermenu/card_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0%; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 1%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 4%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 4.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/card_circle.rasi b/cfg/rofi/powermenu/card_circle.rasi new file mode 100644 index 0000000..90a77fc --- /dev/null +++ b/cfg/rofi/powermenu/card_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 0% 100% 100% 100%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 4.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/card_rounded.rasi b/cfg/rofi/powermenu/card_rounded.rasi new file mode 100644 index 0000000..6ed2e37 --- /dev/null +++ b/cfg/rofi/powermenu/card_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 12px; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 4.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/card_square.rasi b/cfg/rofi/powermenu/card_square.rasi new file mode 100644 index 0000000..d07f362 --- /dev/null +++ b/cfg/rofi/powermenu/card_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.2%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 4.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.2%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/column_alt.rasi b/cfg/rofi/powermenu/column_alt.rasi new file mode 100644 index 0000000..f053522 --- /dev/null +++ b/cfg/rofi/powermenu/column_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 1.5%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 5%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 5% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @border; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/column_circle.rasi b/cfg/rofi/powermenu/column_circle.rasi new file mode 100644 index 0000000..707b705 --- /dev/null +++ b/cfg/rofi/powermenu/column_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 5% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/column_rounded.rasi b/cfg/rofi/powermenu/column_rounded.rasi new file mode 100644 index 0000000..e038337 --- /dev/null +++ b/cfg/rofi/powermenu/column_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 25px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 5% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/column_square.rasi b/cfg/rofi/powermenu/column_square.rasi new file mode 100644 index 0000000..1680805 --- /dev/null +++ b/cfg/rofi/powermenu/column_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 5% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/confirm.rasi b/cfg/rofi/powermenu/confirm.rasi new file mode 100644 index 0000000..9a5bba6 --- /dev/null +++ b/cfg/rofi/powermenu/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 225px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/cfg/rofi/powermenu/dock_alt.rasi b/cfg/rofi/powermenu/dock_alt.rasi new file mode 100644 index 0000000..64128e8 --- /dev/null +++ b/cfg/rofi/powermenu/dock_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/dock_circle.rasi b/cfg/rofi/powermenu/dock_circle.rasi new file mode 100644 index 0000000..6b3bab0 --- /dev/null +++ b/cfg/rofi/powermenu/dock_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/dock_rounded.rasi b/cfg/rofi/powermenu/dock_rounded.rasi new file mode 100644 index 0000000..eae060d --- /dev/null +++ b/cfg/rofi/powermenu/dock_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/dock_square.rasi b/cfg/rofi/powermenu/dock_square.rasi new file mode 100644 index 0000000..5641281 --- /dev/null +++ b/cfg/rofi/powermenu/dock_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/drop_alt.rasi b/cfg/rofi/powermenu/drop_alt.rasi new file mode 100644 index 0000000..692ecf3 --- /dev/null +++ b/cfg/rofi/powermenu/drop_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/drop_circle.rasi b/cfg/rofi/powermenu/drop_circle.rasi new file mode 100644 index 0000000..67d6ce6 --- /dev/null +++ b/cfg/rofi/powermenu/drop_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/drop_rounded.rasi b/cfg/rofi/powermenu/drop_rounded.rasi new file mode 100644 index 0000000..4052adc --- /dev/null +++ b/cfg/rofi/powermenu/drop_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/drop_square.rasi b/cfg/rofi/powermenu/drop_square.rasi new file mode 100644 index 0000000..b4ae903 --- /dev/null +++ b/cfg/rofi/powermenu/drop_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/full_alt.rasi b/cfg/rofi/powermenu/full_alt.rasi new file mode 100644 index 0000000..ad16c00 --- /dev/null +++ b/cfg/rofi/powermenu/full_alt.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 1%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 5%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/full_circle.rasi b/cfg/rofi/powermenu/full_circle.rasi new file mode 100644 index 0000000..3819d8e --- /dev/null +++ b/cfg/rofi/powermenu/full_circle.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0% 0.2%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/full_rounded.rasi b/cfg/rofi/powermenu/full_rounded.rasi new file mode 100644 index 0000000..6a7bef1 --- /dev/null +++ b/cfg/rofi/powermenu/full_rounded.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 15px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/full_square.rasi b/cfg/rofi/powermenu/full_square.rasi new file mode 100644 index 0000000..d9569b2 --- /dev/null +++ b/cfg/rofi/powermenu/full_square.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/message.rasi b/cfg/rofi/powermenu/message.rasi new file mode 100644 index 0000000..37e035e --- /dev/null +++ b/cfg/rofi/powermenu/message.rasi @@ -0,0 +1,24 @@ +/* Message Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 360px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/cfg/rofi/powermenu/powermenu.sh b/cfg/rofi/powermenu/powermenu.sh new file mode 100755 index 0000000..9b444f4 --- /dev/null +++ b/cfg/rofi/powermenu/powermenu.sh @@ -0,0 +1,117 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# column_circle column_square column_rounded column_alt +# card_circle card_square card_rounded card_alt +# dock_circle dock_square dock_rounded dock_alt +# drop_circle drop_square drop_rounded drop_alt +# full_circle full_square full_rounded full_alt +# row_circle row_square row_rounded row_alt + +theme="full_circle" +dir="$HOME/.config/rofi/powermenu" + +# random colors +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) +theme="${themes[$(( $RANDOM % 24 ))]}" + +uptime=$(uptime -p | sed -e 's/up //g') + +rofi_command="rofi -theme $dir/$theme" + +# 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/cfg/rofi/powermenu/row_alt.rasi b/cfg/rofi/powermenu/row_alt.rasi new file mode 100644 index 0000000..494a785 --- /dev/null +++ b/cfg/rofi/powermenu/row_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 1%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 3%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 3%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/row_circle.rasi b/cfg/rofi/powermenu/row_circle.rasi new file mode 100644 index 0000000..eccf2bb --- /dev/null +++ b/cfg/rofi/powermenu/row_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/row_rounded.rasi b/cfg/rofi/powermenu/row_rounded.rasi new file mode 100644 index 0000000..54f6d63 --- /dev/null +++ b/cfg/rofi/powermenu/row_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.3% 0% 0.3%; + border-radius: 18px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 50px; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.3% 0% 0.3%; + border-radius: 50px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/row_square.rasi b/cfg/rofi/powermenu/row_square.rasi new file mode 100644 index 0000000..56e271d --- /dev/null +++ b/cfg/rofi/powermenu/row_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/cfg/rofi/powermenu/styles/berry.rasi b/cfg/rofi/powermenu/styles/berry.rasi new file mode 100644 index 0000000..025c231 --- /dev/null +++ b/cfg/rofi/powermenu/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #280F28ff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/bluish.rasi b/cfg/rofi/powermenu/styles/bluish.rasi new file mode 100644 index 0000000..2305bd5 --- /dev/null +++ b/cfg/rofi/powermenu/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #E3E3E3FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE9FF; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/cocoa.rasi b/cfg/rofi/powermenu/styles/cocoa.rasi new file mode 100644 index 0000000..31f780d --- /dev/null +++ b/cfg/rofi/powermenu/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #3C3945FF; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/colors.rasi b/cfg/rofi/powermenu/styles/colors.rasi new file mode 100644 index 0000000..a3c4a5a --- /dev/null +++ b/cfg/rofi/powermenu/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "nightly.rasi" diff --git a/cfg/rofi/powermenu/styles/faded.rasi b/cfg/rofi/powermenu/styles/faded.rasi new file mode 100644 index 0000000..0eebd64 --- /dev/null +++ b/cfg/rofi/powermenu/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #57678CFF; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/gotham.rasi b/cfg/rofi/powermenu/styles/gotham.rasi new file mode 100644 index 0000000..2bae381 --- /dev/null +++ b/cfg/rofi/powermenu/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #24334Aff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #3A6081ff; + border-alt: #715979ff; + selected: #C46C854C; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/mask.rasi b/cfg/rofi/powermenu/styles/mask.rasi new file mode 100644 index 0000000..c63ac9e --- /dev/null +++ b/cfg/rofi/powermenu/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #3E4667ff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/nightly.rasi b/cfg/rofi/powermenu/styles/nightly.rasi new file mode 100644 index 0000000..400e6cd --- /dev/null +++ b/cfg/rofi/powermenu/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #25344Bff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/cfg/rofi/powermenu/styles/nordic.rasi b/cfg/rofi/powermenu/styles/nordic.rasi new file mode 100644 index 0000000..953b52e --- /dev/null +++ b/cfg/rofi/powermenu/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #425775ff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} diff --git a/cfg/sxhkd/sxhkdrc b/cfg/sxhkd/sxhkdrc index ea433df..504ad75 100755 --- a/cfg/sxhkd/sxhkdrc +++ b/cfg/sxhkd/sxhkdrc @@ -6,12 +6,12 @@ super + Return kitty # program launcher super + space - rofi -show drun -theme applications -show-icons + ~/.config/rofi/launchers/colorful/launcher.sh # make sxhkd reload its configuration files: super + Escape pkill -USR1 -x sxhkd #screenshot -super + shift + s +super + ctrl + s wackysnap area # EWW Keybinds @@ -135,3 +135,11 @@ super + shift + {Left,Down,Up,Right} dir={west,south,north,east}; \ bspc node -s "$dir.local" --follow \ || bspc node -m "$dir" --follow + +# +#Brightness control +# +XF86MonBrightnessUp + brightnessctl --device='intel_backlight' s +10% +XF86MonBrightnessDown + brightnessctl --device='intel_backlight' s 10%-