1
0
Fork 0
mirror of https://github.com/correl/dotfiles.git synced 2025-01-06 19:08:52 +00:00

[provisioning] Add polybar

This commit is contained in:
Correl Roush 2021-01-09 23:58:51 -05:00
parent 3ef223fe48
commit 40462fef14
3 changed files with 23 additions and 0 deletions

View file

@ -4,6 +4,7 @@ set -e
_recipe _apt
_recipe emacs
_recipe polybar
_apt brightnessctl
_apt fonts-font-awesome

6
recipes/polybar Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
# Description: A customizeable desktop environment status bar
set -e
_recipe snap
_snap polybar-git --edge --devmode

16
recipes/snap Normal file
View file

@ -0,0 +1,16 @@
#!/bin/bash
# Description: Ubuntu Snaps
set -e
_recipe _apt
_apt snapd
function _snap {
local package=$1
if ! snap info $package | grep ^installed: >/dev/null; then
_run "[snap] Install $package" sudo snap install $@
else
echo "[snap] $package is already installed, skipping."
fi
}