Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- today=$(date '+%A, %d %b %Y')
- export TERM=xterm
- cal --color=always \
- | sed 's/\x1b\[[7;]*m/\<b\>\<u\>/g' \
- | sed 's/\x1b\[[27;]*m/\<\/u\>\<\/b\>/g' \
- | rofi -dmenu -p " $today" \
- -markup-rows -no-fullscreen -hide-scrollbar \
- -location 0 -bw 2 -eh 1 \
- -font 'Terminus bold 12' \
- -theme-str '#inputbar {children: [prompt];}' \
- -theme-str '#inputbar {padding: 0.35em;}' \
- -theme-str '#listview {lines: 7;}' \
- -theme-str '#element selected.normal {text-color: #5994ad; background-color: #303d44;}' \
- -theme-str '#window {x-offset: 42.2%; y-offset: -33%;}' \
- -theme-str '#window {width: 202;}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement