Commit Graph

12 Commits

Author SHA1 Message Date
5078b6a63f *.sh: Fix some shellcheck issues 2025-06-27 12:59:13 +02:00
274549dddc polybar: Use new builtin tray module
New in 3.7.
2024-09-21 00:15:33 +02:00
b1d396babd *: Use /usr/bin/env in shebangs for bash & zsh
To increase the portability (OSX for example has zsh under `/bin/zsh`).
2021-07-14 13:48:21 +02:00
druckdev
7753a1f7bf i3,polybar: Add bind and make calendar toggleable 2020-11-05 12:23:43 +01:00
druckdev
d8222a861a polybar:launch.sh: Fix typo 2020-11-02 23:26:26 +01:00
druckdev
62cd1d5b1f polybar: Add calendar popup on date-module click 2020-11-02 23:25:10 +01:00
druckdev
0ff935663e polybar:launch: Do not parse xrandr for primary
Instead of getting the primary monitor from xrandr we can use the output
of polybars `--list-monitors` that we get already. This results in a
slight performance boost.
2020-10-03 01:57:48 +02:00
druckdev
4cb445c2b5 shell-scripts: Use [[ instead of [ where possible
Replace all occurrences of [ with [[ in bash and zsh scripts and
configs.
Performance wise it makes sense to use the builtin instead of calling an
external command also when from a functionality stand point `test` would
suffice.
2020-10-03 01:29:29 +02:00
druckdev
1d3adc30e5 polybar: Make hardcoded paths dependant from XDG
Instead of hardcoding the paths of all the scripts, use env variables
that are set in launch.sh. This way the config also works with
XDG_CONFIG_HOME not set to ~/.config.
Sadly polybar only accepts references that stand on their own.
(So something like ${env:XDG_CONFIG_HOME:~/.config}/polybar/<script>
does not work.) Hence the mess with the associative array and the
variables for every module.
2020-09-28 18:08:03 +02:00
druckdev
6cdabb78be Multi monitor support
When restarting i3 check for connected second monitor: scale it and
restart polybar if there is one.
Put polybar tray on the main monitor.
Do not kill polybar and relaunch it when restarting i3, but restart it
using ipc (much faster).
2020-06-25 23:20:08 +02:00
druckdev
758b6e5713 multi monitor support; auto reload config 2020-04-28 01:47:55 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00