first commit
This commit is contained in:
commit
78b79e224f
239 changed files with 14912 additions and 0 deletions
19
rofi/scripts/time.sh
Executable file
19
rofi/scripts/time.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Reddit : @adi1090x
|
||||
|
||||
rofi_command="rofi -theme themes/time.rasi"
|
||||
|
||||
## Get time and date
|
||||
TIME="$(date +"%A, %I:%M %p")"
|
||||
DAY="$(date +"%d")"
|
||||
MONTH="$(date +"%m")"
|
||||
YEAR="$(date +"%Y")"
|
||||
|
||||
options="$DAY\n$MONTH\n$YEAR"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p " $TIME" -dmenu -selected-row 1)"
|
Loading…
Add table
Add a link
Reference in a new issue