From 906498cf67eb84f97535699bc2ef920e3bb0a98c Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 20 Mar 2025 13:20:46 +0100 Subject: [PATCH] Clean up rofi config --- general/configs/fish/config.fish | 3 + general/configs/rofi/applets/android/apps.sh | 94 --- .../configs/rofi/applets/android/backlight.sh | 84 --- .../configs/rofi/applets/android/colors.rasi | 22 - .../configs/rofi/applets/android/confirm.rasi | 24 - .../configs/rofi/applets/android/five.rasi | 92 --- .../configs/rofi/applets/android/message.rasi | 24 - general/configs/rofi/applets/android/mpd.sh | 76 -- .../configs/rofi/applets/android/powermenu.sh | 94 --- .../rofi/applets/android/quicklinks.sh | 60 -- .../rofi/applets/android/screenshot.sh | 48 -- general/configs/rofi/applets/android/six.rasi | 92 --- .../configs/rofi/applets/android/three.rasi | 92 --- .../configs/rofi/applets/android/volume.sh | 56 -- general/configs/rofi/applets/applets/apps.sh | 95 --- .../configs/rofi/applets/applets/backlight.sh | 86 --- .../configs/rofi/applets/applets/battery.sh | 65 -- .../applets/applets/configs/circle/apps.rasi | 128 ---- .../applets/configs/circle/backlight.rasi | 128 ---- .../applets/configs/circle/battery.rasi | 128 ---- .../applets/applets/configs/circle/mpd.rasi | 128 ---- .../applets/configs/circle/network.rasi | 128 ---- .../applets/configs/circle/powermenu.rasi | 128 ---- .../applets/configs/circle/quicklinks.rasi | 128 ---- .../applets/configs/circle/screenshot.rasi | 128 ---- .../applets/applets/configs/circle/time.rasi | 128 ---- .../applets/configs/circle/volume.rasi | 128 ---- .../applets/applets/configs/rounded/apps.rasi | 128 ---- .../applets/configs/rounded/backlight.rasi | 128 ---- .../applets/configs/rounded/battery.rasi | 128 ---- .../applets/applets/configs/rounded/mpd.rasi | 128 ---- .../applets/configs/rounded/network.rasi | 128 ---- .../applets/configs/rounded/powermenu.rasi | 128 ---- .../applets/configs/rounded/quicklinks.rasi | 128 ---- .../applets/configs/rounded/screenshot.rasi | 128 ---- .../applets/applets/configs/rounded/time.rasi | 128 ---- .../applets/configs/rounded/volume.rasi | 128 ---- .../applets/applets/configs/square/apps.rasi | 127 ---- .../applets/configs/square/backlight.rasi | 127 ---- .../applets/configs/square/battery.rasi | 127 ---- .../applets/applets/configs/square/mpd.rasi | 127 ---- .../applets/configs/square/network.rasi | 127 ---- .../applets/configs/square/powermenu.rasi | 127 ---- .../applets/configs/square/quicklinks.rasi | 127 ---- .../applets/configs/square/screenshot.rasi | 127 ---- .../applets/applets/configs/square/time.rasi | 127 ---- .../applets/configs/square/volume.rasi | 127 ---- general/configs/rofi/applets/applets/mpd.sh | 78 -- .../configs/rofi/applets/applets/network.sh | 68 -- .../configs/rofi/applets/applets/powermenu.sh | 98 --- .../rofi/applets/applets/quicklinks.sh | 62 -- .../rofi/applets/applets/screenshot.sh | 50 -- general/configs/rofi/applets/applets/style.sh | 15 - general/configs/rofi/applets/applets/time.sh | 24 - .../configs/rofi/applets/applets/volume.sh | 58 -- general/configs/rofi/applets/menu/apps.sh | 95 --- .../configs/rofi/applets/menu/backlight.sh | 86 --- general/configs/rofi/applets/menu/battery.sh | 65 -- .../applets/menu/configs/circle/apps.rasi | 128 ---- .../menu/configs/circle/backlight.rasi | 128 ---- .../applets/menu/configs/circle/battery.rasi | 128 ---- .../rofi/applets/menu/configs/circle/mpd.rasi | 128 ---- .../applets/menu/configs/circle/network.rasi | 128 ---- .../menu/configs/circle/powermenu.rasi | 128 ---- .../menu/configs/circle/quicklinks.rasi | 128 ---- .../menu/configs/circle/screenshot.rasi | 128 ---- .../applets/menu/configs/circle/time.rasi | 128 ---- .../applets/menu/configs/circle/volume.rasi | 128 ---- .../applets/menu/configs/rounded/apps.rasi | 128 ---- .../menu/configs/rounded/backlight.rasi | 128 ---- .../applets/menu/configs/rounded/battery.rasi | 128 ---- .../applets/menu/configs/rounded/mpd.rasi | 128 ---- .../applets/menu/configs/rounded/network.rasi | 128 ---- .../menu/configs/rounded/powermenu.rasi | 128 ---- .../menu/configs/rounded/quicklinks.rasi | 128 ---- .../menu/configs/rounded/screenshot.rasi | 128 ---- .../applets/menu/configs/rounded/time.rasi | 128 ---- .../applets/menu/configs/rounded/volume.rasi | 128 ---- .../applets/menu/configs/square/apps.rasi | 127 ---- .../menu/configs/square/backlight.rasi | 127 ---- .../applets/menu/configs/square/battery.rasi | 127 ---- .../rofi/applets/menu/configs/square/mpd.rasi | 127 ---- .../applets/menu/configs/square/network.rasi | 127 ---- .../menu/configs/square/powermenu.rasi | 127 ---- .../menu/configs/square/quicklinks.rasi | 127 ---- .../menu/configs/square/screenshot.rasi | 127 ---- .../applets/menu/configs/square/time.rasi | 127 ---- .../applets/menu/configs/square/volume.rasi | 127 ---- general/configs/rofi/applets/menu/mpd.sh | 78 -- general/configs/rofi/applets/menu/network.sh | 68 -- .../configs/rofi/applets/menu/powermenu.sh | 98 --- .../configs/rofi/applets/menu/quicklinks.sh | 62 -- .../configs/rofi/applets/menu/screenshot.sh | 50 -- general/configs/rofi/applets/menu/style.sh | 15 - general/configs/rofi/applets/menu/time.sh | 24 - general/configs/rofi/applets/menu/volume.sh | 58 -- .../rofi/applets/styles/adapta-nokto.rasi | 8 - .../configs/rofi/applets/styles/adapta.rasi | 8 - .../configs/rofi/applets/styles/adwaita.rasi | 8 - .../configs/rofi/applets/styles/arc-dark.rasi | 8 - general/configs/rofi/applets/styles/arc.rasi | 8 - .../configs/rofi/applets/styles/armchair.rasi | 8 - .../configs/rofi/applets/styles/colors.rasi | 22 - .../configs/rofi/applets/styles/confirm.rasi | 24 - general/configs/rofi/applets/styles/dark.rasi | 8 - .../configs/rofi/applets/styles/darkpink.rasi | 8 - .../configs/rofi/applets/styles/fresh.rasi | 8 - .../configs/rofi/applets/styles/gruvbox.rasi | 8 - .../configs/rofi/applets/styles/inside.rasi | 8 - .../applets/styles/material-dark/amber.rasi | 8 - .../applets/styles/material-dark/blue.rasi | 8 - .../styles/material-dark/blue_grey.rasi | 8 - .../applets/styles/material-dark/brown.rasi | 8 - .../applets/styles/material-dark/cyan.rasi | 8 - .../styles/material-dark/deep_orange.rasi | 8 - .../styles/material-dark/deep_purple.rasi | 8 - .../applets/styles/material-dark/green.rasi | 8 - .../applets/styles/material-dark/grey.rasi | 8 - .../applets/styles/material-dark/indigo.rasi | 8 - .../styles/material-dark/light_blue.rasi | 8 - .../styles/material-dark/light_green.rasi | 8 - .../applets/styles/material-dark/lime.rasi | 8 - .../applets/styles/material-dark/orange.rasi | 8 - .../applets/styles/material-dark/pink.rasi | 8 - .../applets/styles/material-dark/purple.rasi | 8 - .../applets/styles/material-dark/red.rasi | 8 - .../applets/styles/material-dark/teal.rasi | 8 - .../applets/styles/material-dark/yellow.rasi | 8 - .../applets/styles/material-light/amber.rasi | 8 - .../applets/styles/material-light/blue.rasi | 8 - .../styles/material-light/blue_grey.rasi | 8 - .../applets/styles/material-light/brown.rasi | 8 - .../applets/styles/material-light/cyan.rasi | 8 - .../styles/material-light/deep_orange.rasi | 8 - .../styles/material-light/deep_purple.rasi | 8 - .../applets/styles/material-light/green.rasi | 8 - .../applets/styles/material-light/grey.rasi | 8 - .../applets/styles/material-light/indigo.rasi | 8 - .../styles/material-light/light_blue.rasi | 8 - .../styles/material-light/light_green.rasi | 8 - .../applets/styles/material-light/lime.rasi | 8 - .../applets/styles/material-light/orange.rasi | 8 - .../applets/styles/material-light/pink.rasi | 8 - .../applets/styles/material-light/purple.rasi | 8 - .../applets/styles/material-light/red.rasi | 8 - .../applets/styles/material-light/teal.rasi | 8 - .../applets/styles/material-light/yellow.rasi | 8 - .../configs/rofi/applets/styles/message.rasi | 24 - .../configs/rofi/applets/styles/minimo.rasi | 8 - .../configs/rofi/applets/styles/party.rasi | 8 - .../configs/rofi/applets/styles/sirin.rasi | 8 - general/configs/rofi/bin/usedcpu | 45 -- general/configs/rofi/bin/usedram | 27 - general/configs/rofi/global/emoji.rasi | 68 -- general/configs/rofi/global/history.txt | 0 general/configs/rofi/global/icons/ddg.svg | 615 ---------------- general/configs/rofi/global/icons/google.svg | 365 --------- general/configs/rofi/global/icons/history.svg | 75 -- general/configs/rofi/global/icons/result.svg | 57 -- .../configs/rofi/global/icons/suggestion.svg | 1 - general/configs/rofi/global/rofi-spotlight.sh | 692 ------------------ general/configs/rofi/global/rofi.rasi | 162 ---- general/configs/rofi/global/web-search.py | 167 ----- .../configs/rofi/powermenu/drop_square.rasi | 123 ---- general/configs/rofi/powermenu/powermenu.rasi | 93 --- general/configs/rofi/powermenu/powermenu.sh | 70 -- .../configs/rofi/powermenu/styles/berry.rasi | 9 - .../configs/rofi/powermenu/styles/bluish.rasi | 9 - .../configs/rofi/powermenu/styles/cocoa.rasi | 9 - .../configs/rofi/powermenu/styles/colors.rasi | 10 - .../configs/rofi/powermenu/styles/faded.rasi | 9 - .../configs/rofi/powermenu/styles/gotham.rasi | 9 - .../configs/rofi/powermenu/styles/mask.rasi | 9 - .../rofi/powermenu/styles/nightly.rasi | 9 - .../configs/rofi/powermenu/styles/nordic.rasi | 9 - general/configs/rofi/scripts/emoji | 5 - general/configs/rofi/scripts/powermenu.sh | 98 --- general/configs/rofi/scripts/screenshot-wl.sh | 31 - general/configs/rofi/scripts/screenshot.sh | 31 - general/configs/rofi/spotlight/README.md | 107 +++ general/configs/rofi/spotlight/history.txt | 3 - general/configs/rofi/spotlight/icons/ddg.svg | 0 .../configs/rofi/spotlight/icons/google.svg | 0 .../configs/rofi/spotlight/icons/history.svg | 0 .../configs/rofi/spotlight/icons/result.svg | 0 .../configs/rofi/spotlight/rofi-spotlight.sh | 4 +- general/configs/rofi/spotlight/rofi.rasi | 31 +- general/configs/rofi/spotlight/web-search.py | 6 +- 188 files changed, 129 insertions(+), 13234 deletions(-) delete mode 100755 general/configs/rofi/applets/android/apps.sh delete mode 100755 general/configs/rofi/applets/android/backlight.sh delete mode 100755 general/configs/rofi/applets/android/colors.rasi delete mode 100755 general/configs/rofi/applets/android/confirm.rasi delete mode 100755 general/configs/rofi/applets/android/five.rasi delete mode 100755 general/configs/rofi/applets/android/message.rasi delete mode 100755 general/configs/rofi/applets/android/mpd.sh delete mode 100755 general/configs/rofi/applets/android/powermenu.sh delete mode 100755 general/configs/rofi/applets/android/quicklinks.sh delete mode 100755 general/configs/rofi/applets/android/screenshot.sh delete mode 100755 general/configs/rofi/applets/android/six.rasi delete mode 100755 general/configs/rofi/applets/android/three.rasi delete mode 100755 general/configs/rofi/applets/android/volume.sh delete mode 100755 general/configs/rofi/applets/applets/apps.sh delete mode 100755 general/configs/rofi/applets/applets/backlight.sh delete mode 100755 general/configs/rofi/applets/applets/battery.sh delete mode 100755 general/configs/rofi/applets/applets/configs/circle/apps.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/backlight.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/battery.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/mpd.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/network.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/powermenu.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/screenshot.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/time.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/circle/volume.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/apps.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/backlight.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/battery.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/mpd.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/network.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/powermenu.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/screenshot.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/time.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/rounded/volume.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/apps.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/backlight.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/battery.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/mpd.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/network.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/powermenu.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/screenshot.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/time.rasi delete mode 100755 general/configs/rofi/applets/applets/configs/square/volume.rasi delete mode 100755 general/configs/rofi/applets/applets/mpd.sh delete mode 100755 general/configs/rofi/applets/applets/network.sh delete mode 100755 general/configs/rofi/applets/applets/powermenu.sh delete mode 100755 general/configs/rofi/applets/applets/quicklinks.sh delete mode 100755 general/configs/rofi/applets/applets/screenshot.sh delete mode 100755 general/configs/rofi/applets/applets/style.sh delete mode 100755 general/configs/rofi/applets/applets/time.sh delete mode 100755 general/configs/rofi/applets/applets/volume.sh delete mode 100755 general/configs/rofi/applets/menu/apps.sh delete mode 100755 general/configs/rofi/applets/menu/backlight.sh delete mode 100755 general/configs/rofi/applets/menu/battery.sh delete mode 100755 general/configs/rofi/applets/menu/configs/circle/apps.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/backlight.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/battery.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/mpd.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/network.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/powermenu.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/screenshot.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/time.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/circle/volume.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/apps.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/backlight.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/battery.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/mpd.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/network.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/powermenu.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/screenshot.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/time.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/rounded/volume.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/apps.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/backlight.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/battery.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/mpd.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/network.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/powermenu.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/quicklinks.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/screenshot.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/time.rasi delete mode 100755 general/configs/rofi/applets/menu/configs/square/volume.rasi delete mode 100755 general/configs/rofi/applets/menu/mpd.sh delete mode 100755 general/configs/rofi/applets/menu/network.sh delete mode 100755 general/configs/rofi/applets/menu/powermenu.sh delete mode 100755 general/configs/rofi/applets/menu/quicklinks.sh delete mode 100755 general/configs/rofi/applets/menu/screenshot.sh delete mode 100755 general/configs/rofi/applets/menu/style.sh delete mode 100755 general/configs/rofi/applets/menu/time.sh delete mode 100755 general/configs/rofi/applets/menu/volume.sh delete mode 100755 general/configs/rofi/applets/styles/adapta-nokto.rasi delete mode 100755 general/configs/rofi/applets/styles/adapta.rasi delete mode 100755 general/configs/rofi/applets/styles/adwaita.rasi delete mode 100755 general/configs/rofi/applets/styles/arc-dark.rasi delete mode 100755 general/configs/rofi/applets/styles/arc.rasi delete mode 100755 general/configs/rofi/applets/styles/armchair.rasi delete mode 100755 general/configs/rofi/applets/styles/colors.rasi delete mode 100755 general/configs/rofi/applets/styles/confirm.rasi delete mode 100755 general/configs/rofi/applets/styles/dark.rasi delete mode 100755 general/configs/rofi/applets/styles/darkpink.rasi delete mode 100755 general/configs/rofi/applets/styles/fresh.rasi delete mode 100755 general/configs/rofi/applets/styles/gruvbox.rasi delete mode 100755 general/configs/rofi/applets/styles/inside.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/amber.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/blue.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/blue_grey.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/brown.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/cyan.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/deep_orange.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/deep_purple.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/green.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/grey.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/indigo.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/light_blue.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/light_green.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/lime.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/orange.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/pink.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/purple.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/red.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/teal.rasi delete mode 100755 general/configs/rofi/applets/styles/material-dark/yellow.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/amber.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/blue.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/blue_grey.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/brown.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/cyan.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/deep_orange.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/deep_purple.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/green.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/grey.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/indigo.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/light_blue.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/light_green.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/lime.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/orange.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/pink.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/purple.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/red.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/teal.rasi delete mode 100755 general/configs/rofi/applets/styles/material-light/yellow.rasi delete mode 100755 general/configs/rofi/applets/styles/message.rasi delete mode 100755 general/configs/rofi/applets/styles/minimo.rasi delete mode 100755 general/configs/rofi/applets/styles/party.rasi delete mode 100755 general/configs/rofi/applets/styles/sirin.rasi delete mode 100755 general/configs/rofi/bin/usedcpu delete mode 100755 general/configs/rofi/bin/usedram delete mode 100755 general/configs/rofi/global/emoji.rasi delete mode 100755 general/configs/rofi/global/history.txt delete mode 100755 general/configs/rofi/global/icons/ddg.svg delete mode 100755 general/configs/rofi/global/icons/google.svg delete mode 100755 general/configs/rofi/global/icons/history.svg delete mode 100755 general/configs/rofi/global/icons/result.svg delete mode 100755 general/configs/rofi/global/icons/suggestion.svg delete mode 100755 general/configs/rofi/global/rofi-spotlight.sh delete mode 100755 general/configs/rofi/global/rofi.rasi delete mode 100755 general/configs/rofi/global/web-search.py delete mode 100755 general/configs/rofi/powermenu/drop_square.rasi delete mode 100755 general/configs/rofi/powermenu/powermenu.rasi delete mode 100755 general/configs/rofi/powermenu/powermenu.sh delete mode 100755 general/configs/rofi/powermenu/styles/berry.rasi delete mode 100755 general/configs/rofi/powermenu/styles/bluish.rasi delete mode 100755 general/configs/rofi/powermenu/styles/cocoa.rasi delete mode 100755 general/configs/rofi/powermenu/styles/colors.rasi delete mode 100755 general/configs/rofi/powermenu/styles/faded.rasi delete mode 100755 general/configs/rofi/powermenu/styles/gotham.rasi delete mode 100755 general/configs/rofi/powermenu/styles/mask.rasi delete mode 100755 general/configs/rofi/powermenu/styles/nightly.rasi delete mode 100755 general/configs/rofi/powermenu/styles/nordic.rasi delete mode 100755 general/configs/rofi/scripts/emoji delete mode 100755 general/configs/rofi/scripts/powermenu.sh delete mode 100755 general/configs/rofi/scripts/screenshot-wl.sh delete mode 100755 general/configs/rofi/scripts/screenshot.sh create mode 100644 general/configs/rofi/spotlight/README.md mode change 100755 => 100644 general/configs/rofi/spotlight/history.txt mode change 100755 => 100644 general/configs/rofi/spotlight/icons/ddg.svg mode change 100755 => 100644 general/configs/rofi/spotlight/icons/google.svg mode change 100755 => 100644 general/configs/rofi/spotlight/icons/history.svg mode change 100755 => 100644 general/configs/rofi/spotlight/icons/result.svg mode change 100755 => 100644 general/configs/rofi/spotlight/rofi.rasi diff --git a/general/configs/fish/config.fish b/general/configs/fish/config.fish index 337c06c..2b0ff86 100755 --- a/general/configs/fish/config.fish +++ b/general/configs/fish/config.fish @@ -20,6 +20,9 @@ alias g='lazygit' alias open-webui='sudo systemctl start docker && sudo docker start -i open-webui' alias ai='ollama serve' +# Add scripts in ~/projects/active/dotfiles/general/scripts/ to path +fish_add_path -P ~/projects/active/dotfiles/general/scripts/ + function y set tmp (mktemp -t "yazi-cwd.XXXXXX") yazi $argv --cwd-file="$tmp" diff --git a/general/configs/rofi/applets/android/apps.sh b/general/configs/rofi/applets/android/apps.sh deleted file mode 100755 index 466c629..0000000 --- a/general/configs/rofi/applets/android/apps.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/six.rasi" - -# Links -terminal="" -files="" -editor="" -browser="" -music="" -settings="" - -# Error msg -msg() { - rofi -theme "$dir/message.rasi" -e "$1" -} - -# Variable passed to rofi -options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" - -chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" -case $chosen in - $terminal) - if [[ -f /usr/bin/termite ]]; then - termite & - elif [[ -f /usr/bin/urxvt ]]; then - urxvt & - elif [[ -f /usr/bin/kitty ]]; then - kitty & - elif [[ -f /usr/bin/xterm ]]; then - xterm & - elif [[ -f /usr/bin/xfce4-terminal ]]; then - xfce4-terminal & - elif [[ -f /usr/bin/gnome-terminal ]]; then - gnome-terminal & - else - msg "No suitable terminal found!" - fi - ;; - $files) - if [[ -f /usr/bin/thunar ]]; then - thunar & - elif [[ -f /usr/bin/pcmanfm ]]; then - pcmanfm & - else - msg "No suitable file manager found!" - fi - ;; - $editor) - if [[ -f /usr/bin/geany ]]; then - geany & - elif [[ -f /usr/bin/leafpad ]]; then - leafpad & - elif [[ -f /usr/bin/mousepad ]]; then - mousepad & - elif [[ -f /usr/bin/code ]]; then - code & - else - msg "No suitable text editor found!" - fi - ;; - $browser) - if [[ -f /usr/bin/firefox ]]; then - firefox & - elif [[ -f /usr/bin/chromium ]]; then - chromium & - elif [[ -f /usr/bin/midori ]]; then - midori & - else - msg "No suitable web browser found!" - fi - ;; - $music) - if [[ -f /usr/bin/lxmusic ]]; then - lxmusic & - else - msg "No suitable music player found!" - fi - ;; - $settings) - if [[ -f /usr/bin/xfce4-settings-manager ]]; then - xfce4-settings-manager & - else - msg "No suitable settings manager found!" - fi - ;; -esac - diff --git a/general/configs/rofi/applets/android/backlight.sh b/general/configs/rofi/applets/android/backlight.sh deleted file mode 100755 index d37f975..0000000 --- a/general/configs/rofi/applets/android/backlight.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/three.rasi" - -# Error msg -msg() { - rofi -theme "$dir/message.rasi" -e "$1" -} - -## Get Brightness -if [[ -f /bin/brightnessctl ]]; then - BNESS="$(brightnessctl get)" - MAX="$(brightnessctl max)" - PERC="$((BNESS*100/MAX))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/blight ]]; then - DEVICE=$(ls /sys/class/backlight | head -n 1) - BNESS="$(blight -d $DEVICE get brightness)" - PERC="$(($BNESS*100/255))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/xbacklight ]]; then - VAR="$(xbacklight -get)" - BLIGHT="$(printf "%.0f\n" "$VAR")" -else - msg "No suitable backlight utility found!" - exit 1 -fi - -if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then - MSG="Low" -elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then - MSG="Optimal" -elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then - MSG="High" -elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then - MSG="Too Much" -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_OPT="" - -notify="notify-send -u low -t 1500" -options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" -case $chosen in - "$ICON_UP") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" - fi - ;; - "$ICON_DOWN") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" - fi - ;; - "$ICON_OPT") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" - fi - ;; -esac - diff --git a/general/configs/rofi/applets/android/colors.rasi b/general/configs/rofi/applets/android/colors.rasi deleted file mode 100755 index 5ce46fc..0000000 --- a/general/configs/rofi/applets/android/colors.rasi +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Change the colorscheme for every menu simply by editing this file... - * - * Available Color Schemes - * // Dark - * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange - * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green - * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal - * material-dark/yellow - * // Light - * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange - * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green - * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal - * material-light/yellow - * - * // Other - * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark - * armchair, darkpink, fresh, inside, party, sirin - * - */ - -@import "../styles/arc.rasi" diff --git a/general/configs/rofi/applets/android/confirm.rasi b/general/configs/rofi/applets/android/confirm.rasi deleted file mode 100755 index 970783f..0000000 --- a/general/configs/rofi/applets/android/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Iosevka Nerd Font 12"; -} - -window { - width: 225px; - padding: 25px; - border: 0px; - border-radius: 12px; - border-color: @accent; - location: center; - y-offset: -20px; -} - -entry { - expand: true; - text-color: @accent; -} diff --git a/general/configs/rofi/applets/android/five.rasi b/general/configs/rofi/applets/android/five.rasi deleted file mode 100755 index 29cdcce..0000000 --- a/general/configs/rofi/applets/android/five.rasi +++ /dev/null @@ -1,92 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - width: 100px; - location: east; - x-offset: -15px; - y-offset: 0px; -} - -listview { - lines: 5; - margin: 8px; - spacing: 8px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ listview ]; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 26px 26px 26px 26px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; - border-radius: 10px; -} - -element normal.active, -element alternate.active { - background-color: @background-alt; - text-color: @foreground; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 10px; - border-color: @border; -} - -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} - -element selected.active { - background-color: @background-alt; - color: @foreground; -} diff --git a/general/configs/rofi/applets/android/message.rasi b/general/configs/rofi/applets/android/message.rasi deleted file mode 100755 index f35d3a2..0000000 --- a/general/configs/rofi/applets/android/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Iosevka Nerd Font 12"; -} - -window { - width: 360px; - padding: 25px; - border: 0px; - border-radius: 12px; - border-color: @accent; - location: center; - y-offset: -20px; -} - -entry { - expand: true; - text-color: @accent; -} diff --git a/general/configs/rofi/applets/android/mpd.sh b/general/configs/rofi/applets/android/mpd.sh deleted file mode 100755 index 6f15be0..0000000 --- a/general/configs/rofi/applets/android/mpd.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/six.rasi" - -# Gets the current status of mpd (for us to parse it later on) -status="$(mpc status)" -# Defines the Play / Pause option content -if [[ $status == *"[playing]"* ]]; then - play_pause="" -else - play_pause="" -fi -active="" -urgent="" - -# Display if repeat mode is on / off -tog_repeat="" -if [[ $status == *"repeat: on"* ]]; then - active="-a 4" -elif [[ $status == *"repeat: off"* ]]; then - urgent="-u 4" -else - tog_repeat=" Parsing error" -fi - -# Display if random mode is on / off -tog_random="" -if [[ $status == *"random: on"* ]]; then - [ -n "$active" ] && active+=",5" || active="-a 5" -elif [[ $status == *"random: off"* ]]; then - [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" -else - tog_random=" Parsing error" -fi -stop="" -next="" -previous="" - -# Variable passed to rofi -options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" - -# Get the current playing song -current=$(mpc -f %title% current) -# If mpd isn't running it will return an empty string, we don't want to display that -if [[ -z "$current" ]]; then - current="-" -fi - -# Spawn the mpd menu with the "Play / Pause" entry selected by default -chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" -case $chosen in - $previous) - mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" - ;; - $play_pause) - mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" - ;; - $stop) - mpc -q stop - ;; - $next) - mpc -q next && notify-send -u low -t 1800 " $(mpc current)" - ;; - $tog_repeat) - mpc -q repeat - ;; - $tog_random) - mpc -q random - ;; -esac diff --git a/general/configs/rofi/applets/android/powermenu.sh b/general/configs/rofi/applets/android/powermenu.sh deleted file mode 100755 index e28c731..0000000 --- a/general/configs/rofi/applets/android/powermenu.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/five.rasi" - -uptime=$(uptime -p | sed -e 's/up //g') - -# Options -shutdown="" -reboot="" -lock="" -suspend="" -logout="" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/general/configs/rofi/applets/android/quicklinks.sh b/general/configs/rofi/applets/android/quicklinks.sh deleted file mode 100755 index e2ae62f..0000000 --- a/general/configs/rofi/applets/android/quicklinks.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/six.rasi" - -# Error msg -msg() { - rofi -theme "$dir/message.rasi" -e "$1" -} - -# Browser -if [[ -f /usr/bin/firefox ]]; then - app="firefox" -elif [[ -f /usr/bin/chromium ]]; then - app="chromium" -elif [[ -f /usr/bin/midori ]]; then - app="midori" -else - msg "No suitable web browser found!" - exit 1 -fi - -# Links -google="" -facebook="" -twitter="" -github="" -mail="" -youtube="" - -# Variable passed to rofi -options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" - -chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)" -case $chosen in - $google) - $app https://www.google.com & - ;; - $facebook) - $app https://www.facebook.com & - ;; - $twitter) - $app https://www.twitter.com & - ;; - $github) - $app https://www.github.com & - ;; - $mail) - $app https://www.gmail.com & - ;; - $youtube) - $app https://www.youtube.com & - ;; -esac - diff --git a/general/configs/rofi/applets/android/screenshot.sh b/general/configs/rofi/applets/android/screenshot.sh deleted file mode 100755 index 95abe34..0000000 --- a/general/configs/rofi/applets/android/screenshot.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/three.rasi" - -# Error msg -msg() { - rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first." -} - -# Options -screen="" -area="" -window="" - -# Variable passed to rofi -options="$screen\n$area\n$window" - -chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)" -case $chosen in - $screen) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $area) - if [[ -f /usr/bin/scrot ]]; then - scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $window) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; -esac - diff --git a/general/configs/rofi/applets/android/six.rasi b/general/configs/rofi/applets/android/six.rasi deleted file mode 100755 index e654946..0000000 --- a/general/configs/rofi/applets/android/six.rasi +++ /dev/null @@ -1,92 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - width: 100px; - location: east; - x-offset: -15px; - y-offset: 0px; -} - -listview { - lines: 6; - margin: 8px; - spacing: 8px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ listview ]; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 26px 26px 26px 26px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 10px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 10px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/android/three.rasi b/general/configs/rofi/applets/android/three.rasi deleted file mode 100755 index 0a09705..0000000 --- a/general/configs/rofi/applets/android/three.rasi +++ /dev/null @@ -1,92 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - width: 100px; - location: east; - x-offset: -15px; - y-offset: 0px; -} - -listview { - lines: 3; - margin: 8px; - spacing: 8px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ listview ]; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 26px 26px 26px 26px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 10px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 10px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/android/volume.sh b/general/configs/rofi/applets/android/volume.sh deleted file mode 100755 index 429db8c..0000000 --- a/general/configs/rofi/applets/android/volume.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/applets/android" -rofi_command="rofi -theme $dir/three.rasi" - -## Get Volume -#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') -MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') - -active="" -urgent="" - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"on"* ]]; then - VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" -else - VOLUME="Mu..." -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_MUTED="" - -options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" -case $chosen in - $ICON_UP) - amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" - ;; - $ICON_DOWN) - amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" - ;; - $ICON_MUTED) - amixer -q set Master toggle - ;; -esac - diff --git a/general/configs/rofi/applets/applets/apps.sh b/general/configs/rofi/applets/applets/apps.sh deleted file mode 100755 index f8129ce..0000000 --- a/general/configs/rofi/applets/applets/apps.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/apps.rasi" - -# Links -terminal="" -files="" -editor="" -browser="" -music="" -settings="" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -# Variable passed to rofi -options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" - -chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" -case $chosen in - $terminal) - if [[ -f /usr/bin/termite ]]; then - termite & - elif [[ -f /usr/bin/urxvt ]]; then - urxvt & - elif [[ -f /usr/bin/kitty ]]; then - kitty & - elif [[ -f /usr/bin/xterm ]]; then - xterm & - elif [[ -f /usr/bin/xfce4-terminal ]]; then - xfce4-terminal & - elif [[ -f /usr/bin/gnome-terminal ]]; then - gnome-terminal & - else - msg "No suitable terminal found!" - fi - ;; - $files) - if [[ -f /usr/bin/thunar ]]; then - thunar & - elif [[ -f /usr/bin/pcmanfm ]]; then - pcmanfm & - else - msg "No suitable file manager found!" - fi - ;; - $editor) - if [[ -f /usr/bin/geany ]]; then - geany & - elif [[ -f /usr/bin/leafpad ]]; then - leafpad & - elif [[ -f /usr/bin/mousepad ]]; then - mousepad & - elif [[ -f /usr/bin/code ]]; then - code & - else - msg "No suitable text editor found!" - fi - ;; - $browser) - if [[ -f /usr/bin/firefox ]]; then - firefox & - elif [[ -f /usr/bin/chromium ]]; then - chromium & - elif [[ -f /usr/bin/midori ]]; then - midori & - else - msg "No suitable web browser found!" - fi - ;; - $music) - if [[ -f /usr/bin/lxmusic ]]; then - lxmusic & - else - msg "No suitable music player found!" - fi - ;; - $settings) - if [[ -f /usr/bin/xfce4-settings-manager ]]; then - xfce4-settings-manager & - else - msg "No suitable settings manager found!" - fi - ;; -esac diff --git a/general/configs/rofi/applets/applets/backlight.sh b/general/configs/rofi/applets/applets/backlight.sh deleted file mode 100755 index b94cfa7..0000000 --- a/general/configs/rofi/applets/applets/backlight.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/backlight.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -## Get Brightness -if [[ -f /bin/brightnessctl ]]; then - BNESS="$(brightnessctl get)" - MAX="$(brightnessctl max)" - PERC="$((BNESS*100/MAX))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/blight ]]; then - DEVICE=$(ls /sys/class/backlight | head -n 1) - BNESS="$(blight -d $DEVICE get brightness)" - PERC="$(($BNESS*100/255))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/xbacklight ]]; then - VAR="$(xbacklight -get)" - BLIGHT="$(printf "%.0f\n" "$VAR")" -else - msg "No suitable backlight utility found!" - exit 1 -fi - -if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then - MSG="Low" -elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then - MSG="Optimal" -elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then - MSG="High" -elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then - MSG="Too Much" -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_OPT="" - -notify="notify-send -u low -t 1500" -options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" -case $chosen in - "$ICON_UP") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" - fi - ;; - "$ICON_DOWN") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" - fi - ;; - "$ICON_OPT") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" - fi - ;; -esac - diff --git a/general/configs/rofi/applets/applets/battery.sh b/general/configs/rofi/applets/applets/battery.sh deleted file mode 100755 index 8a38ab4..0000000 --- a/general/configs/rofi/applets/applets/battery.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/battery.rasi" - -## Get data -BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" -CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" - -active="" -urgent="" - -if [[ $CHARGE = *"Charging"* ]]; then - active="-a 1" - ICON_CHRG="" - MSG=$CHARGE -elif [[ $CHARGE = *"Full"* ]]; then - active="-u 1" - ICON_CHRG="" - MSG=$CHARGE -else - urgent="-u 1" - ICON_CHRG="" - MSG=$CHARGE -fi - -# Discharging -#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then -# ICON_DISCHRG="" -if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then - ICON_DISCHRG="" -fi - -## Icons -ICON_PMGR="" - -options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0)" -case $chosen in - $ICON_CHRG) - ;; - $ICON_DISCHRG) - ;; - $ICON_PMGR) - xfce4-power-manager-settings - ;; -esac - diff --git a/general/configs/rofi/applets/applets/configs/circle/apps.rasi b/general/configs/rofi/applets/applets/configs/circle/apps.rasi deleted file mode 100755 index 5bd1300..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/apps.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/backlight.rasi b/general/configs/rofi/applets/applets/configs/circle/backlight.rasi deleted file mode 100755 index 5c6bf3b..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/backlight.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/battery.rasi b/general/configs/rofi/applets/applets/configs/circle/battery.rasi deleted file mode 100755 index db6d8d0..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/battery.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 260px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/mpd.rasi b/general/configs/rofi/applets/applets/configs/circle/mpd.rasi deleted file mode 100755 index e49f391..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/mpd.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/network.rasi b/general/configs/rofi/applets/applets/configs/circle/network.rasi deleted file mode 100755 index 4ccc4fc..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/network.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 335px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/powermenu.rasi b/general/configs/rofi/applets/applets/configs/circle/powermenu.rasi deleted file mode 100755 index 2dfc85d..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 420px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/quicklinks.rasi b/general/configs/rofi/applets/applets/configs/circle/quicklinks.rasi deleted file mode 100755 index 1eb01ec..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/quicklinks.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/screenshot.rasi b/general/configs/rofi/applets/applets/configs/circle/screenshot.rasi deleted file mode 100755 index 801f6f4..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/screenshot.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/time.rasi b/general/configs/rofi/applets/applets/configs/circle/time.rasi deleted file mode 100755 index cc3fd05..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/time.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 450px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 10px 40px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/circle/volume.rasi b/general/configs/rofi/applets/applets/configs/circle/volume.rasi deleted file mode 100755 index 3b533e4..0000000 --- a/general/configs/rofi/applets/applets/configs/circle/volume.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 40px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 25px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; - border-radius: 25px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 0px 2px 0px; - border-radius: 100%; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/apps.rasi b/general/configs/rofi/applets/applets/configs/rounded/apps.rasi deleted file mode 100755 index 616a144..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/apps.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/backlight.rasi b/general/configs/rofi/applets/applets/configs/rounded/backlight.rasi deleted file mode 100755 index 5ce20c4..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/backlight.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/battery.rasi b/general/configs/rofi/applets/applets/configs/rounded/battery.rasi deleted file mode 100755 index 801e962..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/battery.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/mpd.rasi b/general/configs/rofi/applets/applets/configs/rounded/mpd.rasi deleted file mode 100755 index 61595af..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/mpd.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/network.rasi b/general/configs/rofi/applets/applets/configs/rounded/network.rasi deleted file mode 100755 index 54e40d0..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/network.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 335px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/powermenu.rasi b/general/configs/rofi/applets/applets/configs/rounded/powermenu.rasi deleted file mode 100755 index 51a8b13..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 420px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/quicklinks.rasi b/general/configs/rofi/applets/applets/configs/rounded/quicklinks.rasi deleted file mode 100755 index b44f3b2..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/quicklinks.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/screenshot.rasi b/general/configs/rofi/applets/applets/configs/rounded/screenshot.rasi deleted file mode 100755 index 4c1071e..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/screenshot.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/time.rasi b/general/configs/rofi/applets/applets/configs/rounded/time.rasi deleted file mode 100755 index bee4545..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/time.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 450px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 30px 10px 30px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/rounded/volume.rasi b/general/configs/rofi/applets/applets/configs/rounded/volume.rasi deleted file mode 100755 index 43f753d..0000000 --- a/general/configs/rofi/applets/applets/configs/rounded/volume.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 12px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 10px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 12px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 12px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 12px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @background-light; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/apps.rasi b/general/configs/rofi/applets/applets/configs/square/apps.rasi deleted file mode 100755 index 6760c56..0000000 --- a/general/configs/rofi/applets/applets/configs/square/apps.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/backlight.rasi b/general/configs/rofi/applets/applets/configs/square/backlight.rasi deleted file mode 100755 index 5dcf4b1..0000000 --- a/general/configs/rofi/applets/applets/configs/square/backlight.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/battery.rasi b/general/configs/rofi/applets/applets/configs/square/battery.rasi deleted file mode 100755 index cfa2adf..0000000 --- a/general/configs/rofi/applets/applets/configs/square/battery.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/mpd.rasi b/general/configs/rofi/applets/applets/configs/square/mpd.rasi deleted file mode 100755 index ec2eff9..0000000 --- a/general/configs/rofi/applets/applets/configs/square/mpd.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/network.rasi b/general/configs/rofi/applets/applets/configs/square/network.rasi deleted file mode 100755 index f57cb17..0000000 --- a/general/configs/rofi/applets/applets/configs/square/network.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 350px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 3px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/powermenu.rasi b/general/configs/rofi/applets/applets/configs/square/powermenu.rasi deleted file mode 100755 index 6bd1c96..0000000 --- a/general/configs/rofi/applets/applets/configs/square/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 420px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/quicklinks.rasi b/general/configs/rofi/applets/applets/configs/square/quicklinks.rasi deleted file mode 100755 index 731ed7e..0000000 --- a/general/configs/rofi/applets/applets/configs/square/quicklinks.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 500px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/screenshot.rasi b/general/configs/rofi/applets/applets/configs/square/screenshot.rasi deleted file mode 100755 index 5c1fa95..0000000 --- a/general/configs/rofi/applets/applets/configs/square/screenshot.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/time.rasi b/general/configs/rofi/applets/applets/configs/square/time.rasi deleted file mode 100755 index 7022da9..0000000 --- a/general/configs/rofi/applets/applets/configs/square/time.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 450px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 3px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 30px 10px 30px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/configs/square/volume.rasi b/general/configs/rofi/applets/applets/configs/square/volume.rasi deleted file mode 100755 index adfeb39..0000000 --- a/general/configs/rofi/applets/applets/configs/square/volume.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 12"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: southeast; - width: 250px; - x-offset: -15px; - y-offset: -45px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 12px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 12px; - margin: 12px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 20"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 19px 10px 19px 10px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/applets/mpd.sh b/general/configs/rofi/applets/applets/mpd.sh deleted file mode 100755 index d1f3d2b..0000000 --- a/general/configs/rofi/applets/applets/mpd.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/mpd.rasi" - -# Gets the current status of mpd (for us to parse it later on) -status="$(mpc status)" -# Defines the Play / Pause option content -if [[ $status == *"[playing]"* ]]; then - play_pause="" -else - play_pause="" -fi -active="" -urgent="" - -# Display if repeat mode is on / off -tog_repeat="" -if [[ $status == *"repeat: on"* ]]; then - active="-a 4" -elif [[ $status == *"repeat: off"* ]]; then - urgent="-u 4" -else - tog_repeat=" Parsing error" -fi - -# Display if random mode is on / off -tog_random="" -if [[ $status == *"random: on"* ]]; then - [ -n "$active" ] && active+=",5" || active="-a 5" -elif [[ $status == *"random: off"* ]]; then - [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" -else - tog_random=" Parsing error" -fi -stop="" -next="" -previous="" - -# Variable passed to rofi -options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" - -# Get the current playing song -current=$(mpc -f "%title%" current) -# If mpd isn't running it will return an empty string, we don't want to display that -if [[ -z "$current" ]]; then - current="-" -fi - -# Spawn the mpd menu with the "Play / Pause" entry selected by default -chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" -case $chosen in - $previous) - mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" - ;; - $play_pause) - mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" - ;; - $stop) - mpc -q stop - ;; - $next) - mpc -q next && notify-send -u low -t 1800 " $(mpc current)" - ;; - $tog_repeat) - mpc -q repeat - ;; - $tog_random) - mpc -q random - ;; -esac diff --git a/general/configs/rofi/applets/applets/network.sh b/general/configs/rofi/applets/applets/network.sh deleted file mode 100755 index 260eddb..0000000 --- a/general/configs/rofi/applets/applets/network.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/network.rasi" - -## Get info -IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" -#SSID="$(iwgetid -r)" -#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" -#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" -STATUS="$(nmcli radio wifi)" - -active="" -urgent="" - -if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then - if [[ $STATUS == *"enable"* ]]; then - if [[ $IFACE == e* ]]; then - connected="" - else - connected="" - fi - active="-a 0" - SSID="﬉ $(iwgetid -r)" - PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" - fi -else - urgent="-u 0" - SSID="Disconnected" - PIP="Not Available" - connected="" -fi - -## Icons -bmon="" -launch_cli="" -launch="" - -options="$connected\n$bmon\n$launch_cli\n$launch" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)" -case $chosen in - $connected) - if [[ $STATUS == *"enable"* ]]; then - nmcli radio wifi off - else - nmcli radio wifi on - fi - ;; - $bmon) - termite -e bmon - ;; - $launch_cli) - termite -e nmtui - ;; - $launch) - nm-connection-editor - ;; -esac - diff --git a/general/configs/rofi/applets/applets/powermenu.sh b/general/configs/rofi/applets/applets/powermenu.sh deleted file mode 100755 index 500cbce..0000000 --- a/general/configs/rofi/applets/applets/powermenu.sh +++ /dev/null @@ -1,98 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/powermenu.rasi" - -uptime=$(uptime -p | sed -e 's/up //g') -cpu=$($HOME/.config/rofi/bin/usedcpu) -memory=$($HOME/.config/rofi/bin/usedram) - -# Options -shutdown="" -reboot="" -lock="" -suspend="" -logout="" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $HOME/.config/rofi/applets/styles/confirm.rasi -} - -# Message -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/general/configs/rofi/applets/applets/quicklinks.sh b/general/configs/rofi/applets/applets/quicklinks.sh deleted file mode 100755 index e736b71..0000000 --- a/general/configs/rofi/applets/applets/quicklinks.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/quicklinks.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -# Browser -if [[ -f /usr/bin/firefox ]]; then - app="firefox" -elif [[ -f /usr/bin/chromium ]]; then - app="chromium" -elif [[ -f /usr/bin/midori ]]; then - app="midori" -else - msg "No suitable web browser found!" - exit 1 -fi - -# Links -google="" -facebook="" -twitter="" -github="" -mail="" -youtube="" - -# Variable passed to rofi -options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" - -chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" -case $chosen in - $google) - $app https://www.google.com & - ;; - $facebook) - $app https://www.facebook.com & - ;; - $twitter) - $app https://www.twitter.com & - ;; - $github) - $app https://www.github.com & - ;; - $mail) - $app https://www.gmail.com & - ;; - $youtube) - $app https://www.youtube.com & - ;; -esac - diff --git a/general/configs/rofi/applets/applets/screenshot.sh b/general/configs/rofi/applets/applets/screenshot.sh deleted file mode 100755 index f614599..0000000 --- a/general/configs/rofi/applets/applets/screenshot.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/screenshot.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." -} - -# Options -screen="" -area="" -window="" - -# Variable passed to rofi -options="$screen\n$area\n$window" - -chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)" -case $chosen in - $screen) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $area) - if [[ -f /usr/bin/scrot ]]; then - scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $window) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; -esac - diff --git a/general/configs/rofi/applets/applets/style.sh b/general/configs/rofi/applets/applets/style.sh deleted file mode 100755 index 68b9668..0000000 --- a/general/configs/rofi/applets/applets/style.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Available Styles -# >> Created and tested on : rofi 1.6.0-1 -# -# square circle rounded - -style="square" - -# uncomment these lines to enable random style -#styles=('square' 'circle' 'rounded') -#style="${styles[$(( $RANDOM % 3 ))]}" - -# print style name -echo "$style" diff --git a/general/configs/rofi/applets/applets/time.sh b/general/configs/rofi/applets/applets/time.sh deleted file mode 100755 index b8e7e8c..0000000 --- a/general/configs/rofi/applets/applets/time.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/time.rasi" - -## Get time and date -TIME="$(date +"%I:%M %p")" -DN=$(date +"%A") -MN=$(date +"%B") -DAY="$(date +"%d")" -MONTH="$(date +"%m")" -YEAR="$(date +"%Y")" - -options="$DAY\n$MONTH\n$YEAR" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p " $DN, $TIME" -dmenu -selected-row 1)" diff --git a/general/configs/rofi/applets/applets/volume.sh b/general/configs/rofi/applets/applets/volume.sh deleted file mode 100755 index 7be3242..0000000 --- a/general/configs/rofi/applets/applets/volume.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/applets/style.sh)" - -dir="$HOME/.config/rofi/applets/applets/configs/$style" -rofi_command="rofi -theme $dir/volume.rasi" - -## Get Volume -#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') -MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') - -active="" -urgent="" - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"on"* ]]; then - VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" -else - VOLUME="Mute" -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_MUTED="" - -options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" -case $chosen in - $ICON_UP) - amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" - ;; - $ICON_DOWN) - amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" - ;; - $ICON_MUTED) - amixer -q set Master toggle - ;; -esac - diff --git a/general/configs/rofi/applets/menu/apps.sh b/general/configs/rofi/applets/menu/apps.sh deleted file mode 100755 index b5dd989..0000000 --- a/general/configs/rofi/applets/menu/apps.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/apps.rasi" - -# Links -terminal="" -files="" -editor="" -browser="" -music="" -settings="" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -# Variable passed to rofi -options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" - -chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" -case $chosen in - $terminal) - if [[ -f /usr/bin/termite ]]; then - termite & - elif [[ -f /usr/bin/urxvt ]]; then - urxvt & - elif [[ -f /usr/bin/kitty ]]; then - kitty & - elif [[ -f /usr/bin/xterm ]]; then - xterm & - elif [[ -f /usr/bin/xfce4-terminal ]]; then - xfce4-terminal & - elif [[ -f /usr/bin/gnome-terminal ]]; then - gnome-terminal & - else - msg "No suitable terminal found!" - fi - ;; - $files) - if [[ -f /usr/bin/thunar ]]; then - thunar & - elif [[ -f /usr/bin/pcmanfm ]]; then - pcmanfm & - else - msg "No suitable file manager found!" - fi - ;; - $editor) - if [[ -f /usr/bin/geany ]]; then - geany & - elif [[ -f /usr/bin/leafpad ]]; then - leafpad & - elif [[ -f /usr/bin/mousepad ]]; then - mousepad & - elif [[ -f /usr/bin/code ]]; then - code & - else - msg "No suitable text editor found!" - fi - ;; - $browser) - if [[ -f /usr/bin/firefox ]]; then - firefox & - elif [[ -f /usr/bin/chromium ]]; then - chromium & - elif [[ -f /usr/bin/midori ]]; then - midori & - else - msg "No suitable web browser found!" - fi - ;; - $music) - if [[ -f /usr/bin/lxmusic ]]; then - lxmusic & - else - msg "No suitable music player found!" - fi - ;; - $settings) - if [[ -f /usr/bin/xfce4-settings-manager ]]; then - xfce4-settings-manager & - else - msg "No suitable settings manager found!" - fi - ;; -esac diff --git a/general/configs/rofi/applets/menu/backlight.sh b/general/configs/rofi/applets/menu/backlight.sh deleted file mode 100755 index 15333eb..0000000 --- a/general/configs/rofi/applets/menu/backlight.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/backlight.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -## Get Brightness -if [[ -f /bin/brightnessctl ]]; then - BNESS="$(brightnessctl get)" - MAX="$(brightnessctl max)" - PERC="$((BNESS*100/MAX))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/blight ]]; then - DEVICE=$(ls /sys/class/backlight | head -n 1) - BNESS="$(blight -d $DEVICE get brightness)" - PERC="$(($BNESS*100/255))" - BLIGHT=${PERC%.*} -elif [[ -f /usr/bin/xbacklight ]]; then - VAR="$(xbacklight -get)" - BLIGHT="$(printf "%.0f\n" "$VAR")" -else - msg "No suitable backlight utility found!" - exit 1 -fi - -if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then - MSG="Low" -elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then - MSG="Optimal" -elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then - MSG="High" -elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then - MSG="Too Much" -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_OPT="" - -notify="notify-send -u low -t 1500" -options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)" -case $chosen in - "$ICON_UP") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" - fi - ;; - "$ICON_DOWN") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" - fi - ;; - "$ICON_OPT") - if [[ -f /bin/brightnessctl ]]; then - brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/blight ]]; then - blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" - elif [[ -f /usr/bin/xbacklight ]]; then - xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" - fi - ;; -esac - diff --git a/general/configs/rofi/applets/menu/battery.sh b/general/configs/rofi/applets/menu/battery.sh deleted file mode 100755 index c279794..0000000 --- a/general/configs/rofi/applets/menu/battery.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/battery.rasi" - -## Get data -BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" -CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" - -active="" -urgent="" - -if [[ $CHARGE = *"Charging"* ]]; then - active="-a 1" - ICON_CHRG="" - MSG=$CHARGE -elif [[ $CHARGE = *"Full"* ]]; then - active="-u 1" - ICON_CHRG="" - MSG=$CHARGE -else - urgent="-u 1" - ICON_CHRG="" - MSG=$CHARGE -fi - -# Discharging -#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then -# ICON_DISCHRG="" -if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then - ICON_DISCHRG="" -elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then - ICON_DISCHRG="" -fi - -## Icons -ICON_PMGR="" - -options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)" -case $chosen in - $ICON_CHRG) - ;; - $ICON_DISCHRG) - ;; - $ICON_PMGR) - xfce4-power-manager-settings - ;; -esac - diff --git a/general/configs/rofi/applets/menu/configs/circle/apps.rasi b/general/configs/rofi/applets/menu/configs/circle/apps.rasi deleted file mode 100755 index c2042b3..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/apps.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/backlight.rasi b/general/configs/rofi/applets/menu/configs/circle/backlight.rasi deleted file mode 100755 index 2688014..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/backlight.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/battery.rasi b/general/configs/rofi/applets/menu/configs/circle/battery.rasi deleted file mode 100755 index 9444210..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/battery.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/mpd.rasi b/general/configs/rofi/applets/menu/configs/circle/mpd.rasi deleted file mode 100755 index 04ba678..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/mpd.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/network.rasi b/general/configs/rofi/applets/menu/configs/circle/network.rasi deleted file mode 100755 index 2a7de93..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/network.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 650px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/powermenu.rasi b/general/configs/rofi/applets/menu/configs/circle/powermenu.rasi deleted file mode 100755 index 6e0131b..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 800px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/quicklinks.rasi b/general/configs/rofi/applets/menu/configs/circle/quicklinks.rasi deleted file mode 100755 index a8a6ba3..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/quicklinks.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/screenshot.rasi b/general/configs/rofi/applets/menu/configs/circle/screenshot.rasi deleted file mode 100755 index 519560e..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/screenshot.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/time.rasi b/general/configs/rofi/applets/menu/configs/circle/time.rasi deleted file mode 100755 index ac0ffc8..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/time.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 700px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 48"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 60px 0px 60px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/circle/volume.rasi b/general/configs/rofi/applets/menu/configs/circle/volume.rasi deleted file mode 100755 index 0fb93ca..0000000 --- a/general/configs/rofi/applets/menu/configs/circle/volume.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 100%; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 100%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 100%; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 100%; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 100%; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/apps.rasi b/general/configs/rofi/applets/menu/configs/rounded/apps.rasi deleted file mode 100755 index dcddce8..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/apps.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/backlight.rasi b/general/configs/rofi/applets/menu/configs/rounded/backlight.rasi deleted file mode 100755 index 84c27c1..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/backlight.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/battery.rasi b/general/configs/rofi/applets/menu/configs/rounded/battery.rasi deleted file mode 100755 index 198ccc6..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/battery.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/mpd.rasi b/general/configs/rofi/applets/menu/configs/rounded/mpd.rasi deleted file mode 100755 index a7ba438..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/mpd.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/network.rasi b/general/configs/rofi/applets/menu/configs/rounded/network.rasi deleted file mode 100755 index 3a49537..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/network.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 650px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/powermenu.rasi b/general/configs/rofi/applets/menu/configs/rounded/powermenu.rasi deleted file mode 100755 index d64175f..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/powermenu.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 800px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/quicklinks.rasi b/general/configs/rofi/applets/menu/configs/rounded/quicklinks.rasi deleted file mode 100755 index 7536a86..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/quicklinks.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/screenshot.rasi b/general/configs/rofi/applets/menu/configs/rounded/screenshot.rasi deleted file mode 100755 index b468206..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/screenshot.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/time.rasi b/general/configs/rofi/applets/menu/configs/rounded/time.rasi deleted file mode 100755 index a56c59d..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/time.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 700px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 48"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/rounded/volume.rasi b/general/configs/rofi/applets/menu/configs/rounded/volume.rasi deleted file mode 100755 index 7da2a4a..0000000 --- a/general/configs/rofi/applets/menu/configs/rounded/volume.rasi +++ /dev/null @@ -1,128 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 20px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background; - text-color: @accent; - border: 0px 2px 0px 2px; - border-radius: 12px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 10px 10px 0px 10px; - border-radius: 12px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 15px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 20px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 20px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 20px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/apps.rasi b/general/configs/rofi/applets/menu/configs/square/apps.rasi deleted file mode 100755 index 559c7e5..0000000 --- a/general/configs/rofi/applets/menu/configs/square/apps.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Apps "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/backlight.rasi b/general/configs/rofi/applets/menu/configs/square/backlight.rasi deleted file mode 100755 index bb20f5e..0000000 --- a/general/configs/rofi/applets/menu/configs/square/backlight.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Brightness "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/battery.rasi b/general/configs/rofi/applets/menu/configs/square/battery.rasi deleted file mode 100755 index 0b0a6c2..0000000 --- a/general/configs/rofi/applets/menu/configs/square/battery.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Battery "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Iosevka Nerd Font 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/mpd.rasi b/general/configs/rofi/applets/menu/configs/square/mpd.rasi deleted file mode 100755 index b489728..0000000 --- a/general/configs/rofi/applets/menu/configs/square/mpd.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 3px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " MPD "; - background-color: @accent; - text-color: @background; - padding: 14px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/network.rasi b/general/configs/rofi/applets/menu/configs/square/network.rasi deleted file mode 100755 index 4d5bfde..0000000 --- a/general/configs/rofi/applets/menu/configs/square/network.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 650px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 4px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Network "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 4; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/powermenu.rasi b/general/configs/rofi/applets/menu/configs/square/powermenu.rasi deleted file mode 100755 index 9dcc9e2..0000000 --- a/general/configs/rofi/applets/menu/configs/square/powermenu.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 800px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 4px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " System "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 5; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/quicklinks.rasi b/general/configs/rofi/applets/menu/configs/square/quicklinks.rasi deleted file mode 100755 index 77d7d72..0000000 --- a/general/configs/rofi/applets/menu/configs/square/quicklinks.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 950px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Quick Links "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 6; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/screenshot.rasi b/general/configs/rofi/applets/menu/configs/square/screenshot.rasi deleted file mode 100755 index a95d9e2..0000000 --- a/general/configs/rofi/applets/menu/configs/square/screenshot.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Screenshot "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/time.rasi b/general/configs/rofi/applets/menu/configs/square/time.rasi deleted file mode 100755 index 7c81666..0000000 --- a/general/configs/rofi/applets/menu/configs/square/time.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 700px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 4px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Time "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "Hurmit Nerd Font Mono 48"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/configs/square/volume.rasi b/general/configs/rofi/applets/menu/configs/square/volume.rasi deleted file mode 100755 index f83d167..0000000 --- a/general/configs/rofi/applets/menu/configs/square/volume.rasi +++ /dev/null @@ -1,127 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - show-icons: false; - font: "Comfortaa 14"; - disable-history: false; - sidebar-mode: false; -} - -@import "../../../styles/colors.rasi" - -* { - background-color: @background; - text-color: @foreground; -} - -window { - transparency: "real"; - border-radius: 0px; - location: center; - width: 500px; - x-offset: 0px; - y-offset: 0px; -} - -prompt { - enabled: true; - padding: 10px; - background-color: @background-light; - text-color: @accent; - border: 2px 2px 2px 2px; - border-radius: 0px; - border-color: @accent; -} - -textbox-prompt-colon { - expand: false; - str: " Volume "; - background-color: @accent; - text-color: @background; - padding: 12px 10px 0px 10px; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - spacing: 0px; - background-color: @background; - text-color: @foreground; - expand: false; - border: 0px; - border-radius: 0px; - border-color: @accent; - margin: 0px 0px 0px 0px; - padding: 0px; - position: center; -} - -listview { - columns: 3; - lines: 1; - spacing: 15px; - cycle: true; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @background; - children: [ inputbar, listview ]; - spacing: 15px; - margin: 40px; -} - -element { - background-color: @background-light; - text-color: @foreground; - orientation: vertical; - border-radius: 0px; -} - -element-text { - background-color: inherit; - text-color: inherit; - font: "feather 32"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 40px 0px 40px 0px; -} - -element normal.urgent, -element alternate.urgent { - background-color: @off; - text-color: @background; - border-radius: 0px; -} - -element normal.active, -element alternate.active { - background-color: @on; - text-color: @background; -} - -element selected { - background-color: @accent; - text-color: @background; - border: 0px; - border-radius: 0px; - border-color: @border; -} - -element selected.urgent { - background-color: @on; - text-color: @background; -} - -element selected.active { - background-color: @off; - color: @background; -} diff --git a/general/configs/rofi/applets/menu/mpd.sh b/general/configs/rofi/applets/menu/mpd.sh deleted file mode 100755 index 3eb5498..0000000 --- a/general/configs/rofi/applets/menu/mpd.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/mpd.rasi" - -# Gets the current status of mpd (for us to parse it later on) -status="$(mpc status)" -# Defines the Play / Pause option content -if [[ $status == *"[playing]"* ]]; then - play_pause="" -else - play_pause="" -fi -active="" -urgent="" - -# Display if repeat mode is on / off -tog_repeat="" -if [[ $status == *"repeat: on"* ]]; then - active="-a 4" -elif [[ $status == *"repeat: off"* ]]; then - urgent="-u 4" -else - tog_repeat=" Parsing error" -fi - -# Display if random mode is on / off -tog_random="" -if [[ $status == *"random: on"* ]]; then - [ -n "$active" ] && active+=",5" || active="-a 5" -elif [[ $status == *"random: off"* ]]; then - [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" -else - tog_random=" Parsing error" -fi -stop="" -next="" -previous="" - -# Variable passed to rofi -options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" - -# Get the current playing song -current=$(mpc -f "%artist% - %title%" current) -# If mpd isn't running it will return an empty string, we don't want to display that -if [[ -z "$current" ]]; then - current="-" -fi - -# Spawn the mpd menu with the "Play / Pause" entry selected by default -chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" -case $chosen in - $previous) - mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" - ;; - $play_pause) - mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" - ;; - $stop) - mpc -q stop - ;; - $next) - mpc -q next && notify-send -u low -t 1800 " $(mpc current)" - ;; - $tog_repeat) - mpc -q repeat - ;; - $tog_random) - mpc -q random - ;; -esac diff --git a/general/configs/rofi/applets/menu/network.sh b/general/configs/rofi/applets/menu/network.sh deleted file mode 100755 index 6e50332..0000000 --- a/general/configs/rofi/applets/menu/network.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/network.rasi" - -## Get info -IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" -#SSID="$(iwgetid -r)" -#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" -#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" -STATUS="$(nmcli radio wifi)" - -active="" -urgent="" - -if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then - if [[ $STATUS == *"enable"* ]]; then - if [[ $IFACE == e* ]]; then - connected="" - else - connected="" - fi - active="-a 0" - SSID="﬉ $(iwgetid -r)" - PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" - fi -else - urgent="-u 0" - SSID="Disconnected" - PIP="Not Available" - connected="" -fi - -## Icons -bmon="" -launch_cli="" -launch="" - -options="$connected\n$bmon\n$launch_cli\n$launch" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$SSID : $PIP" -dmenu $active $urgent -selected-row 1)" -case $chosen in - $connected) - if [[ $STATUS == *"enable"* ]]; then - nmcli radio wifi off - else - nmcli radio wifi on - fi - ;; - $bmon) - termite -e bmon - ;; - $launch_cli) - termite -e nmtui - ;; - $launch) - nm-connection-editor - ;; -esac - diff --git a/general/configs/rofi/applets/menu/powermenu.sh b/general/configs/rofi/applets/menu/powermenu.sh deleted file mode 100755 index 7316af7..0000000 --- a/general/configs/rofi/applets/menu/powermenu.sh +++ /dev/null @@ -1,98 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/powermenu.rasi" - -uptime=$(uptime -p | sed -e 's/up //g') -cpu=$($HOME/.config/rofi/bin/usedcpu) -memory=$($HOME/.config/rofi/bin/usedram) - -# Options -shutdown="" -reboot="" -lock="" -suspend="" -logout="" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $HOME/.config/rofi/applets/styles/confirm.rasi -} - -# Message -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "祥 $uptime |  $cpu | ﬙ $memory " -dmenu -selected-row 2)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - systemctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/general/configs/rofi/applets/menu/quicklinks.sh b/general/configs/rofi/applets/menu/quicklinks.sh deleted file mode 100755 index c2f0495..0000000 --- a/general/configs/rofi/applets/menu/quicklinks.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/quicklinks.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" -} - -# Browser -if [[ -f /usr/bin/firefox ]]; then - app="firefox" -elif [[ -f /usr/bin/chromium ]]; then - app="chromium" -elif [[ -f /usr/bin/midori ]]; then - app="midori" -else - msg "No suitable web browser found!" - exit 1 -fi - -# Links -google="" -facebook="" -twitter="" -github="" -mail="" -youtube="" - -# Variable passed to rofi -options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" - -chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" -case $chosen in - $google) - $app https://www.google.com & - ;; - $facebook) - $app https://www.facebook.com & - ;; - $twitter) - $app https://www.twitter.com & - ;; - $github) - $app https://www.github.com & - ;; - $mail) - $app https://www.gmail.com & - ;; - $youtube) - $app https://www.youtube.com & - ;; -esac - diff --git a/general/configs/rofi/applets/menu/screenshot.sh b/general/configs/rofi/applets/menu/screenshot.sh deleted file mode 100755 index 24c5e1b..0000000 --- a/general/configs/rofi/applets/menu/screenshot.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/screenshot.rasi" - -# Error msg -msg() { - rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." -} - -# Options -screen="" -area="" -window="" - -# Variable passed to rofi -options="$screen\n$area\n$window" - -chosen="$(echo -e "$options" | $rofi_command -p 'App : scrot' -dmenu -selected-row 1)" -case $chosen in - $screen) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $area) - if [[ -f /usr/bin/scrot ]]; then - scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; - $window) - if [[ -f /usr/bin/scrot ]]; then - sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' - else - msg - fi - ;; -esac - diff --git a/general/configs/rofi/applets/menu/style.sh b/general/configs/rofi/applets/menu/style.sh deleted file mode 100755 index 68b9668..0000000 --- a/general/configs/rofi/applets/menu/style.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# Available Styles -# >> Created and tested on : rofi 1.6.0-1 -# -# square circle rounded - -style="square" - -# uncomment these lines to enable random style -#styles=('square' 'circle' 'rounded') -#style="${styles[$(( $RANDOM % 3 ))]}" - -# print style name -echo "$style" diff --git a/general/configs/rofi/applets/menu/time.sh b/general/configs/rofi/applets/menu/time.sh deleted file mode 100755 index 4432676..0000000 --- a/general/configs/rofi/applets/menu/time.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/time.rasi" - -## Get time and date -TIME="$(date +"%I:%M %p")" -DN=$(date +"%A") -MN=$(date +"%B") -DAY="$(date +"%d")" -MONTH="$(date +"%m")" -YEAR="$(date +"%Y")" - -options="$DAY\n$MONTH\n$YEAR" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p " at $TIME on $DN in $MN" -dmenu -selected-row 1)" diff --git a/general/configs/rofi/applets/menu/volume.sh b/general/configs/rofi/applets/menu/volume.sh deleted file mode 100755 index 7e4a0d8..0000000 --- a/general/configs/rofi/applets/menu/volume.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -style="$($HOME/.config/rofi/applets/menu/style.sh)" - -dir="$HOME/.config/rofi/applets/menu/configs/$style" -rofi_command="rofi -theme $dir/volume.rasi" - -## Get Volume -#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') -MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') - -active="" -urgent="" - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"off"* ]]; then - active="-a 1" -else - urgent="-u 1" -fi - -if [[ $MUTE == *"on"* ]]; then - VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" -else - VOLUME="Mute" -fi - -## Icons -ICON_UP="" -ICON_DOWN="" -ICON_MUTED="" - -options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" - -## Main -chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" -case $chosen in - $ICON_UP) - amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" - ;; - $ICON_DOWN) - amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" - ;; - $ICON_MUTED) - amixer -q set Master toggle - ;; -esac - diff --git a/general/configs/rofi/applets/styles/adapta-nokto.rasi b/general/configs/rofi/applets/styles/adapta-nokto.rasi deleted file mode 100755 index 3c4ef95..0000000 --- a/general/configs/rofi/applets/styles/adapta-nokto.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #00BCD4; - background: #263238; - background-light: #293840; - foreground: #E7E8EB; - on: #44ad4d; - off: #e34039; -} diff --git a/general/configs/rofi/applets/styles/adapta.rasi b/general/configs/rofi/applets/styles/adapta.rasi deleted file mode 100755 index c1c9999..0000000 --- a/general/configs/rofi/applets/styles/adapta.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #00ADC2; - background: #FFFFFF; - background-light: #E7E7E7; - foreground: #535353; - on: #44ad4d; - off: #e34039; -} diff --git a/general/configs/rofi/applets/styles/adwaita.rasi b/general/configs/rofi/applets/styles/adwaita.rasi deleted file mode 100755 index 81cd482..0000000 --- a/general/configs/rofi/applets/styles/adwaita.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #2E6BB6; - background: #2D2D2D; - background-light: #353535; - foreground: #E7E8EB; - on: #44ad4d; - off: #e34039; -} diff --git a/general/configs/rofi/applets/styles/arc-dark.rasi b/general/configs/rofi/applets/styles/arc-dark.rasi deleted file mode 100755 index 41f775f..0000000 --- a/general/configs/rofi/applets/styles/arc-dark.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #6BA0DE; - background: #383C4A; - background-light: #404552; - foreground: #E4E4E4; - on: #44ad4d; - off: #e34039; -} diff --git a/general/configs/rofi/applets/styles/arc.rasi b/general/configs/rofi/applets/styles/arc.rasi deleted file mode 100755 index a5c211b..0000000 --- a/general/configs/rofi/applets/styles/arc.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #5294E2; - background: #FFFFFF; - background-light: #E7E8EB; - foreground: #333333; - on: #44ad4d; - off: #e34039; -} diff --git a/general/configs/rofi/applets/styles/armchair.rasi b/general/configs/rofi/applets/styles/armchair.rasi deleted file mode 100755 index 93a9e2f..0000000 --- a/general/configs/rofi/applets/styles/armchair.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #E85A50; - background: #EAE8DC; - background-light: #E4D9C8; - foreground: #8E8D89; - on: #66bb6a; - off: #F68887; -} diff --git a/general/configs/rofi/applets/styles/colors.rasi b/general/configs/rofi/applets/styles/colors.rasi deleted file mode 100755 index f9043a3..0000000 --- a/general/configs/rofi/applets/styles/colors.rasi +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Change the colorscheme for every menu simply by editing this file... - * - * Available Color Schemes - * // Dark - * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange - * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green - * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal - * material-dark/yellow - * // Light - * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange - * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green - * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal - * material-light/yellow - * - * // Other - * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark - * armchair, darkpink, fresh, inside, party, sirin - * - */ - -@import "dark.rasi" diff --git a/general/configs/rofi/applets/styles/confirm.rasi b/general/configs/rofi/applets/styles/confirm.rasi deleted file mode 100755 index 79a4be2..0000000 --- a/general/configs/rofi/applets/styles/confirm.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Comfortaa 12"; -} - -window { - width: 225px; - padding: 25px; - border: 0px; - border-radius: 0px; - border-color: @accent; - location: center; - y-offset: -20px; -} - -entry { - expand: true; - text-color: @accent; -} diff --git a/general/configs/rofi/applets/styles/dark.rasi b/general/configs/rofi/applets/styles/dark.rasi deleted file mode 100755 index 162207b..0000000 --- a/general/configs/rofi/applets/styles/dark.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #A9C03F; - background: #141c21; - background-light: #1C252A; - foreground: #93a1a1; - on: #5BB462; - off: #DE635E; -} diff --git a/general/configs/rofi/applets/styles/darkpink.rasi b/general/configs/rofi/applets/styles/darkpink.rasi deleted file mode 100755 index 3bae851..0000000 --- a/general/configs/rofi/applets/styles/darkpink.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #F75176; - background: #414656; - background-light: #4B5060; - foreground: #F2F7E3; - on: #CDF0D9; - off: #FF796A; -} diff --git a/general/configs/rofi/applets/styles/fresh.rasi b/general/configs/rofi/applets/styles/fresh.rasi deleted file mode 100755 index a19ceb1..0000000 --- a/general/configs/rofi/applets/styles/fresh.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #043968; - background: #5CDB94; - background-light: #59C78A; - foreground: #303030; - on: #2e7d32; - off: #d32f2f; -} diff --git a/general/configs/rofi/applets/styles/gruvbox.rasi b/general/configs/rofi/applets/styles/gruvbox.rasi deleted file mode 100755 index 9f686f0..0000000 --- a/general/configs/rofi/applets/styles/gruvbox.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #83a598; - background: #282828; - background-light: #303030; - foreground: #ebdbb2; - on: #44ad4d; - off: #fb4934; -} diff --git a/general/configs/rofi/applets/styles/inside.rasi b/general/configs/rofi/applets/styles/inside.rasi deleted file mode 100755 index 8436894..0000000 --- a/general/configs/rofi/applets/styles/inside.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #C7493A; - background: #151515; - background-light: #202020; - foreground: #AD8174; - on: #689775; - off: #A33327; -} diff --git a/general/configs/rofi/applets/styles/material-dark/amber.rasi b/general/configs/rofi/applets/styles/material-dark/amber.rasi deleted file mode 100755 index 14cbfcd..0000000 --- a/general/configs/rofi/applets/styles/material-dark/amber.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ffc107; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/blue.rasi b/general/configs/rofi/applets/styles/material-dark/blue.rasi deleted file mode 100755 index 821e449..0000000 --- a/general/configs/rofi/applets/styles/material-dark/blue.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #1e88e5; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/blue_grey.rasi b/general/configs/rofi/applets/styles/material-dark/blue_grey.rasi deleted file mode 100755 index d810c0d..0000000 --- a/general/configs/rofi/applets/styles/material-dark/blue_grey.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #607d8b; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/brown.rasi b/general/configs/rofi/applets/styles/material-dark/brown.rasi deleted file mode 100755 index edf7633..0000000 --- a/general/configs/rofi/applets/styles/material-dark/brown.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #8d6e63; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/cyan.rasi b/general/configs/rofi/applets/styles/material-dark/cyan.rasi deleted file mode 100755 index 8de289c..0000000 --- a/general/configs/rofi/applets/styles/material-dark/cyan.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #26c6da; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/deep_orange.rasi b/general/configs/rofi/applets/styles/material-dark/deep_orange.rasi deleted file mode 100755 index 6c061b3..0000000 --- a/general/configs/rofi/applets/styles/material-dark/deep_orange.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ff5722; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/deep_purple.rasi b/general/configs/rofi/applets/styles/material-dark/deep_purple.rasi deleted file mode 100755 index d30571e..0000000 --- a/general/configs/rofi/applets/styles/material-dark/deep_purple.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #7e57c2; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/green.rasi b/general/configs/rofi/applets/styles/material-dark/green.rasi deleted file mode 100755 index 674280b..0000000 --- a/general/configs/rofi/applets/styles/material-dark/green.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #4caf50; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #a5d6a7; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/grey.rasi b/general/configs/rofi/applets/styles/material-dark/grey.rasi deleted file mode 100755 index 6c5e57c..0000000 --- a/general/configs/rofi/applets/styles/material-dark/grey.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #9e9e9e; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/indigo.rasi b/general/configs/rofi/applets/styles/material-dark/indigo.rasi deleted file mode 100755 index 8f89719..0000000 --- a/general/configs/rofi/applets/styles/material-dark/indigo.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #5c6bc0; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/light_blue.rasi b/general/configs/rofi/applets/styles/material-dark/light_blue.rasi deleted file mode 100755 index d3f4e1b..0000000 --- a/general/configs/rofi/applets/styles/material-dark/light_blue.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #039be5; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/light_green.rasi b/general/configs/rofi/applets/styles/material-dark/light_green.rasi deleted file mode 100755 index 5afdf7a..0000000 --- a/general/configs/rofi/applets/styles/material-dark/light_green.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #8bc34a; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #4caf50; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/lime.rasi b/general/configs/rofi/applets/styles/material-dark/lime.rasi deleted file mode 100755 index c32550e..0000000 --- a/general/configs/rofi/applets/styles/material-dark/lime.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #cddc39; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/orange.rasi b/general/configs/rofi/applets/styles/material-dark/orange.rasi deleted file mode 100755 index 2f26952..0000000 --- a/general/configs/rofi/applets/styles/material-dark/orange.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ff9800; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/pink.rasi b/general/configs/rofi/applets/styles/material-dark/pink.rasi deleted file mode 100755 index ef7a0af..0000000 --- a/general/configs/rofi/applets/styles/material-dark/pink.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ec407a; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/purple.rasi b/general/configs/rofi/applets/styles/material-dark/purple.rasi deleted file mode 100755 index a1dd6d4..0000000 --- a/general/configs/rofi/applets/styles/material-dark/purple.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ab47bc; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/red.rasi b/general/configs/rofi/applets/styles/material-dark/red.rasi deleted file mode 100755 index f5d3862..0000000 --- a/general/configs/rofi/applets/styles/material-dark/red.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ef5350; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef9a9a; -} diff --git a/general/configs/rofi/applets/styles/material-dark/teal.rasi b/general/configs/rofi/applets/styles/material-dark/teal.rasi deleted file mode 100755 index e6cdb73..0000000 --- a/general/configs/rofi/applets/styles/material-dark/teal.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #009688; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-dark/yellow.rasi b/general/configs/rofi/applets/styles/material-dark/yellow.rasi deleted file mode 100755 index d2788b0..0000000 --- a/general/configs/rofi/applets/styles/material-dark/yellow.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ffeb3b; - background: #212121; - background-light: #272727; - foreground: #bdbdbd; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/amber.rasi b/general/configs/rofi/applets/styles/material-light/amber.rasi deleted file mode 100755 index c02ae2a..0000000 --- a/general/configs/rofi/applets/styles/material-light/amber.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ff8f00; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/blue.rasi b/general/configs/rofi/applets/styles/material-light/blue.rasi deleted file mode 100755 index 780663e..0000000 --- a/general/configs/rofi/applets/styles/material-light/blue.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #1565c0; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/blue_grey.rasi b/general/configs/rofi/applets/styles/material-light/blue_grey.rasi deleted file mode 100755 index 8e15a53..0000000 --- a/general/configs/rofi/applets/styles/material-light/blue_grey.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #607d8b; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/brown.rasi b/general/configs/rofi/applets/styles/material-light/brown.rasi deleted file mode 100755 index 3f7d39f..0000000 --- a/general/configs/rofi/applets/styles/material-light/brown.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #795548; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/cyan.rasi b/general/configs/rofi/applets/styles/material-light/cyan.rasi deleted file mode 100755 index d879af0..0000000 --- a/general/configs/rofi/applets/styles/material-light/cyan.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #00acc1; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/deep_orange.rasi b/general/configs/rofi/applets/styles/material-light/deep_orange.rasi deleted file mode 100755 index 23f5815..0000000 --- a/general/configs/rofi/applets/styles/material-light/deep_orange.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #f4511e; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/deep_purple.rasi b/general/configs/rofi/applets/styles/material-light/deep_purple.rasi deleted file mode 100755 index cc5ec7d..0000000 --- a/general/configs/rofi/applets/styles/material-light/deep_purple.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #5e35b1; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/green.rasi b/general/configs/rofi/applets/styles/material-light/green.rasi deleted file mode 100755 index f476e01..0000000 --- a/general/configs/rofi/applets/styles/material-light/green.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #43a047; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/grey.rasi b/general/configs/rofi/applets/styles/material-light/grey.rasi deleted file mode 100755 index 6936929..0000000 --- a/general/configs/rofi/applets/styles/material-light/grey.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #555555; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/indigo.rasi b/general/configs/rofi/applets/styles/material-light/indigo.rasi deleted file mode 100755 index f0508c3..0000000 --- a/general/configs/rofi/applets/styles/material-light/indigo.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #3949ab; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/light_blue.rasi b/general/configs/rofi/applets/styles/material-light/light_blue.rasi deleted file mode 100755 index a0db87a..0000000 --- a/general/configs/rofi/applets/styles/material-light/light_blue.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #039be5; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/light_green.rasi b/general/configs/rofi/applets/styles/material-light/light_green.rasi deleted file mode 100755 index 0e33cef..0000000 --- a/general/configs/rofi/applets/styles/material-light/light_green.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #558b2f; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/lime.rasi b/general/configs/rofi/applets/styles/material-light/lime.rasi deleted file mode 100755 index 044eb62..0000000 --- a/general/configs/rofi/applets/styles/material-light/lime.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #afb42b; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/orange.rasi b/general/configs/rofi/applets/styles/material-light/orange.rasi deleted file mode 100755 index 072c9e2..0000000 --- a/general/configs/rofi/applets/styles/material-light/orange.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #ef6c00; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/pink.rasi b/general/configs/rofi/applets/styles/material-light/pink.rasi deleted file mode 100755 index e17d94d..0000000 --- a/general/configs/rofi/applets/styles/material-light/pink.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #d81b60; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/purple.rasi b/general/configs/rofi/applets/styles/material-light/purple.rasi deleted file mode 100755 index fa95bb9..0000000 --- a/general/configs/rofi/applets/styles/material-light/purple.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #8e24aa; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/red.rasi b/general/configs/rofi/applets/styles/material-light/red.rasi deleted file mode 100755 index d3ebcc0..0000000 --- a/general/configs/rofi/applets/styles/material-light/red.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #d32f2f; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/teal.rasi b/general/configs/rofi/applets/styles/material-light/teal.rasi deleted file mode 100755 index b137892..0000000 --- a/general/configs/rofi/applets/styles/material-light/teal.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #00796b; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/material-light/yellow.rasi b/general/configs/rofi/applets/styles/material-light/yellow.rasi deleted file mode 100755 index 8f68244..0000000 --- a/general/configs/rofi/applets/styles/material-light/yellow.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #f9a825; - background: #f5f5f5; - background-light: #e0e0e0; - foreground: #424242; - on: #66bb6a; - off: #ef5350; -} diff --git a/general/configs/rofi/applets/styles/message.rasi b/general/configs/rofi/applets/styles/message.rasi deleted file mode 100755 index 69d5b07..0000000 --- a/general/configs/rofi/applets/styles/message.rasi +++ /dev/null @@ -1,24 +0,0 @@ -/* Confirm Dialog */ - -@import "colors.rasi" - -* { - background-color: @background; - text-color: @foreground; - font: "Comfortaa 12"; -} - -window { - width: 360px; - padding: 25px; - border: 0px; - border-radius: 0px; - border-color: @accent; - location: center; - y-offset: -20px; -} - -entry { - expand: true; - text-color: @accent; -} diff --git a/general/configs/rofi/applets/styles/minimo.rasi b/general/configs/rofi/applets/styles/minimo.rasi deleted file mode 100755 index b6fa284..0000000 --- a/general/configs/rofi/applets/styles/minimo.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #656565; - background: #C6C6C4; - background-light: #FFFFFF; - foreground: #909090; - on: #226827; - off: #682226; -} diff --git a/general/configs/rofi/applets/styles/party.rasi b/general/configs/rofi/applets/styles/party.rasi deleted file mode 100755 index d8ea9af..0000000 --- a/general/configs/rofi/applets/styles/party.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #FFE401; - background: #272727; - background-light: #323232; - foreground: #747474; - on: #13A76B; - off: #FF652F; -} diff --git a/general/configs/rofi/applets/styles/sirin.rasi b/general/configs/rofi/applets/styles/sirin.rasi deleted file mode 100755 index 302cbce..0000000 --- a/general/configs/rofi/applets/styles/sirin.rasi +++ /dev/null @@ -1,8 +0,0 @@ -* { - accent: #106466; - background: #FFCB9B; - background-light: #D8B08C; - foreground: #2C3532; - on: #43a047; - off: #ef5350; -} diff --git a/general/configs/rofi/bin/usedcpu b/general/configs/rofi/bin/usedcpu deleted file mode 100755 index 512933c..0000000 --- a/general/configs/rofi/bin/usedcpu +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -PREV_TOTAL=0 -PREV_IDLE=0 - -cpuFile="/tmp/.cpu" - -if [[ -f "${cpuFile}" ]]; then - fileCont=$(cat "${cpuFile}") - PREV_TOTAL=$(echo "${fileCont}" | head -n 1) - PREV_IDLE=$(echo "${fileCont}" | tail -n 1) -fi - -CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. -unset CPU[0] # Discard the "cpu" prefix. -IDLE=${CPU[4]} # Get the idle CPU time. - -# Calculate the total CPU time. -TOTAL=0 - -for VALUE in "${CPU[@]:0:4}"; do - let "TOTAL=$TOTAL+$VALUE" -done - -if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then - # Calculate the CPU usage since we last checked. - let "DIFF_IDLE=$IDLE-$PREV_IDLE" - let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" - let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" - if [[ $1 = "-i" ]]; then - echo " ${DIFF_USAGE}%" - else - echo "${DIFF_USAGE}%" - fi -else - if [[ $1 = "-i" ]]; then - echo " ?" - else - echo "?" - fi -fi - -# Remember the total and idle CPU times for the next check. -echo "${TOTAL}" > "${cpuFile}" -echo "${IDLE}" >> "${cpuFile}" diff --git a/general/configs/rofi/bin/usedram b/general/configs/rofi/bin/usedram deleted file mode 100755 index e8a6108..0000000 --- a/general/configs/rofi/bin/usedram +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -mem_info=$( - - - - - - - image/svg+xml - - - - - - - - - diff --git a/general/configs/rofi/global/icons/google.svg b/general/configs/rofi/global/icons/google.svg deleted file mode 100755 index 21e5bf3..0000000 --- a/general/configs/rofi/global/icons/google.svg +++ /dev/null @@ -1,365 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/general/configs/rofi/global/icons/history.svg b/general/configs/rofi/global/icons/history.svg deleted file mode 100755 index 872bac8..0000000 --- a/general/configs/rofi/global/icons/history.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/general/configs/rofi/global/icons/result.svg b/general/configs/rofi/global/icons/result.svg deleted file mode 100755 index 0f4d883..0000000 --- a/general/configs/rofi/global/icons/result.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/general/configs/rofi/global/icons/suggestion.svg b/general/configs/rofi/global/icons/suggestion.svg deleted file mode 100755 index bf67346..0000000 --- a/general/configs/rofi/global/icons/suggestion.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/general/configs/rofi/global/rofi-spotlight.sh b/general/configs/rofi/global/rofi-spotlight.sh deleted file mode 100755 index d993949..0000000 --- a/general/configs/rofi/global/rofi-spotlight.sh +++ /dev/null @@ -1,692 +0,0 @@ -#!/usr/bin/env bash - -TMP_DIR="/tmp/rofi/${USER}/" - -PREV_LOC_FILE="${TMP_DIR}rofi_fb_prevloc" -CURRENT_FILE="${TMP_DIR}rofi_fb_current_file" - -MY_PATH="$(realpath "$0" | xargs dirname)" -HIST_FILE="${MY_PATH}/history.txt" - -OPENER=xdg-open -TERM_EMU=wezterm -TEXT_EDITOR=$EDITOR -FILE_MANAGER=xdg-open -BLUETOOTH_SEND=blueman-sendto - -CUR_DIR=$PWD -NEXT_DIR="" -FD_INSTALLED=$(command -v fd) - -SHOW_HIDDEN=false - -# Setup menu options -declare -a OPEN_FILE_LOCATION=( - "Open file location in ${TERM_EMU}" - "Open file location in ${FILE_MANAGER}" -) -declare -a RUN_COMMANDS=( - "Run" - "Execute in ${TERM_EMU}" -) -declare -a STANDARD_CONTROLS=( - "Move to trash" - "Delete" - "Back" -) -declare -a SHELL_NO_X_OPTIONS=( - "Edit" - "${OPEN_FILE_LOCATION[@]}" - "${STANDARD_CONTROLS[@]}" -) -declare -a SHELL_OPTIONS=( - "${RUN_COMMANDS[@]}" - "${SHELL_NO_X_OPTIONS[@]}" -) -declare -a BIN_NO_X_OPTIONS=( - "${OPEN_FILE_LOCATION[@]}" - "Back" -) -declare -a BIN_OPTIONS=( - "${RUN_COMMANDS[@]}" - "${BIN_NO_X_OPTIONS[@]}" -) -declare -a TEXT_OPTIONS=("${SHELL_NO_X_OPTIONS[@]}") -declare -a HTML_OPTIONS=( - "Open" - "Edit" - "${OPEN_FILE_LOCATION[@]}" - "${STANDARD_CONTROLS[@]}" -) -declare -a XCF_SVG_OPTIONS=( - "Open" - "${OPEN_FILE_LOCATION[@]}" - "${STANDARD_CONTROLS[@]}" -) -declare -a IMAGE_OPTIONS=( - "Open" - "Send via Bluetooth" - "${OPEN_FILE_LOCATION[@]}" - "${STANDARD_CONTROLS[@]}" -) - -declare -a ALL_OPTIONS=() - -# Combine all context menu -COMBINED_OPTIONS=( - "${SHELL_OPTIONS[@]}" - "${IMAGE_OPTIONS[@]}" -) - -# Remove duplicates -ALL_OPTIONS=("$(printf '%s\n' "${COMBINED_OPTIONS[@]}" | sort -u)") - -# Create tmp dir for rofi -[ ! -d "${TMP_DIR}" ] && mkdir -p "${TMP_DIR}"; - -# Create hist file if it doesn't exist -[ ! -f "${HIST_FILE}" ] && touch "${HIST_FILE}" - -# Help message -if [ -n "$*" ] && [[ "$*" = ":help" ]] -then - echo -en "Rofi Spotlight -A Rofi with file and web searching functionality - -Commands: -:help to print this help message -:h or :hidden to show hidden files/dirs -:sh or :show_hist to show search history -:ch or :clear_hist to clear search history -:xdg to jump to an xdg directory -Examples: - :xdg DOCUMENTS - :xdg DOWNLOADS -Also supports incomplete path: -Examples: - :xdg doc - :xdg down -For more info about XDG dirs, see: -\`man xdg-user-dir\` - -File search syntaxes: -! to search for a file and web suggestions -? to search parent directories -Examples: - !half-life 3 - ?portal 3 - -Web search syntaxes: -! to gets search suggestions -:web/:w to also to gets search suggestions -:webbro/:wb to search directly from your browser -Examples: - !how to install archlinux - :web how to install gentoo - :w how to make a nuclear fission - :webbro how to install wine in windowsxp -Back\0icon\x1fdraw-arrow-back\n" - - exit -fi - -# Return the icon string -function icon_file_type(){ - icon_name="" - mime_type=$(file --mime-type -b "${1}") - - case "${mime_type}" in - "inode/directory") - case "${1}" in - "Desktop/" ) - icon_name='folder-blue-desktop' - ;; - "Documents/" ) - icon_name='folder-blue-documents' - ;; - "Downloads/" ) - icon_name='folder-blue-downloads' - ;; - "Music/" ) - icon_name='folder-blue-music' - ;; - "Pictures/" ) - icon_name='folder-blue-pictures' - ;; - "Public/" ) - icon_name='folder-blue-public' - ;; - "Templates/" ) - icon_name='folder-blue-templates' - ;; - "Videos/" ) - icon_name='folder-blue-videos' - ;; - "root/" ) - icon_name='folder-root' - ;; - "home/" | "${USER}/") - icon_name='folder-home' - ;; - *"$" ) - icon_name='folder-blue' - ;; - *) - icon_name='folder-blue' - ;; - esac - ;; - "inode/symlink" ) - icon_name='inode-symlink' - ;; - "audio/flac" | "audio/mpeg" ) - icon_name='music' - ;; - "video/mp4" ) - icon_name='video-mp4' - ;; - "video/x-matroska" ) - icon_name=video-x-matroska - ;; - "image/x-xcf" ) - # notify-send '123' - icon_name='image-x-xcf' - ;; - "image/jpeg" | "image/png" | "image/svg+xml") - icon_name="${CUR_DIR}/${1}" - ;; - "image/gif" ) - icon_name='gif' - ;; - "image/vnd.adobe.photoshop" ) - icon_name='image-vnd.adobe.photoshop' - ;; - "image/webp" ) - icon_name='gif' - ;; - "application/x-pie-executable" ) - icon_name='binary' - ;; - "application/pdf" ) - icon_name='pdf' - ;; - "application/zip" ) - icon_name='application-zip' - ;; - "application/x-xz" ) - icon_name='application-x-xz-compressed-tar' - ;; - "application/x-7z-compressed" ) - icon_name='application-x-7zip' - ;; - "application/x-rar" ) - icon_name='application-x-rar' - ;; - "application/octet-stream" | "application/x-iso9660-image" ) - icon_name='application-x-iso' - ;; - "application/x-dosexec" ) - icon_name='application-x-ms-dos-executable' - ;; - "text/plain" ) - icon_name='application-text' - ;; - "text/x-shellscript" ) - icon_name='application-x-shellscript' - ;; - "text/html" ) - icon_name='text-html' - ;; - "font/sfnt" | "application/vnd.ms-opentype" ) - icon_name='application-x-font-ttf' - ;; - * ) - case "${1}" in - *."docx" | *".doc" ) - icon_name='application-msword' - ;; - *."apk" ) - icon_name='android-package-archive' - ;; - * ) - icon_name='unknown' - ;; - esac - ;; - esac - - echo -en "$1\0icon\x1f$icon_name\n" -} - -export -f icon_file_type - -# Pass the argument to python script -function web_search() { - # Pass the search query to web-search script - "${MY_PATH}/web-search.py" "${1}" - exit; -} - -# Handles the web search method -if [ ! -z "$@" ] && ([[ "$@" == ":webbro"* ]] || [[ "$@" == ":wb"* ]]) -then - remove='' - [[ "$*" = ":webbro"* ]] && remove=":webbro" || remove=":wb" - - # Search directly from your web browser - web_search "$(printf '%s\n' "${1//$remove/}")" - exit; - -elif [ ! -z "$@" ] && ([[ "$@" == ":web"* ]] || [[ "$@" == ":w"* ]]) -then - remove='' - [[ "$*" = ":web"* ]] && remove=":web" || remove=":w" - - # Get search suggestions - web_search "!$(printf '%s\n' "${1//$remove/}")" - exit; -fi - -function find_query() { - QUERY=${1} - if [[ ! "${QUERY}" =~ ( |\') ]] - then - if [ -z "$FD_INSTALLED" ]; - then - find "${HOME}" -iname *"${QUERY}"* | sed "s/\/home\/$USER/\~/" | - awk -v MY_PATH="${MY_PATH}" '{print $0"\0icon\x1f"MY_PATH"/icons/result.svg\n"}' - else - fd -H ${QUERY} ${HOME} | sed "s/\/home\/$USER/\~/" | - awk -v MY_PATH="${MY_PATH}" '{print $0"\0icon\x1f"MY_PATH"/icons/result.svg\n"}' - fi - fi -} - -# File and calls to the web search -if [ ! -z "$@" ] && ([[ "$@" == ?(\~)/* ]] || [[ "$@" == \?* ]] || [[ "$@" == \!* ]]) -then - QUERY=$@ - - echo "${QUERY}" >> "${HIST_FILE}" - - if [[ "$@" == ?(\~)/* ]] - then - [[ "$*" = \~* ]] && QUERY="${QUERY//"~"/"$HOME"}" - - coproc ${OPENER} "${QUERY}" > /dev/null 2>&1 - exec 1>&- - exit - - elif [[ "$@" == \?* ]] - then - find_query ${QUERY#\?} - - else - # Find the file - find_query ${QUERY#!} - - # Web search - web_search "! ${QUERY#!}" - fi - exit; -fi - -# Create notification if there's an error -function create_notification() { - case "${1}" in - "denied" ) - notify-send -a "Global Search" "Permission denied!" \ - 'You have no permission to access '"${CUR_DIR}!" - ;; - "deleted" ) - notify-send -a "Global Search" "Success!" \ - 'File deleted!' - ;; - "trashed" ) - notify-send -a "Global Search" "Success!" \ - 'The file has been moved to trash!' - ;; - "cleared" ) - notify-send -a "Global Search" "Success!" \ - 'Search history has been successfully cleared!' - ;; - * ) - notify-send -a "Global Search" "Somethings wrong I can feel it!" \ - 'This incident will be reported!' - ;; - esac -} - -# Show the files in the current directory -function navigate_to() { - # process current dir. - if [ -n "${CUR_DIR}" ] - then - CUR_DIR=$(readlink -e "${CUR_DIR}") - if [ ! -d "${CUR_DIR}" ] || [ ! -r "${CUR_DIR}" ] - then - create_notification "denied" - CUR_DIR=$(realpath ${CUR_DIR} | xargs dirname) - echo "${CUR_DIR}" > "${PREV_LOC_FILE}" - else - echo "${CUR_DIR}/" > "${PREV_LOC_FILE}" - fi - pushd "${CUR_DIR}" >/dev/null || exit - fi - - printf "..\0icon\x1fup\n" - - if [[ -z "$FD_INSTALLED" ]] - then - #Group directories - if [[ ${SHOW_HIDDEN} == true ]] - then - for i in .*/ - do - [[ -d "${i}" ]] && ([[ "${i}" != "./" ]] && [[ "${i}" != "../"* ]]) && icon_file_type "${i}" - done - fi - for i in */ - do - [[ -d "${i}" ]] && icon_file_type "${i}" - done - #Group files - if [[ ${SHOW_HIDDEN} = true ]] - then - for i in .* - do - [[ -f "${i}" ]] && icon_file_type "${i}" - done - fi - for i in * - do - [[ -f "${i}" ]] && icon_file_type "${i}" - done - else - THREADS=$(getconf _NPROCESSORS_ONLN) - export CUR_DIR - if [[ ${SHOW_HIDDEN} == true ]] - then - fd -Ht d -d 1 -x bash -c 'icon_file_type "$1/"' _ {} \ | sort -V --parallel=$THREADS - fd -Ht f -d 1 -x bash -c 'icon_file_type "$1"' _ {} \ | sort -V --parallel=$THREADS - else - fd -t d -d 1 -x bash -c 'icon_file_type "$1/"' _ {} \ | sort -V --parallel=$THREADS - fd -t f -d 1 -x bash -c 'icon_file_type "$1"' _ {} \ | sort -V --parallel=$THREADS - fi - fi -} - -# Set XDG dir -function return_xdg_dir() { - target_dir=${1^^} - - if [[ "HOME" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir) - - elif [[ "DESKTOP" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir DESKTOP) - - elif [[ "DOCUMENTS" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir DOCUMENTS) - - elif [[ "DOWNLOADS" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir DOWNLOAD) - - elif [[ "MUSIC" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir MUSIC) - - elif [[ "PICTURES" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir PICTURES) - - elif [[ "PUBLICSHARE" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir PUBLICSHARE) - - elif [[ "TEMPLATES" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir TEMPLATES) - - elif [[ "VIDEOS" == *"${target_dir}"* ]] - then - CUR_DIR=$(xdg-user-dir VIDEOS) - - elif [[ "ROOT" == *"${target_dir}"* ]] - then - CUR_DIR="/" - - else - CUR_DIR="${HOME}" - fi - navigate_to - exit; -} - -# Show and Clear History -if [ ! -z "$@" ] && ([[ "$@" == ":sh" ]] || [[ "$@" == ":show_hist" ]]) -then - hist=$(tac "${HIST_FILE}") - - echo -en "Back\0icon\x1fdraw-arrow-back\n" - [ -z "${hist}" ] && echo -en "No History Yet\0icon\x1ftext-plain\n" - - while IFS= read -r line; - do - echo -en "${line}\0icon\x1f${MY_PATH}/icons/history.svg\n"; - done <<< "${hist}" - - exit; -elif [ ! -z "$@" ] && ([[ "$@" == ":ch" ]] || [[ "$@" == ":clear_hist" ]]) -then - :> "${HIST_FILE}" - create_notification "cleared" - - CUR_DIR="${HOME}" - navigate_to - exit; -fi - -# Accepts XDG command -if [[ ! -z "$@" ]] && [[ "$@" == ":xdg"* ]] -then - NEXT_DIR=${*//":xdg "/} - - [[ -n "$NEXT_DIR" ]] && return_xdg_dir "${NEXT_DIR}" || return_xdg_dir "${HOME}" -fi - -# Read last location, otherwise we default to PWD. -[ -f "${PREV_LOC_FILE}" ] && CUR_DIR=$(< "${PREV_LOC_FILE}") - -if [[ ! -z "$@" ]] && ([[ "$@" == ":h" ]] || [[ "$@" == ":hidden" ]]) -then - SHOW_HIDDEN=true - navigate_to - exit; -fi - -# Handle argument. -[ -n "$*" ] && CUR_DIR="${CUR_DIR}/$*" - -# Context Menu -if [ -n "$*" ] && [[ "${ALL_OPTIONS[*]} " = *"$*"* ]] -then - case "${1}" in - "Run" ) - coproc ( eval "$(< ${CURRENT_FILE})" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Execute in ${TERM_EMU}" ) - coproc ( eval "${TERM_EMU} \"$(< ${CURRENT_FILE})\"" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Open" ) - coproc ( eval "${OPENER} \"$(< ${CURRENT_FILE})\"" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Open file location in ${TERM_EMU}" ) - file_path="$(< ${CURRENT_FILE})" - coproc ( ${TERM_EMU} bash -c "cd ${file_path%/*} ; ${SHELL}" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Open file location in ${FILE_MANAGER}" ) - file_path="$(< "${CURRENT_FILE}")" - coproc ( eval "${FILE_MANAGER} "${file_path%/*}"" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Edit" ) - coproc ( eval "${TERM_EMU} ${TEXT_EDITOR} \"$(< ${CURRENT_FILE})\"" & > /dev/null 2>&1 ) - kill -9 $(pgrep rofi) - ;; - "Move to trash" ) - coproc( gio trash "$(< ${CURRENT_FILE})" & > /dev/null 2>&1 ) - create_notification "trashed" - CUR_DIR="$(dirname "$(< ${CURRENT_FILE})")" - navigate_to - ;; - "Delete" ) - shred "$(< ${CURRENT_FILE})" - rm "$(< ${CURRENT_FILE})" - create_notification "deleted" - CUR_DIR="$(dirname "$(< ${CURRENT_FILE})")" - navigate_to - ;; - "Send via Bluetooth" ) - rfkill unblock bluetooth && bluetoothctl power on - sleep 1 - blueman-sendto "$(< ${CURRENT_FILE})" & > /dev/null 2>&1 - kill -9 $(pgrep rofi) - ;; - "Back" ) - CUR_DIR="$(< ${PREV_LOC_FILE})" - navigate_to - ;; - esac - exit; -fi - -function context_menu_icons() { - - if [[ "${1}" == "Run" ]] - then - echo '\0icon\x1fsystem-run\n' - - elif [[ "${1}" == "Execute in ${TERM_EMU}" ]] - then - echo "\0icon\x1f${TERM_EMU}\n" - - elif [[ "${1}" == "Open" ]] - then - echo "\0icon\x1futilities-x-terminal\n" - - elif [[ "${1}" == "Open file location in ${TERM_EMU}" ]] - then - echo "\0icon\x1f${TERM_EMU}\n" - - elif [[ "${1}" == "Open file location in ${FILE_MANAGER}" ]] - then - echo "\0icon\x1fblue-folder-open\n" - - elif [[ "${1}" == "Edit" ]] - then - echo "\0icon\x1faccessories-text-editor\n" - - elif [[ "${1}" == "Move to trash" ]] - then - echo "\0icon\x1fapplication-x-trash\n" - - elif [[ "${1}" == "Delete" ]] - then - echo "\0icon\x1findicator-trashindicator\n" - - elif [[ "${1}" == "Send via Bluetooth" ]] - then - echo "\0icon\x1fbluetooth\n" - - elif [[ "${1}" == "Back" ]] - then - echo "\0icon\x1fback\n" - fi -} - -function print_context_menu() { - declare -a arg_arr=("${!1}") - - for menu in "${arg_arr[@]}" - do - printf "$menu$(context_menu_icons "${menu}")\n" - done -} - -function context_menu() { - - type="$(file --mime-type -b "${CUR_DIR}")" - - if [ -w "${CUR_DIR}" ] && [[ "${type}" == "text/x-shellscript" ]] - then - if [ -x "${CUR_DIR}" ]; - then - print_context_menu SHELL_OPTIONS[@] - else - print_context_menu SHELL_NO_X_OPTIONS[@] - fi - - elif [[ "${type}" == "application/x-executable" ]] || [[ "${type}" == "application/x-pie-executable" ]] - then - if [ -x "${CUR_DIR}" ] - then - print_context_menu BIN_OPTIONS[@] - else - print_context_menu BIN_NO_X_OPTIONS[@] - fi - - elif [[ "${type}" == "text/plain" ]] - then - print_context_menu TEXT_OPTIONS[@] - - elif [[ "${type}" == "text/html" ]] - then - print_context_menu HTML_OPTIONS[@] - - elif [[ "${type}" == "image/jpeg" ]] || [[ "${type}" == "image/png" ]] - then - print_context_menu IMAGE_OPTIONS[@] - - elif [[ "${type}" == "image/x-xcf" ]] || [[ "${type}" == "image/svg+xml" ]] - then - print_context_menu XCF_SVG_OPTIONS[@] - - elif [ ! -w "${CUR_DIR}" ] && [[ "${type}" == "text/x-shellscript" ]] - then - coproc ( exec "${CUR_DIR}" & > /dev/null 2>&1 ) - - else - if [ ! -d "${CUR_DIR}" ] && [ ! -f "${CUR_DIR}" ] - then - QUERY="${CUR_DIR//*\/\//}" - - echo "${QUERY}" >> "${HIST_FILE}" - - find_query "${QUERY#!}" - - web_search "!${QUERY}" - else - coproc ( ${OPENER} "${CUR_DIR}" & > /dev/null 2>&1 ) - fi - fi - exit; -} - -# If argument is not a directory/folder -if [ ! -d "${CUR_DIR}" ] -then - echo "${CUR_DIR}" > "${CURRENT_FILE}" - context_menu - exit; -fi - -navigate_to diff --git a/general/configs/rofi/global/rofi.rasi b/general/configs/rofi/global/rofi.rasi deleted file mode 100755 index 819fc2b..0000000 --- a/general/configs/rofi/global/rofi.rasi +++ /dev/null @@ -1,162 +0,0 @@ -configuration { - font: "Inter Regular 10"; - sidebar-mode: true; - show-icons: true; - icon-theme: "Nordzy"; - fullscreen: false; - threads: 0; - matching: "fuzzy"; - scroll-method: 0; - monitor: "primary"; -} - -* { - transparent: #00000000; - foreground: #F2F2F2EE; - background-selected: #F2F2F245; - background-active: #F2F2F230; - background-white: #F2F2F211; - background-black: #00000000; - urgent: #E91E6366; - urgent-selected: #E91E6377; -} - -window { - transparency: "real"; - background-color: #1917244D; - text-color: #6e6a86; - location: west; - anchor: west; - x-offset: 5px; - y-offset: -50px; - height: 70%; - width: 350px; - orientation: vertical; -} - -prompt { - enabled: false; -} - -button { - action: "ok"; - str: " "; - font: "FantasqueSansMono Nerd Font 16"; - expand: false; - text-color: #6e6a86; - background-color: @transparent; - vertical-align: 0.5; - horizontal-align: 0.5; -} - -entry { - font: "Inter Regular 12"; - background-color: @transparent; - text-color: #6e6a86; - expand: true; - vertical-align: 0.5; - horizontal-align: 0; - placeholder: "Global Search"; - placeholder-color: @foreground; - blink: true; -} - -entry-wrapper { - orientation: horizontal; - margin: 0 12px 0 12px; - spacing: 24px; - vertical-align: 0.5; - background-color: @transparent; - children: [ button, entry ]; -} - -inputbar { - padding: 14px; - margin: 10px 10px 14px 10px; - background-color: #26233a; - text-color: @foreground; - expand: false; - border-radius: 9px; - position: north; - children: [ entry-wrapper ]; -} - -listview { - background-color: @transparent; - spacing: 0; - cycle: true; - dynamic: true; - scrollbar: true; -} - -mainbox { - width: 200px; - expand: true; - spacing: 12px; - padding: 5px; - background-color: @background-black; - children: [ inputbar, listview ]; -} - -scrollbar { - background-color: @background-white; - handle-width: 0; - margin: 0 0 5px 0; - border-radius: 9px; -} - -element { - background-color: @transparent; - text-color: @foreground; - orientation: horizontal; - border: 0; - border-color: @background-white; - border-radius: 6px; - spacing: 24px; - margin: 0px 12px 0px 12px; - padding: 10px 24px 10px 24px; -} - -element-icon { - size: 24px; - border: 0; - border-color: @transparent; - background-color: transparent; -} - -element-text { - font: "Inter Regular 11"; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - color: #6e6a86; - background-color: transparent; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; - border-radius: 9px; -} - -element normal.active, -element alternate.active { - background-color: @background-active; - text-color: @foreground; -} - -element selected { - background-color: #403d5220; - text-color: @foreground; -} - -element selected.urgent { - background-color: @urgent-selected; - text-color: @foreground; -} - -element selected.active { - background-color: #403d5220; - color: @foreground-selected; -} \ No newline at end of file diff --git a/general/configs/rofi/global/web-search.py b/general/configs/rofi/global/web-search.py deleted file mode 100755 index ba314d5..0000000 --- a/general/configs/rofi/global/web-search.py +++ /dev/null @@ -1,167 +0,0 @@ -#!/usr/bin/env python3 - -# MIT License - -# Copyright (c) 2019 Paolo Donadeo - -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: - -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. - -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - -import json -import re -import urllib.parse -import urllib.request -import sys -import os -import datetime -import gzip - -import subprocess as sp - -import html - - -################################################################################ -##### C O N F I G U R A T I O N ###### -################################################################################ -SEARCH_ENGINE = 'google' # or 'duckduckgo' -BROWSER = 'firefox' # or 'firefox', 'chromium', 'brave', 'lynx' -TERMINAL = ['kitty', '--'] # or ['st', '-e'] or something like that -################################################################################ - -CONFIG = { - 'BROWSER_PATH' : { - 'chrome' : ['google-chrome-stable'], - 'firefox' : ['firefox'], - 'chromium' : ['chromium-browser'], - 'brave' : ['brave-browser'], - 'lynx' : TERMINAL + ['lynx'] - }, - 'USER_AGENT' : { - 'chrome' : 'Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36', - 'firefox' : 'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0', - 'chromium' : 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/76.0.3809.100 Chrome/76.0.3809.100 Safari/537.36', - 'brave' : 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36', - 'lynx' : 'Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.1.1d' - }, - 'SEARCH_ENGINE_NAME' : { - 'google' : 'Google', - 'duckduckgo' : 'DuckDuckGo' - }, - 'SEARCH_URL' : { - 'google' : 'https://www.google.com/search?q=', - 'duckduckgo' : 'https://duckduckgo.com/?q=' - }, - 'SUGGESTION_URL' : { - 'google' : 'https://www.google.com/complete/search?', - 'duckduckgo' : 'https://duckduckgo.com/ac/?' - } -} - -def cleanhtml(txt): - return re.sub(r'<.*?>', '', txt) - -def fetch_suggestions(search_string): - if SEARCH_ENGINE == 'google': - r = { - 'q' : search_string, - 'cp' : '11', - 'client' : 'psy-ab', - 'xssi' : 't', - 'gs_ri' : 'gws-wiz', - 'hl' : 'en-IT', - 'authuser' : '0' - } - url = CONFIG['SUGGESTION_URL'][SEARCH_ENGINE] + urllib.parse.urlencode(r) - headers = { - 'sec-fetch-mode' : 'cors', - 'dnt' : '1', - 'accept-encoding' : 'gzip', - 'accept-language' : 'en-US;q=0.9,en;q=0.8', - 'pragma' : 'no-cache', - 'user-agent' : CONFIG['USER_AGENT'][BROWSER], - 'accept' : '*/*', - 'cache-control' : 'no-cache', - 'authority' : 'www.google.com', - 'referer' : 'https://www.google.com/', - 'sec-fetch-site' : 'same-origin' - } - req = urllib.request.Request(url, headers=headers, method='GET') - - reply_data = gzip.decompress(urllib.request.urlopen(req).read()).split(b'\n')[1] - reply_data = json.loads(reply_data) - return [ cleanhtml(res[0]).strip() for res in reply_data[0] ] - else: # 'duckduckgo' - if search_string.startswith('!'): - bang_search = True - search_string = search_string.lstrip('!') - else: - bang_search = False - r = { - 'q' : search_string, - 'callback' : 'autocompleteCallback', - 'kl' : 'wt-wt', - '_' : str(int((datetime.datetime.now().timestamp())*1000)) - } - url = CONFIG['SUGGESTION_URL'][SEARCH_ENGINE] + urllib.parse.urlencode(r) - if bang_search: - url = url.replace('?q=', '?q=!') - headers = { - 'pragma' : 'no-cache', - 'dnt' : '1', - 'accept-encoding' : 'gzip', - 'accept-language' : 'en-US;q=0.9,en;q=0.8', - 'user-agent' : CONFIG['USER_AGENT'][BROWSER], - 'sec-fetch-mode' : 'no-cors', - 'accept' : '*/*', - 'cache-control' : 'no-cache', - 'authority' : 'duckduckgo.com', - 'referer' : 'https://duckduckgo.com/', - 'sec-fetch-site' : 'same-origin', - } - req = urllib.request.Request(url, headers=headers, method='GET') - reply_data = gzip.decompress(urllib.request.urlopen(req).read()).decode('utf8') - reply_data = json.loads(re.match(r'autocompleteCallback\((.*)\);', reply_data).group(1)) - return [ cleanhtml(res['phrase']).strip() for res in reply_data ] - -def main(): - search_string = html.unescape((' '.join(sys.argv[1:])).strip()) - - path_str = os.path.dirname(os.path.realpath(__file__)) + '/' - icon_path_str = path_str + 'icons/' - icon_name = icon_path_str - - if SEARCH_ENGINE == 'google': - icon_name += 'google.svg' - else: - icon_name += 'ddg.svg' - - if search_string.startswith('!'): - search_string = search_string.rstrip('!').strip() - results = fetch_suggestions(search_string) - for r in results: - print(":wb " + html.unescape(r) + "\0icon\x1f"+icon_name+"\n") - else: - url = CONFIG['SEARCH_URL'][SEARCH_ENGINE] + urllib.parse.quote_plus(search_string) - sp.Popen(CONFIG['BROWSER_PATH'][BROWSER] + [url], stdout=sp.DEVNULL, stderr=sp.DEVNULL, shell=False) - -if __name__ == "__main__": - try: - main() - except Exception as e: - if e: - sys.exit(1) diff --git a/general/configs/rofi/powermenu/drop_square.rasi b/general/configs/rofi/powermenu/drop_square.rasi deleted file mode 100755 index b4ae903..0000000 --- a/general/configs/rofi/powermenu/drop_square.rasi +++ /dev/null @@ -1,123 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "FantasqueSansMono Nerd Font 14"; - show-icons: false; - icon-theme: "Papirus"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "styles/colors.rasi" - -window { - transparency: "real"; - background-color: @background; - text-color: @foreground; - border-radius: 0px; - height: 42%; - width: 100%; - location: north; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 1% 1% 1% 0%; - background-color: @background-alt; - text-color: @foreground; -} - -textbox-prompt-colon { - expand: false; - str: "System |"; - background-color: @background-alt; - text-color: @foreground; - padding: 1% 0.5% 1% 7%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: @background-alt; - text-color: @foreground; - expand: false; - border: 0% 0% 0.2% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @border; - margin: 0% 33.25% 0% 20%; - padding: 0.5%; - position: center; -} - -listview { - background-color: @background; - margin: 0% 0% 0% 0%; - spacing: 3%; - cycle: true; - dynamic: true; - layout: horizontal; -} - -mainbox { - background-color: @background; - children: [ listview, inputbar ]; - spacing: 0%; - padding: 5% 0% 5% 13.25%; -} - -element { - background-color: @background-alt; - text-color: @foreground; - orientation: horizontal; - border-radius: 0%; -} - -element-text { - background-color: #00000000; - text-color: inherit; - font: "feather 64"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 6.5% 4% 6.5% 4%; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; - border-radius: 0.2%; -} - -element normal.active, -element alternate.active { - background-color: @background-alt; - text-color: @foreground; -} - -element selected { - background-color: @selected; - text-color: @foreground; - border: 0% 0% 0.2% 0%; - border-radius: 0%; - border-color: @border; -} - -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} - -element selected.active { - background-color: @background-alt; - color: @foreground; -} diff --git a/general/configs/rofi/powermenu/powermenu.rasi b/general/configs/rofi/powermenu/powermenu.rasi deleted file mode 100755 index 41fc910..0000000 --- a/general/configs/rofi/powermenu/powermenu.rasi +++ /dev/null @@ -1,93 +0,0 @@ -configuration { - font: "JetBrainsMono Nerd Font 36"; - drun-display-format: "{name}"; - fullscreen: false; - threads: 0; - matching: "fuzzy"; - scroll-method: 0; - disable-history: false; - fullscreen: true; -} - -* { - transparent: #00000000; - foreground: #F2F2F2EE; - background-selected: #F2F2F245; - background-active: #F2F2F230; - background-white: #F2F2F211; - background-black: #00000066; - urgent: #E91E6366; - urgent-selected: #E91E6377; -} - -window { - transparency: "real"; - background-color: @transparent; - text-color: @foreground; - location: northwest; - anchor: northwest; -} - -inputbar { - margin: 0; - padding: 0; - children: [ entry-wrapper ]; -} - -listview { - background-color: @transparent; - lines: 6; - spacing: 5%; - cycle: false; - dynamic: true; - layout: horizontal; -} - -mainbox { - background-color: @background-black; - children: [ inputbar, listview ]; - padding: calc(50% - 70px) 0% 0% 15%; -} - -element { - background-color: @transparent; - text-color: @foreground; - orientation: horizontal; - border-radius: 10px; - padding: 30px; - vertical: 0.5; -} - -element-text { - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; - border-radius: 9px; -} - -element normal.active, -element alternate.active { - background-color: @background-active; - text-color: @foreground; -} - -element selected { - background-color: #29B6F6; - text-color: #212121; -} - -element selected.urgent { - background-color: @urgent-selected; - text-color: @foreground; -} - -element selected.active { - background-color: @background-active; - color: @foreground-selected; -} diff --git a/general/configs/rofi/powermenu/powermenu.sh b/general/configs/rofi/powermenu/powermenu.sh deleted file mode 100755 index f857ac5..0000000 --- a/general/configs/rofi/powermenu/powermenu.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -# Available Styles -# >> Created and tested on : rofi 1.6.0-1 -# -# column_circle column_square column_rounded column_alt -# card_circle card_square card_rounded card_alt -# dock_circle dock_square dock_rounded dock_alt -# drop_circle drop_square drop_rounded drop_alt -# full_circle full_square full_rounded full_alt -# row_circle row_square row_rounded row_alt - -theme="drop_square" -dir="$HOME/.config/rofi/powermenu" - - -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -theme $dir/$theme" - -# Options -shutdown="" -reboot="" -lock="" -suspend="" -logout="" - -# Message -msg() { - rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" -case $chosen in - $shutdown) - systemctl poweroff - ;; - $reboot) - systemctl reboot - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - mpc -q pause - amixer set Master mute - systemctl suspend - ;; - $logout) - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - fi - ;; -esac diff --git a/general/configs/rofi/powermenu/styles/berry.rasi b/general/configs/rofi/powermenu/styles/berry.rasi deleted file mode 100755 index 025c231..0000000 --- a/general/configs/rofi/powermenu/styles/berry.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #280F28ff; - background-alt: #2D142Cff; - foreground: #ffffffA6; - border: #EE4540ff; - border-alt: #C92A42ff; - selected: #510A3299; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/bluish.rasi b/general/configs/rofi/powermenu/styles/bluish.rasi deleted file mode 100755 index 2305bd5..0000000 --- a/general/configs/rofi/powermenu/styles/bluish.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #EFF0F1FF; - background-alt: #E3E3E3FF; - foreground: #000000A6; - border: #000B83FF; - border-alt: #3DAEE9FF; - selected: #93CEE9FF; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/cocoa.rasi b/general/configs/rofi/powermenu/styles/cocoa.rasi deleted file mode 100755 index 31f780d..0000000 --- a/general/configs/rofi/powermenu/styles/cocoa.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #3C3945FF; - background-alt: #413E4Aff; - foreground: #F7C7B2ff; - border: #B38184ff; - border-alt: #F3B69Eff; - selected: #B381841a; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/colors.rasi b/general/configs/rofi/powermenu/styles/colors.rasi deleted file mode 100755 index a1d2937..0000000 --- a/general/configs/rofi/powermenu/styles/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Change the colorscheme for every menu simply by editing this file... - * - * Available Color Schemes - * - * bluish berry nordic nightly gotham mask faded cocoa - * - */ - -@import "nordic.rasi" diff --git a/general/configs/rofi/powermenu/styles/faded.rasi b/general/configs/rofi/powermenu/styles/faded.rasi deleted file mode 100755 index 0eebd64..0000000 --- a/general/configs/rofi/powermenu/styles/faded.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #57678CFF; - background-alt: #5E6C91ff; - foreground: #FFFCFFff; - border: #FF83A7ff; - border-alt: #F4BB6Cff; - selected: #A0B5F44c; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/gotham.rasi b/general/configs/rofi/powermenu/styles/gotham.rasi deleted file mode 100755 index 2bae381..0000000 --- a/general/configs/rofi/powermenu/styles/gotham.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #24334Aff; - background-alt: #29384Fff; - foreground: #FEFFF1ff; - border: #3A6081ff; - border-alt: #715979ff; - selected: #C46C854C; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/mask.rasi b/general/configs/rofi/powermenu/styles/mask.rasi deleted file mode 100755 index c63ac9e..0000000 --- a/general/configs/rofi/powermenu/styles/mask.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #3E4667ff; - background-alt: #434C6Dff; - foreground: #FAF7CCff; - border: #CA8CA5ff; - border-alt: #F0B2B3ff; - selected: #EFD4B61a; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/nightly.rasi b/general/configs/rofi/powermenu/styles/nightly.rasi deleted file mode 100755 index 400e6cd..0000000 --- a/general/configs/rofi/powermenu/styles/nightly.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #25344Bff; - background-alt: #2A3950ff; - foreground: #FEFFF1ff; - border: #A162F7ff; - border-alt: #45E3FFff; - selected: #6F88FE1a; - urgent: #DA4453FF; -} diff --git a/general/configs/rofi/powermenu/styles/nordic.rasi b/general/configs/rofi/powermenu/styles/nordic.rasi deleted file mode 100755 index 3c42c77..0000000 --- a/general/configs/rofi/powermenu/styles/nordic.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #2E3440ff; - background-alt: #2E3440ff; - foreground: #8FBCBBff; - border: #bbbbbbff; - border-alt: #ccccccff; - selected: #444444ff; - urgent: #777777FF; -} diff --git a/general/configs/rofi/scripts/emoji b/general/configs/rofi/scripts/emoji deleted file mode 100755 index dcc641e..0000000 --- a/general/configs/rofi/scripts/emoji +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -DIR="$HOME/.config" - -rofi -show emoji -modi emoji -theme $DIR/rofi/Themes/emojis.rasi diff --git a/general/configs/rofi/scripts/powermenu.sh b/general/configs/rofi/scripts/powermenu.sh deleted file mode 100755 index ac31173..0000000 --- a/general/configs/rofi/scripts/powermenu.sh +++ /dev/null @@ -1,98 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/styles" -rofi_command="rofi -theme $dir/five.rasi" - -uptime=$(uptime -p | sed -e 's/up //g') - -# Options -shutdown="" -reboot="" -lock="" -suspend="" -logout="" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" -case $chosen in - $shutdown) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - loginctl poweroff - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $reboot) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - loginctl reboot - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $lock) - if [[ -f /usr/bin/i3lock ]]; then - i3lock - elif [[ -f /usr/bin/betterlockscreen ]]; then - betterlockscreen -l - fi - ;; - $suspend) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - loginctl suspend - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; - $logout) - ans=$(confirm_exit &) - if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then - if [[ "$DESKTOP_SESSION" == "/usr/share/xsessions/voidwm" ]]; then - pkill dwm - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "/usr/share/xsessions/i3" ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == "/usr/local/bin/dwm" ]]; then - pkill dwm - elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then - pkill awesome - else - pkill Hyprland - fi - elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then - exit 0 - else - msg - fi - ;; -esac diff --git a/general/configs/rofi/scripts/screenshot-wl.sh b/general/configs/rofi/scripts/screenshot-wl.sh deleted file mode 100755 index fcb907e..0000000 --- a/general/configs/rofi/scripts/screenshot-wl.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/styles" -rofi_command="rofi -theme $dir/three.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 0.4; grim -t png - | wl-copy -t image/png - ;; - $area) - grim -g "$(slurp)" -t png - | wl-copy -t image/png - ;; - $window) - sleep 0.4; grim -g "$(hyprctl activewindow | grep at: | cut -d' ' -f2) $(hyprctl activewindow | grep size: | cut -d' ' -f2 | sed 's/,/x/g')" - | wl-copy - ;; -esac - diff --git a/general/configs/rofi/scripts/screenshot.sh b/general/configs/rofi/scripts/screenshot.sh deleted file mode 100755 index 0b26829..0000000 --- a/general/configs/rofi/scripts/screenshot.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -dir="$HOME/.config/rofi/styles" -rofi_command="rofi -theme $dir/three.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) - scrot -e 'xclip -selection clipboard -target image/png -i $f && rm $f' - ;; - $area) - scrot -s --line mode=edge -e 'xclip -selection clipboard -target image/png -i $f && rm $f' - ;; - $window) - scrot -u -e 'xclip -selection clipboard -target image/png -i $f && rm $f' - ;; -esac - diff --git a/general/configs/rofi/spotlight/README.md b/general/configs/rofi/spotlight/README.md new file mode 100644 index 0000000..3414477 --- /dev/null +++ b/general/configs/rofi/spotlight/README.md @@ -0,0 +1,107 @@ +## rofi: *spotlight* + +A spotlight-like rofi. Supports file and web search. + +

+ rofi: spotlight +
+ + rofi: spotlight + +

+ +#### Dependencies + ++ `rofi-git master branch` ++ `python3` ++ `bash` ++ `fd (optional)` ++ `an icon theme (optional)` + +#### Icon themes used: + ++ Papirus ++ Tela Blue + +#### Run it by: + +```bash +$ rofi -modi "Global Search":"rofi-spotlight/rofi-spotlight.sh" -show "Global Search" \ +-config rofi-spotlight/rofi.rasi +``` + +#### Recommendation + ++ Install `fd` for faster file searching. Defaults to `find` if not installed. + +#### Configuration: + +You can change the following variables in the `rofi-spotlight.sh` ++ Terminal Emulator ++ File Manager ++ Bluetooth sender + +You can change the following variables in the `web-search.py` ++ Search engine ++ Web browser ++ Terminal Emulator + +#### Available commands: + +Just type them on rofi search bar: + ++ **`:help`** to print the help message ++ **`:h`** or **`:hidden`** to show hidden files/directories ++ **`:xdg XDGDIR`** to jump to an xdg directory + +Examples: + +``` +:xdg DOCUMENTS +:xdg DOWNLOADS + +# Also supports incomplete path. Examples: + +:xdg doc # Same as :xdg DOCUMENTS +:xdg down # Same as :xdg DOWNLOADS + +# For more info about XDG dirs, see: +# man xdg-user-dir +``` + +**File search syntaxes:** ++ **`!`** to search for a file and web suggestions ++ **`?`** to search parent directories + +Examples: + +``` +!half-life 3 +?portal 3 +``` + +**Web search syntaxes:** + ++ **`!`** to get a search suggestions ++ **`:web `** to also to gets search suggestions ++ **`:webbro `** to search directly from your browser + +Examples: + +``` +!how to install archlinux +:web how to install gentoo +:webbro how to install wine in windowsxp +``` + +#### TODOs: + +- [x] Web search support +- [x] Cleaner bash script + +#### Notes: + ++ This is not a file manager nor a web browser. This is a file/web-searching rofi. Nothing else. ++ Default rofi design is better with blur. Rofi's appearance can be change in `rofi.rasi`. It uses CSS syntax. More info by executing `man rofi-theme` in your terminal emulator. + +#### Credits to [these people](https://github.com/manilarome/rofi-spotlight/graphs/contributors) diff --git a/general/configs/rofi/spotlight/history.txt b/general/configs/rofi/spotlight/history.txt old mode 100755 new mode 100644 index d0143a7..e69de29 --- a/general/configs/rofi/spotlight/history.txt +++ b/general/configs/rofi/spotlight/history.txt @@ -1,3 +0,0 @@ -!te -A Rofi with file and web searching functionality -!test diff --git a/general/configs/rofi/spotlight/icons/ddg.svg b/general/configs/rofi/spotlight/icons/ddg.svg old mode 100755 new mode 100644 diff --git a/general/configs/rofi/spotlight/icons/google.svg b/general/configs/rofi/spotlight/icons/google.svg old mode 100755 new mode 100644 diff --git a/general/configs/rofi/spotlight/icons/history.svg b/general/configs/rofi/spotlight/icons/history.svg old mode 100755 new mode 100644 diff --git a/general/configs/rofi/spotlight/icons/result.svg b/general/configs/rofi/spotlight/icons/result.svg old mode 100755 new mode 100644 diff --git a/general/configs/rofi/spotlight/rofi-spotlight.sh b/general/configs/rofi/spotlight/rofi-spotlight.sh index 0ed30e9..d0b76aa 100755 --- a/general/configs/rofi/spotlight/rofi-spotlight.sh +++ b/general/configs/rofi/spotlight/rofi-spotlight.sh @@ -9,9 +9,9 @@ MY_PATH="$(realpath "$0" | xargs dirname)" HIST_FILE="${MY_PATH}/history.txt" OPENER=xdg-open -TERM_EMU=terminator +TERM_EMU=kitty TEXT_EDITOR=$EDITOR -FILE_MANAGER=xdg-open +FILE_MANAGER=y BLUETOOTH_SEND=blueman-sendto CUR_DIR=$PWD diff --git a/general/configs/rofi/spotlight/rofi.rasi b/general/configs/rofi/spotlight/rofi.rasi old mode 100755 new mode 100644 index 13fc4fa..1c154bf --- a/general/configs/rofi/spotlight/rofi.rasi +++ b/general/configs/rofi/spotlight/rofi.rasi @@ -12,22 +12,23 @@ configuration { } * { - background: rgba(5, 0, 52, 1); - foreground: #FFFFFFFF; + transparent: #00000000; + foreground: #F2F2F2EE; background-selected: #F2F2F245; background-active: #F2F2F230; - background-white: rgba(0, 0, 0, 1); - background-black: rgba(0, 0, 0, 1); - urgent: rgba(5, 0, 52, 1); + background-white: #F2F2F211; + background-black: #00000066; + urgent: #E91E6366; urgent-selected: #E91E6377; } window { - background-color: @background; + transparency: "real"; + background-color: @transparent; location: center; anchor: center; x-offset: 0px; - height: 50%; + height: 500px; width: 750px; orientation: vertical; border-radius: 12px; @@ -39,19 +40,18 @@ prompt { button { action: "ok"; - str: "🔎 "; + str: " "; font: "FantasqueSansMono Nerd Font 11"; expand: false; text-color: @foreground; - background-color: @background; + background-color: @transparent; vertical-align: 0.7; horizontal-align: 0.5; - border-radius: 15px; } entry { font: "Inter Regular 11"; - background-color: @background; + background-color: @transparent; text-color: @foreground; expand: true; vertical-align: 0.5; @@ -62,7 +62,7 @@ entry { } case-indicator { - background-color: @background; + background-color: @transparent; text-color: @foreground; vertical-align: 0.5; horizontal-align: 0.5; @@ -72,7 +72,7 @@ entry-wrapper { orientation: horizontal; vertical-align: 0.5; spacing: 4px; - background-color: @background; + background-color: @transparent; children: [ button, entry, case-indicator ]; } @@ -88,7 +88,7 @@ inputbar { } listview { - background-color: @background; + background-color: @transparent; columns: 2; spacing: 5px; cycle: false; @@ -104,7 +104,7 @@ mainbox { } element { - background-color: @background; + background-color: @transparent; text-color: @foreground; orientation: horizontal; border-radius: 6px; @@ -125,7 +125,6 @@ element-text { element normal.urgent, element alternate.urgent { - str: "t"; background-color: @urgent; text-color: @foreground; border-radius: 9px; diff --git a/general/configs/rofi/spotlight/web-search.py b/general/configs/rofi/spotlight/web-search.py index 936f065..733f8d9 100755 --- a/general/configs/rofi/spotlight/web-search.py +++ b/general/configs/rofi/spotlight/web-search.py @@ -39,15 +39,14 @@ import html ##### C O N F I G U R A T I O N ###### ################################################################################ SEARCH_ENGINE = 'duckduckgo' # or 'duckduckgo' -BROWSER = 'librewolf' # or 'firefox', 'chromium', 'brave', 'lynx' -TERMINAL = ['terminator', '--'] # or ['st', '-e'] or something like that +BROWSER = 'firefox' # or 'firefox', 'chromium', 'brave', 'lynx' +TERMINAL = ['kitty', '--'] # or ['st', '-e'] or something like that ################################################################################ CONFIG = { 'BROWSER_PATH' : { 'chrome' : ['google-chrome-stable'], 'firefox' : ['firefox'], - 'librewolf' : ['librewolf'], 'chromium' : ['chromium-browser'], 'brave' : ['brave-browser'], 'lynx' : TERMINAL + ['lynx'] @@ -55,7 +54,6 @@ CONFIG = { 'USER_AGENT' : { 'chrome' : 'Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36', 'firefox' : 'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0', - 'librewolf' : 'Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0', 'chromium' : 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/76.0.3809.100 Chrome/76.0.3809.100 Safari/537.36', 'brave' : 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36', 'lynx' : 'Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.1.1d'