diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-01-23 11:13:18 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-01-23 11:13:18 +0100 |
commit | 72efe134f645a5212f875c153dd8db4a64cbe968 (patch) | |
tree | d23229285071bf381515657b94919852ebf426c9 /Common/rofi/applets/menu/time.sh | |
parent | e33d5f8d10d34e5a3a4bb292015961dd574f4c93 (diff) | |
download | dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.tar.gz dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.zip |
changes
Diffstat (limited to 'Common/rofi/applets/menu/time.sh')
-rwxr-xr-x | Common/rofi/applets/menu/time.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Common/rofi/applets/menu/time.sh b/Common/rofi/applets/menu/time.sh deleted file mode 100755 index 4432676..0000000 --- a/Common/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)" |