diff --git a/README.md b/README.md index 3d09e7a..0e2c869 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,248 @@ -# rofi -Rofi Based Custom Applets And Menus. +--- +title: Rofi Applets & Menus +created: '2020-02-27T07:19:28.048Z' +modified: '2020-02-28T10:55:03.989Z' +--- + +# Rofi Applets & Menus + +

+ + + + + +

+ +A collection of custom *applets* and *menus* made using [rofi](https://github.com/davatorium/rofi) and its dmenu emulation, inspired by [rofi-menus](https://gitlab.com/vahnrr/rofi-menus). + +|Menus|Applets| +|-|-| +|![gif](images/menus/0.gif)|![gif](images/applets/0.gif)| + +### Dependencies + +| Applets/Menus | Package(s) | Note | +|------------|--------------------------------------------------------------|-----------| +| Apps | `termite`, `thunar`, `geany`, `firefox`, `lxmusic`, `xfce4-settings-manager` | Or any other softwares you use most, just change this in *~/.config/rofi/scripts/apps.sh* & also in *menu*.| +| Backlight | `xbacklight`, `dunst` | Adjust brightness & Notify. | +| Battery | `acpi` & `xfce4-power-manager-settings` | To get battery info & launch power manager.| +| MPD | `mpd` and `mpc` | `mpc` is a cli based client for `mpd`.| +| Network | `nmcli`, `nmtui`, `bmon`, `nm-connection-editor` & `termite` | `Termite` is required to open `nmtui` & `bmon`, or any other terminal you use, just change this in *~/.config/rofi/scripts/network.sh* & also in *menu*. | +| Powermenu | `systemctl`, `i3lock` | By default `systemctl` is used for most actions, `i3lock` is used for locking, `openbox --exit` is used to log out. you might want to change these commands to match your setup. | +| Quicklinks | `firefox` (or `chromium`) | By default `firefox` is used to open links, you can use any other browser if you want, change accordingly. | +| Screenshot | `scrot` `maim` & `viewnior` | `scrot` to take shot & `viewnior` to open it after taking screenshot, you can change to whatever you use. | +| Time | - | - | +| Volume | `amixer` | To set the volume. | + +### Fonts + ++ **Comfortaa** Used for normal text, ([preview](https://www.dafont.com/comfortaa.font) and [source](https://www.deviantart.com/aajohan/art/Comfortaa-font-105395949)). ++ **Hurmit Nerd Font Mono** Used for icons, ([preview](https://app.programmingfonts.org/#hermit) and [source](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hermit)). + +**Warning:** Do not change the `@icon-font` variable to another font, or you will end up messing with all applets/menus layout. + +### Installation + ++ First of all make sure you have `rofi` installed: +``` bash +# Arch / Arch-based +pacman -S rofi + +# Debian / Ubuntu +apt-get install rofi + +# Fedora +dnf install rofi +``` + ++ Then, clone this repository + +``` +# 1. Go in rofi's config folder +cd ~/.config/rofi + +# 2. Clone this repo +git clone https://github.com/adi1090x/rofi.git + +# 3. Make sure the scripts are executables +cd rofi && chmod +x scripts/* + +# 4. Copy necessary files to the right location +cp -r bin scripts themes config.rasi ~/.config/rofi + +# 5. Clean up rofi's config folder +cd .. && rm -r rofi + +# 6. Call the scripts (from the scripts folder) +cd scripts +./backlight.sh + +# (or from anywhere) +. ~/.config/rofi/scripts/backlight.sh +``` + +### Applets + + + +- **Apps:** Shortcuts for most used applications. +- **Backlight:** Display and adjust screen brightness. +- **Battery:** Display battery percentage & charging-discharging status with dynamic icons. +- **MPD:** Control the song play through [mpd](https://github.com/MusicPlayerDaemon/). +- **Network:** Display Online-Offline status with dynamic icons. +- **Powermenu:** A classic power penu, with Uptime. +- **Quicklinks:** Bookmarks shortcuts for most used sites. +- **Screenshot:** Take screenshots using [scrot](https://github.com/dreamer/scrot). +- **Time:** Display Time, Day & Date. +- **Volume:** Display and control volume with dynamic icons for mute status. + +|Powermenu|Time|Network|Battery| +|--|--|--|--| +|![img](images/applets/1.png)|![img](images/applets/2.png)|![img](images/applets/3.gif)|![img](images/applets/4.gif)| + +|Volume|Backlight|Screenshot|MPD| +|--|--|--|--| +|![img](images/applets/5.gif)|![img](images/applets/6.png)|![img](images/applets/7.png)|![img](images/applets/8.png)| + +|Quicklinks|Apps| +|--|--| +|![img](images/applets/9.png)|![img](images/applets/10.png)| + +### Menus + + + +- **Apps:** Shortcuts for most used applications. +- **Backlight:** Display and adjust screen brightness. +- **Battery:** Display battery percentage & charging-discharging status with dynamic icons. +- **MPD:** Control the song play through [mpd](https://github.com/MusicPlayerDaemon/). +- **Network:** Display SSID, IP, Online-Offline status with dynamic icons. +- **Powermenu:** A classic power penu, shows Uptime, CPU & Memory usages. +- **Quicklinks:** Bookmarks shortcuts for most used sites. +- **Screenshot:** Take screenshots using [scrot](https://github.com/dreamer/scrot). +- **Time:** Display Time, Day, Month, Date. +- **Volume:** Display and control volume with dynamic icons for mute status. + +|Powermenu|Time|Network|Battery| +|--|--|--|--| +|![img](images/menus/1.png)|![img](images/menus/2.png)|![img](images/menus/3.gif)|![img](images/menus/4.gif)| + +|Volume|Backlight|Screenshot|MPD| +|--|--|--|--| +|![img](images/menus/5.gif)|![img](images/menus/6.gif)|![img](images/menus/7.png)|![img](images/menus/8.png)| + +|Quicklinks|Apps| +|--|--| +|![img](images/menus/9.png)|![img](images/menus/10.png)| + +### Colorschemes + +The files are stored in *~/.config/rofi/themes/colorschemes*. +To change the active colorscheme simply change the import line in *~/.config/rofi/themes/colors.rasi*. + +If you wish to change the colorscheme for only one specific applet/menu, you can add the line below after `@import "colors.rasi"` to the *~/.config/rofi/themes/.rasi* or *~/.config/rofi/themes/menu/.rasi* file. + +``` css +@import "colorschemes/.rasi" +``` + +|Material Dark|Material Light| +|--|--| +|![img](images/colors/md.gif)|![img](images/colors/ml.gif)| + +|Adapta-Nokto|Adapta|Arc-Dark|Arc| +|--|--|--|--| +|![img](images/colors/2.png)|![img](images/colors/1.png)|![img](images/colors/4.png)|![img](images/colors/3.png)| + +|adwaita|gruvbox|dark|armchair|darkpink| +|--|--|--|--|--| +|![img](images/colors/5.png)|![img](images/colors/6.png)|![img](images/colors/7.png)|![img](images/colors/8.png)|![img](images/colors/9.png)| + +|fresh|inside|party|sirin|minimo| +|--|--|--|--|--| +|![img](images/colors/10.png)|![img](images/colors/11.png)|![img](images/colors/12.png)|![img](images/colors/13.png)|![img](images/colors/14.png)| + +## Tips + +### Simple way to execute applets/menus + +You can copy links from `bin` folder to your `$PATH` variable so that entering `appsmenu` in the terminal (or executing this command) will summon the appsmenu. you can do it by - + +``` bash +mkdir ~/.bin +cp -r ~/.config/rofi/bin/* ~/.bin +# Add folder to the $PATH variable +echo "PATH=$PATH:~/.bin" >> ~/.profile +``` + +**Note:** after doing this your `$PATH` variable won't be updated, so you will need to log out and then back in to be able to summon the menus this way. + +### Use With polybar + +This is a simple example on how can you use these applets with polybar by adding modules and giving full paths of selected applet like *~/.config/rofi/scripts/backlight.sh* or simply name if you followed the above method - + +```bash +[module/backlight] +type = custom/text +content =  + +content-background = ${color.bg} +content-foreground = ${color.cyan} + +click-left = ~/.config/rofi/scripts/backlight.sh + +## Or... + +[module/backlight] +type = custom/text +content =  + +content-background = ${color.bg} +content-foreground = ${color.green} + +click-left = backlightmenu + +``` + +Here's How it looks on polybar with different colorschemes for each applet... + +

+ +

+ +### Use With i3 + +You can call the scripts by giving their fulls paths like *~/.config/rofi/scripts/.sh* or follow method above to call the menus in one word. Then add these lines to your i3 config file: + +```bash +set $mod Mod4 +set $Alt Mod1 +bindsym $mod+m exec --no-startup-id mpdmenu +bindsym $mod+n exec --no-startup-id networkmenu +bindsym $mod+p exec --no-startup-id ~/.config/rofi/scripts/powermenu.sh +#etc +``` + +### Use With Openbox + +Same thing can be done with openbox by adding these lines to rc.xml file: + +```xml + + + ~/.config/rofi/scripts/mpd.sh + + + + + + mpdmenu + + + +``` + +### Bottom Line ++ PR's, Issues, Contributions are welcome. ++ Have Fun! diff --git a/bin/apps b/bin/apps new file mode 120000 index 0000000..be50a0d --- /dev/null +++ b/bin/apps @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/apps.sh \ No newline at end of file diff --git a/bin/appsmenu b/bin/appsmenu new file mode 120000 index 0000000..1d294ac --- /dev/null +++ b/bin/appsmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_apps.sh \ No newline at end of file diff --git a/bin/backlight b/bin/backlight new file mode 120000 index 0000000..ae3d8c0 --- /dev/null +++ b/bin/backlight @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/backlight.sh \ No newline at end of file diff --git a/bin/backlightmenu b/bin/backlightmenu new file mode 120000 index 0000000..c22825e --- /dev/null +++ b/bin/backlightmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_backlight.sh \ No newline at end of file diff --git a/bin/battery b/bin/battery new file mode 120000 index 0000000..58f0abc --- /dev/null +++ b/bin/battery @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/battery.sh \ No newline at end of file diff --git a/bin/batterymenu b/bin/batterymenu new file mode 120000 index 0000000..5114c45 --- /dev/null +++ b/bin/batterymenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_battery.sh \ No newline at end of file diff --git a/bin/mpd b/bin/mpd new file mode 120000 index 0000000..9d7a78e --- /dev/null +++ b/bin/mpd @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/mpd.sh \ No newline at end of file diff --git a/bin/mpdmenu b/bin/mpdmenu new file mode 120000 index 0000000..7600eef --- /dev/null +++ b/bin/mpdmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_mpd.sh \ No newline at end of file diff --git a/bin/network b/bin/network new file mode 120000 index 0000000..e51588b --- /dev/null +++ b/bin/network @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/network.sh \ No newline at end of file diff --git a/bin/networkmenu b/bin/networkmenu new file mode 120000 index 0000000..b27e7ea --- /dev/null +++ b/bin/networkmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_network.sh \ No newline at end of file diff --git a/bin/power b/bin/power new file mode 120000 index 0000000..8c9bbdd --- /dev/null +++ b/bin/power @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/powermenu.sh \ No newline at end of file diff --git a/bin/powermenu b/bin/powermenu new file mode 120000 index 0000000..dd42703 --- /dev/null +++ b/bin/powermenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_powermenu.sh \ No newline at end of file diff --git a/bin/quicklinks b/bin/quicklinks new file mode 120000 index 0000000..11952c2 --- /dev/null +++ b/bin/quicklinks @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/quicklinks.sh \ No newline at end of file diff --git a/bin/quicklinksmenu b/bin/quicklinksmenu new file mode 120000 index 0000000..d4f1aae --- /dev/null +++ b/bin/quicklinksmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_quicklinks.sh \ No newline at end of file diff --git a/bin/screenshot b/bin/screenshot new file mode 120000 index 0000000..18b38be --- /dev/null +++ b/bin/screenshot @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/screenshot.sh \ No newline at end of file diff --git a/bin/screenshotmenu b/bin/screenshotmenu new file mode 120000 index 0000000..02a1986 --- /dev/null +++ b/bin/screenshotmenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_screenshot.sh \ No newline at end of file diff --git a/bin/time b/bin/time new file mode 120000 index 0000000..4de8305 --- /dev/null +++ b/bin/time @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/time.sh \ No newline at end of file diff --git a/bin/timemenu b/bin/timemenu new file mode 120000 index 0000000..946e891 --- /dev/null +++ b/bin/timemenu @@ -0,0 +1 @@ +/home/aditya/.config/rofi/scripts/menu_time.sh \ No newline at end of file diff --git a/bin/usedcpu b/bin/usedcpu new file mode 100755 index 0000000..9efcb19 --- /dev/null +++ b/bin/usedcpu @@ -0,0 +1,53 @@ +#!/bin/bash + +# Source: http://askubuntu.com/a/450136 + +# I only slightly modify this script to add an option to show icon, useful for my tint2 executor +# Also useful for polybar custom script, dzen2 feeder, conkybar, lemonbar feeder, dunst notify, etc. +# 'usedcpu -i' = with icon, 'usedcpu' = text only +# Cheers! +# Addy + +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/bin/usedram b/bin/usedram new file mode 100755 index 0000000..b28269a --- /dev/null +++ b/bin/usedram @@ -0,0 +1,34 @@ +#!/bin/bash + +# this script is taken from screenfetch +# I only slightly modify this script to add an option to show icon, useful for my tint2 executor +# 'usedram -i' = with icon, 'usedram' = text only +# 'usedram -fi' = full summary with icon, 'usedram' = full summary text only +# Cheers! +# Addy + +mem_info=$(/dev/null; then + if [[ $STATUS == *"enable"* ]]; then + if [[ $IFACE == e* ]]; then + connected="" + else + connected="直" + fi + active="-a 0" + SSID="﬉ $(iwgetid -r)" + PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" + 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/scripts/menu_powermenu.sh b/scripts/menu_powermenu.sh new file mode 100755 index 0000000..33faf69 --- /dev/null +++ b/scripts/menu_powermenu.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/menu/powermenu.rasi" +uptime=$(uptime -p | sed -e 's/up //g') +#mem=$( free -h | grep -i mem | awk -F ' ' '{print $3}') +cpu=$(sh ~/.config/rofi/bin/usedcpu) +memory=$(sh ~/.config/rofi/bin/usedram) + +# Options +shutdown="襤" +reboot="ﰇ" +lock="" +suspend="鈴" +logout="" + +# 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) + systemctl poweroff + ;; + $reboot) + systemctl reboot + ;; + $lock) + i3lock + ;; + $suspend) + mpc -q pause + amixer set Master mute + systemctl suspend + ;; + $logout) + openbox --exit + ;; +esac + diff --git a/scripts/menu_quicklinks.sh b/scripts/menu_quicklinks.sh new file mode 100755 index 0000000..f8b3591 --- /dev/null +++ b/scripts/menu_quicklinks.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/menu/quicklinks.rasi" + +# Links +google="" +facebook="" +twitter="" +github="" +reddit="" +youtube="" + +# Variable passed to rofi +options="$google\n$facebook\n$twitter\n$github\n$reddit\n$youtube" + +chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)" +case $chosen in + $google) + firefox --new-tab https://www.google.com + ;; + $facebook) + firefox --new-tab https://www.facebook.com + ;; + $twitter) + firefox --new-tab https://www.twitter.com + ;; + $github) + firefox --new-tab https://www.github.com + ;; + $reddit) + firefox --new-tab https://www.reddit.com + ;; + $youtube) + firefox --new-tab https://www.youtube.com + ;; +esac + diff --git a/scripts/menu_screenshot.sh b/scripts/menu_screenshot.sh new file mode 100755 index 0000000..5d2e468 --- /dev/null +++ b/scripts/menu_screenshot.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/menu/screenshot.rasi" + +# 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) + sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; + $area) + scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; + $window) + sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; +esac + diff --git a/scripts/menu_time.sh b/scripts/menu_time.sh new file mode 100755 index 0000000..9b30931 --- /dev/null +++ b/scripts/menu_time.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/menu/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/scripts/menu_volume.sh b/scripts/menu_volume.sh new file mode 100755 index 0000000..c740129 --- /dev/null +++ b/scripts/menu_volume.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/menu/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 == *"on"* ]]; then + VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" +else + VOLUME="Muted" +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/scripts/mpd.sh b/scripts/mpd.sh new file mode 100755 index 0000000..c45f866 --- /dev/null +++ b/scripts/mpd.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +rofi_command="rofi -theme themes/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/scripts/network.sh b/scripts/network.sh new file mode 100755 index 0000000..804d67c --- /dev/null +++ b/scripts/network.sh @@ -0,0 +1,65 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/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" + MSG="﬉ Online" + PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" + fi +else + urgent="-u 0" + MSG="Offline" + 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 "$MSG" -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/scripts/powermenu.sh b/scripts/powermenu.sh new file mode 100755 index 0000000..91cc22d --- /dev/null +++ b/scripts/powermenu.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/powermenu.rasi" +uptime=$(uptime -p | sed -e 's/up //g') + +# Options +shutdown="襤" +reboot="ﰇ" +lock="" +suspend="鈴" +logout="" + +# 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) + systemctl poweroff + ;; + $reboot) + systemctl reboot + ;; + $lock) + i3lock + ;; + $suspend) + mpc -q pause + amixer set Master mute + systemctl suspend + ;; + $logout) + openbox --exit + ;; +esac + diff --git a/scripts/quicklinks.sh b/scripts/quicklinks.sh new file mode 100755 index 0000000..dc88268 --- /dev/null +++ b/scripts/quicklinks.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/quicklinks.rasi" + +# Links +google="" +facebook="" +twitter="" +github="" +reddit="" +youtube="" + +# Variable passed to rofi +options="$google\n$facebook\n$twitter\n$github\n$reddit\n$youtube" + +chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)" +case $chosen in + $google) + firefox --new-tab https://www.google.com + ;; + $facebook) + firefox --new-tab https://www.facebook.com + ;; + $twitter) + firefox --new-tab https://www.twitter.com + ;; + $github) + firefox --new-tab https://www.github.com + ;; + $reddit) + firefox --new-tab https://www.reddit.com + ;; + $youtube) + firefox --new-tab https://www.youtube.com + ;; +esac + diff --git a/scripts/screenshot.sh b/scripts/screenshot.sh new file mode 100755 index 0000000..2e72072 --- /dev/null +++ b/scripts/screenshot.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/screenshot.rasi" + +# Options +screen="" +area="" +window="" + +# Variable passed to rofi +options="$screen\n$area\n$window" + +chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)" +case $chosen in + $screen) + sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; + $area) + scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; + $window) + sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' + ;; +esac + diff --git a/scripts/time.sh b/scripts/time.sh new file mode 100755 index 0000000..b38be52 --- /dev/null +++ b/scripts/time.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/time.rasi" + +## Get time and date +TIME="$(date +"%A, %I:%M %p")" +DAY="$(date +"%d")" +MONTH="$(date +"%m")" +YEAR="$(date +"%Y")" + +options="$DAY\n$MONTH\n$YEAR" + +## Main +chosen="$(echo -e "$options" | $rofi_command -p " $TIME" -dmenu -selected-row 1)" diff --git a/scripts/volume.sh b/scripts/volume.sh new file mode 100755 index 0000000..1b469db --- /dev/null +++ b/scripts/volume.sh @@ -0,0 +1,55 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +rofi_command="rofi -theme themes/volume.rasi" + +## Get Volume +#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') +MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') + +active="" +urgent="" + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"off"* ]]; then + active="-a 1" +else + urgent="-u 1" +fi + +if [[ $MUTE == *"on"* ]]; then + VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" +else + VOLUME="Mu..." +fi + +## Icons +ICON_UP="ﱛ" +ICON_DOWN="ﱜ" +ICON_MUTED="ﱝ" + +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/themes/apps.rasi b/themes/apps.rasi new file mode 100644 index 0000000..de727aa --- /dev/null +++ b/themes/apps.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 3px 8px -1px -40px; +} + +/* ########### */ + +#window { + width: 34.5%; + height: 20%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Apps"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/backlight.rasi b/themes/backlight.rasi new file mode 100644 index 0000000..b8914cd --- /dev/null +++ b/themes/backlight.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 3px 8px -1px -40px; +} + +/* ########### */ + +#window { + width: 18%; + height: 20%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Brightness"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/battery.rasi b/themes/battery.rasi new file mode 100644 index 0000000..6a2bd0a --- /dev/null +++ b/themes/battery.rasi @@ -0,0 +1,127 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 10px 15px 5px -35px; +} + +/* ########### */ + +#window { + width: 16.5%; + height: 19%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Battery"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + background-color: @off; + text-color: @background; + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + background-color: @on; + text-color: @background; + border-color: @accent; +} + diff --git a/themes/colors.rasi b/themes/colors.rasi new file mode 100644 index 0000000..51b2e19 --- /dev/null +++ b/themes/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 "colorschemes/dark.rasi" diff --git a/themes/colorschemes/adapta-nokto.rasi b/themes/colorschemes/adapta-nokto.rasi new file mode 100644 index 0000000..3c4ef95 --- /dev/null +++ b/themes/colorschemes/adapta-nokto.rasi @@ -0,0 +1,8 @@ +* { + accent: #00BCD4; + background: #263238; + background-light: #293840; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/themes/colorschemes/adapta.rasi b/themes/colorschemes/adapta.rasi new file mode 100644 index 0000000..c1c9999 --- /dev/null +++ b/themes/colorschemes/adapta.rasi @@ -0,0 +1,8 @@ +* { + accent: #00ADC2; + background: #FFFFFF; + background-light: #E7E7E7; + foreground: #535353; + on: #44ad4d; + off: #e34039; +} diff --git a/themes/colorschemes/adwaita.rasi b/themes/colorschemes/adwaita.rasi new file mode 100644 index 0000000..81cd482 --- /dev/null +++ b/themes/colorschemes/adwaita.rasi @@ -0,0 +1,8 @@ +* { + accent: #2E6BB6; + background: #2D2D2D; + background-light: #353535; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/themes/colorschemes/arc-dark.rasi b/themes/colorschemes/arc-dark.rasi new file mode 100644 index 0000000..41f775f --- /dev/null +++ b/themes/colorschemes/arc-dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #6BA0DE; + background: #383C4A; + background-light: #404552; + foreground: #E4E4E4; + on: #44ad4d; + off: #e34039; +} diff --git a/themes/colorschemes/arc.rasi b/themes/colorschemes/arc.rasi new file mode 100644 index 0000000..a5c211b --- /dev/null +++ b/themes/colorschemes/arc.rasi @@ -0,0 +1,8 @@ +* { + accent: #5294E2; + background: #FFFFFF; + background-light: #E7E8EB; + foreground: #333333; + on: #44ad4d; + off: #e34039; +} diff --git a/themes/colorschemes/armchair.rasi b/themes/colorschemes/armchair.rasi new file mode 100644 index 0000000..93a9e2f --- /dev/null +++ b/themes/colorschemes/armchair.rasi @@ -0,0 +1,8 @@ +* { + accent: #E85A50; + background: #EAE8DC; + background-light: #E4D9C8; + foreground: #8E8D89; + on: #66bb6a; + off: #F68887; +} diff --git a/themes/colorschemes/dark.rasi b/themes/colorschemes/dark.rasi new file mode 100644 index 0000000..162207b --- /dev/null +++ b/themes/colorschemes/dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #A9C03F; + background: #141c21; + background-light: #1C252A; + foreground: #93a1a1; + on: #5BB462; + off: #DE635E; +} diff --git a/themes/colorschemes/darkpink.rasi b/themes/colorschemes/darkpink.rasi new file mode 100644 index 0000000..3bae851 --- /dev/null +++ b/themes/colorschemes/darkpink.rasi @@ -0,0 +1,8 @@ +* { + accent: #F75176; + background: #414656; + background-light: #4B5060; + foreground: #F2F7E3; + on: #CDF0D9; + off: #FF796A; +} diff --git a/themes/colorschemes/fresh.rasi b/themes/colorschemes/fresh.rasi new file mode 100644 index 0000000..a19ceb1 --- /dev/null +++ b/themes/colorschemes/fresh.rasi @@ -0,0 +1,8 @@ +* { + accent: #043968; + background: #5CDB94; + background-light: #59C78A; + foreground: #303030; + on: #2e7d32; + off: #d32f2f; +} diff --git a/themes/colorschemes/gruvbox.rasi b/themes/colorschemes/gruvbox.rasi new file mode 100644 index 0000000..9f686f0 --- /dev/null +++ b/themes/colorschemes/gruvbox.rasi @@ -0,0 +1,8 @@ +* { + accent: #83a598; + background: #282828; + background-light: #303030; + foreground: #ebdbb2; + on: #44ad4d; + off: #fb4934; +} diff --git a/themes/colorschemes/inside.rasi b/themes/colorschemes/inside.rasi new file mode 100644 index 0000000..8436894 --- /dev/null +++ b/themes/colorschemes/inside.rasi @@ -0,0 +1,8 @@ +* { + accent: #C7493A; + background: #151515; + background-light: #202020; + foreground: #AD8174; + on: #689775; + off: #A33327; +} diff --git a/themes/colorschemes/material-dark/amber.rasi b/themes/colorschemes/material-dark/amber.rasi new file mode 100644 index 0000000..14cbfcd --- /dev/null +++ b/themes/colorschemes/material-dark/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffc107; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/blue.rasi b/themes/colorschemes/material-dark/blue.rasi new file mode 100644 index 0000000..821e449 --- /dev/null +++ b/themes/colorschemes/material-dark/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1e88e5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/blue_grey.rasi b/themes/colorschemes/material-dark/blue_grey.rasi new file mode 100644 index 0000000..d810c0d --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-dark/brown.rasi b/themes/colorschemes/material-dark/brown.rasi new file mode 100644 index 0000000..edf7633 --- /dev/null +++ b/themes/colorschemes/material-dark/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #8d6e63; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/cyan.rasi b/themes/colorschemes/material-dark/cyan.rasi new file mode 100644 index 0000000..8de289c --- /dev/null +++ b/themes/colorschemes/material-dark/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #26c6da; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/deep_orange.rasi b/themes/colorschemes/material-dark/deep_orange.rasi new file mode 100644 index 0000000..6c061b3 --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-dark/deep_purple.rasi b/themes/colorschemes/material-dark/deep_purple.rasi new file mode 100644 index 0000000..d30571e --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-dark/green.rasi b/themes/colorschemes/material-dark/green.rasi new file mode 100644 index 0000000..674280b --- /dev/null +++ b/themes/colorschemes/material-dark/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #4caf50; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #a5d6a7; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/grey.rasi b/themes/colorschemes/material-dark/grey.rasi new file mode 100644 index 0000000..6c5e57c --- /dev/null +++ b/themes/colorschemes/material-dark/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #9e9e9e; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/indigo.rasi b/themes/colorschemes/material-dark/indigo.rasi new file mode 100644 index 0000000..8f89719 --- /dev/null +++ b/themes/colorschemes/material-dark/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #5c6bc0; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/light_blue.rasi b/themes/colorschemes/material-dark/light_blue.rasi new file mode 100644 index 0000000..d3f4e1b --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-dark/light_green.rasi b/themes/colorschemes/material-dark/light_green.rasi new file mode 100644 index 0000000..5afdf7a --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-dark/lime.rasi b/themes/colorschemes/material-dark/lime.rasi new file mode 100644 index 0000000..c32550e --- /dev/null +++ b/themes/colorschemes/material-dark/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #cddc39; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/orange.rasi b/themes/colorschemes/material-dark/orange.rasi new file mode 100644 index 0000000..2f26952 --- /dev/null +++ b/themes/colorschemes/material-dark/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff9800; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/pink.rasi b/themes/colorschemes/material-dark/pink.rasi new file mode 100644 index 0000000..ef7a0af --- /dev/null +++ b/themes/colorschemes/material-dark/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #ec407a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/purple.rasi b/themes/colorschemes/material-dark/purple.rasi new file mode 100644 index 0000000..a1dd6d4 --- /dev/null +++ b/themes/colorschemes/material-dark/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #ab47bc; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/red.rasi b/themes/colorschemes/material-dark/red.rasi new file mode 100644 index 0000000..f5d3862 --- /dev/null +++ b/themes/colorschemes/material-dark/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef5350; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef9a9a; +} diff --git a/themes/colorschemes/material-dark/teal.rasi b/themes/colorschemes/material-dark/teal.rasi new file mode 100644 index 0000000..e6cdb73 --- /dev/null +++ b/themes/colorschemes/material-dark/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #009688; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-dark/yellow.rasi b/themes/colorschemes/material-dark/yellow.rasi new file mode 100644 index 0000000..d2788b0 --- /dev/null +++ b/themes/colorschemes/material-dark/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffeb3b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/amber.rasi b/themes/colorschemes/material-light/amber.rasi new file mode 100644 index 0000000..c02ae2a --- /dev/null +++ b/themes/colorschemes/material-light/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff8f00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/blue.rasi b/themes/colorschemes/material-light/blue.rasi new file mode 100644 index 0000000..780663e --- /dev/null +++ b/themes/colorschemes/material-light/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1565c0; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/blue_grey.rasi b/themes/colorschemes/material-light/blue_grey.rasi new file mode 100644 index 0000000..8e15a53 --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-light/brown.rasi b/themes/colorschemes/material-light/brown.rasi new file mode 100644 index 0000000..3f7d39f --- /dev/null +++ b/themes/colorschemes/material-light/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #795548; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/cyan.rasi b/themes/colorschemes/material-light/cyan.rasi new file mode 100644 index 0000000..d879af0 --- /dev/null +++ b/themes/colorschemes/material-light/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #00acc1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/deep_orange.rasi b/themes/colorschemes/material-light/deep_orange.rasi new file mode 100644 index 0000000..23f5815 --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-light/deep_purple.rasi b/themes/colorschemes/material-light/deep_purple.rasi new file mode 100644 index 0000000..cc5ec7d --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-light/green.rasi b/themes/colorschemes/material-light/green.rasi new file mode 100644 index 0000000..f476e01 --- /dev/null +++ b/themes/colorschemes/material-light/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #43a047; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/grey.rasi b/themes/colorschemes/material-light/grey.rasi new file mode 100644 index 0000000..6936929 --- /dev/null +++ b/themes/colorschemes/material-light/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #555555; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/indigo.rasi b/themes/colorschemes/material-light/indigo.rasi new file mode 100644 index 0000000..f0508c3 --- /dev/null +++ b/themes/colorschemes/material-light/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #3949ab; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/light_blue.rasi b/themes/colorschemes/material-light/light_blue.rasi new file mode 100644 index 0000000..a0db87a --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-light/light_green.rasi b/themes/colorschemes/material-light/light_green.rasi new file mode 100644 index 0000000..0e33cef --- /dev/null +++ b/themes/colorschemes/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/themes/colorschemes/material-light/lime.rasi b/themes/colorschemes/material-light/lime.rasi new file mode 100644 index 0000000..044eb62 --- /dev/null +++ b/themes/colorschemes/material-light/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #afb42b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/orange.rasi b/themes/colorschemes/material-light/orange.rasi new file mode 100644 index 0000000..072c9e2 --- /dev/null +++ b/themes/colorschemes/material-light/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef6c00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/pink.rasi b/themes/colorschemes/material-light/pink.rasi new file mode 100644 index 0000000..e17d94d --- /dev/null +++ b/themes/colorschemes/material-light/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #d81b60; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/purple.rasi b/themes/colorschemes/material-light/purple.rasi new file mode 100644 index 0000000..fa95bb9 --- /dev/null +++ b/themes/colorschemes/material-light/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #8e24aa; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/red.rasi b/themes/colorschemes/material-light/red.rasi new file mode 100644 index 0000000..d3ebcc0 --- /dev/null +++ b/themes/colorschemes/material-light/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #d32f2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/teal.rasi b/themes/colorschemes/material-light/teal.rasi new file mode 100644 index 0000000..b137892 --- /dev/null +++ b/themes/colorschemes/material-light/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #00796b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/material-light/yellow.rasi b/themes/colorschemes/material-light/yellow.rasi new file mode 100644 index 0000000..8f68244 --- /dev/null +++ b/themes/colorschemes/material-light/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #f9a825; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/themes/colorschemes/minimo.rasi b/themes/colorschemes/minimo.rasi new file mode 100644 index 0000000..b6fa284 --- /dev/null +++ b/themes/colorschemes/minimo.rasi @@ -0,0 +1,8 @@ +* { + accent: #656565; + background: #C6C6C4; + background-light: #FFFFFF; + foreground: #909090; + on: #226827; + off: #682226; +} diff --git a/themes/colorschemes/party.rasi b/themes/colorschemes/party.rasi new file mode 100644 index 0000000..d8ea9af --- /dev/null +++ b/themes/colorschemes/party.rasi @@ -0,0 +1,8 @@ +* { + accent: #FFE401; + background: #272727; + background-light: #323232; + foreground: #747474; + on: #13A76B; + off: #FF652F; +} diff --git a/themes/colorschemes/sirin.rasi b/themes/colorschemes/sirin.rasi new file mode 100644 index 0000000..302cbce --- /dev/null +++ b/themes/colorschemes/sirin.rasi @@ -0,0 +1,8 @@ +* { + accent: #106466; + background: #FFCB9B; + background-light: #D8B08C; + foreground: #2C3532; + on: #43a047; + off: #ef5350; +} diff --git a/themes/menu/apps.rasi b/themes/menu/apps.rasi new file mode 100644 index 0000000..14e1dde --- /dev/null +++ b/themes/menu/apps.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 25px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 66%; + height: 33%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Apps"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/backlight.rasi b/themes/menu/backlight.rasi new file mode 100644 index 0000000..cc56c03 --- /dev/null +++ b/themes/menu/backlight.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 25px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 35.5%; + height: 33%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Brightness"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/battery.rasi b/themes/menu/battery.rasi new file mode 100644 index 0000000..6ea4ce3 --- /dev/null +++ b/themes/menu/battery.rasi @@ -0,0 +1,131 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 40px 50px 35px -25px; +} + +/* ########### */ + +#window { + width: 37.5%; + height: 35%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Battery"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + background-color: @off; + text-color: @background; + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + background-color: @on; + text-color: @background; + border-color: @accent; +} + diff --git a/themes/menu/mpd.rasi b/themes/menu/mpd.rasi new file mode 100644 index 0000000..9eff61c --- /dev/null +++ b/themes/menu/mpd.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 40px 50px 35px -25px; +} + +/* ########### */ + +#window { + width: 70.5%; + height: 35%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "MPD"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/network.rasi b/themes/menu/network.rasi new file mode 100644 index 0000000..78e514e --- /dev/null +++ b/themes/menu/network.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 40px 50px 35px -25px; +} + +/* ########### */ + +#window { + width: 48.5%; + height: 35%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Network"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 4; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/powermenu.rasi b/themes/menu/powermenu.rasi new file mode 100644 index 0000000..bb4242a --- /dev/null +++ b/themes/menu/powermenu.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 25px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 56%; + height: 33%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 5; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/quicklinks.rasi b/themes/menu/quicklinks.rasi new file mode 100644 index 0000000..4b0546c --- /dev/null +++ b/themes/menu/quicklinks.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 25px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 66%; + height: 33%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Quick Links"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/screenshot.rasi b/themes/menu/screenshot.rasi new file mode 100644 index 0000000..ee02eb4 --- /dev/null +++ b/themes/menu/screenshot.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 25px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 35.5%; + height: 33%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Screenshot"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/time.rasi b/themes/menu/time.rasi new file mode 100644 index 0000000..6c6f46b --- /dev/null +++ b/themes/menu/time.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 35px 35px 20px -40px; +} + +/* ########### */ + +#window { + width: 49.5%; + height: 35%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Time"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/menu/volume.rasi b/themes/menu/volume.rasi new file mode 100644 index 0000000..ce40dbd --- /dev/null +++ b/themes/menu/volume.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "../colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 14"; + icon-font: "Hurmit Nerd Font Mono 48"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 25px 35px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 40px 50px 35px -25px; +} + +/* ########### */ + +#window { + width: 37.5%; + height: 35%; + anchor: center; + location: center; + x-offset: 0%; + y-offset: 0%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Volume"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/mpd.rasi b/themes/mpd.rasi new file mode 100644 index 0000000..c94f879 --- /dev/null +++ b/themes/mpd.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 10px 15px 5px -35px; +} + +/* ########### */ + +#window { + width: 31%; + height: 19%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "MPD"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/network.rasi b/themes/network.rasi new file mode 100644 index 0000000..93f17be --- /dev/null +++ b/themes/network.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 10px 15px 5px -35px; +} + +/* ########### */ + +#window { + width: 21%; + height: 19%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Network"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 4; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/powermenu.rasi b/themes/powermenu.rasi new file mode 100644 index 0000000..c14eebd --- /dev/null +++ b/themes/powermenu.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 3px 8px -1px -40px; +} + +/* ########### */ + +#window { + width: 29%; + height: 20%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 5; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/quicklinks.rasi b/themes/quicklinks.rasi new file mode 100644 index 0000000..17a2dda --- /dev/null +++ b/themes/quicklinks.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 3px 8px -1px -40px; +} + +/* ########### */ + +#window { + width: 34.5%; + height: 20%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Quick Links"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/screenshot.rasi b/themes/screenshot.rasi new file mode 100644 index 0000000..2063865 --- /dev/null +++ b/themes/screenshot.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 3px 8px -1px -40px; +} + +/* ########### */ + +#window { + width: 18%; + height: 20%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 0px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Screenshot"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/time.rasi b/themes/time.rasi new file mode 100644 index 0000000..ceedce9 --- /dev/null +++ b/themes/time.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 10px; + menu-element-padding: 10px 10px -1px -40px; +} + +/* ########### */ + +#window { + width: 28%; + height: 20.5%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Time"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/themes/volume.rasi b/themes/volume.rasi new file mode 100644 index 0000000..6058422 --- /dev/null +++ b/themes/volume.rasi @@ -0,0 +1,124 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +@import "colors.rasi" + +/* ########### */ + +* { + /* General */ + text-font: "Comfortaa 12"; + icon-font: "Hurmit Nerd Font Mono 32"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + + option-6-listview-spacing: 10px; + + menu-window-padding: 5px 15px; + menu-inputbar-margin: 10px 0px; + menu-prompt-padding: 10px 20px 10px 20px; + menu-prompt-margin: 0px 0px 0px -2px; + menu-element-border: 0px; + menu-element-padding: 10px 15px 5px -35px; +} + +/* ########### */ + +#window { + width: 16.5%; + height: 19%; +} + +/* ########### */ + +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} + +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + +/* ########### */ + +* { + font: @text-font; +} +#window { + padding: @menu-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @menu-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @menu-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @menu-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "Volume"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 3; +} +#element { + font: @icon-font; + border: @menu-element-border; + padding: @menu-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} +