aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/applets/menu/time.sh
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2022-12-04 18:23:46 -0600
committerAlec Goncharow <alec@goncharow.dev>2022-12-04 18:23:46 -0600
commit1ec73cc2c14d2f62c32046d9585c3a745531d37a (patch)
tree8b9c6b2e5ba43ce1248c114758a55df9467cab64 /.config/rofi/applets/menu/time.sh
parentb257edf16c9b8b14ebb542e857a29c74fea00495 (diff)
Fresh start
Diffstat (limited to '.config/rofi/applets/menu/time.sh')
-rwxr-xr-x.config/rofi/applets/menu/time.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/.config/rofi/applets/menu/time.sh b/.config/rofi/applets/menu/time.sh
deleted file mode 100755
index 4432676..0000000
--- a/.config/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)"