Commit Graph

12 Commits

Author SHA1 Message Date
druckdev
307364364a polybar: Fix typo 2020-10-24 18:44:40 +02: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
29d28a25ee polybar: Use st to start nmtui 2020-09-28 18:10:05 +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
d3433bc83e Small changes in vpn polybar module
Check for tunnel connections now as well.
Add exit code that signals if a VPN is used or not.
2020-09-13 04:45:15 +02:00
druckdev
20b9e3c2a8 Show workspace name instead of index
By that workspaces with no indices are displayed as their name instead
of "-1".
2020-07-14 14:33:17 +02:00
druckdev
d8b40ce427 Display playing media information 2020-06-25 23:26:28 +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
e7d8ed55ed added bluetooth module; replaced bars with ramps 2020-04-28 01:57:04 +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