Commit graph

7 commits

Author SHA1 Message Date
5d265a33f7
polybar: Add weather script
Added script to show the forecast weather for the immediate future /
right now in polybar.
2020-09-07 22:02:25 +02:00
d37e65f03c
[polybar] Fix pomodoro timer script display
Moved pomo submodule directory to avoid conflict with pomo generated
file.

Right-clicking will now always reset the pomodoro timer. It will not
automatically start again. Left-click it once to initialize a new run,
and again to actually start the timer.

The symbol signifies this:
Empty tomato, timer stopped.
Half-full tomato, timer paused.
Clock-tomato and a timer beside it, work timer running.
Coffee cup, break timer running.
2020-05-26 13:42:14 +02:00
050bac9c55 [polybar] Add pomo timer as git submodule
Using [jsspencer/pomo](https://github.com/jsspencer/pomo) as the timer
of choice. It is simple, it works well, and it uses a very elegant way
of tracking the time.

I can think about implementing my own version later, but this will
handily suffice for now.

Polybar script will now limit the pomo timer to a single 'running'
instance containing the notification function, by putting its running
instance PID in a lockfile and killing it before restarting or changing
the timer.

Added running and paused tomato icons; as well as break coffee icon.
Removed display of seconds, unless the last minute of a timer is
running.
2020-05-25 15:25:45 +00:00
ce4473bf9f
[polybar] Remove papersdue script date invocation
Removed unnecessary invocations of date util, since it will be invoked
by the actual running script anyways.
2020-05-16 19:07:01 +02:00
f96f9f2211 [script] Add simple due script for bibtex file
Scrapes a bibtex file for 'due' field, and outputs all found entries
with their priority and sorted for date.
2020-05-16 17:05:09 +00:00
f0dff67410
[polybar] Add safer package update checking
Package updates in yay (as in pacman) will not be reported correctly
when the repository mirrors have not been updated recently.

However, updating only the mirrors without also synching the packages
locally is not recommended by arch. That means, essentially, we can't do
a dry-run to only 'check' for packages without running the danger of
performing a partial arch upgrade.

The program `checkupdates` in pacman-contrib package helps with this by
performing a check for the available updates without needing to pull
from the mirrors before. So, the polybar update script now checks for
its existence and uses it if available, falling back to the standard yay
procedure otherwise.
2020-02-25 07:53:05 +01:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00