Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a simple pomodoro widget #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .config/i3/i3blocks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ separator_block_width=30
separator=false
markup=none

#simple pomodoro status
#to use simply do "pomodoro start <task ie 'reversing the mainframe'>"
#you might wanna add pomodoro to your patha
[pomodoro]
command=/home/kali/go/bin/pomodoro status --format "%d 🍅 %!r 🍅 Collected today : %c"
label=Task:
interval=1

# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
Expand Down
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ sudo apt update && sudo apt upgrade -y

sudo apt-get install -y arandr flameshot arc-theme feh i3blocks i3status i3 i3-wm lxappearance python3-pip rofi unclutter cargo compton papirus-icon-theme imagemagick
sudo apt-get install -y libxcb-shape0-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev autoconf meson
sudo apt-get install -y libxcb-render-util0-dev libxcb-shape0-dev libxcb-xfixes0-dev
sudo apt-get install -y libxcb-render-util0-dev libxcb-shape0-dev libxcb-xfixes0-dev
sudo apt-get install -y golang
go install github.com/open-pomodoro/openpomodoro-cli/cmd/pomodoro@latest

mkdir -p ~/.local/share/fonts/

Expand Down