From 9478a0c15020b09c6c8c437ade90068762be2379 Mon Sep 17 00:00:00 2001 From: "elizabeth.hunt@simponic.xyz" Date: Mon, 27 Mar 2023 19:07:33 -0600 Subject: [PATCH] Readd battery/display states, install pavucontrol --- .config/waybar/config | 16 ++++++++++++++++ scripts/install.sh | 12 +++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index c3a9bb8..b02297f 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -42,4 +42,20 @@ }, "on-click": "pavucontrol" }, + "backlight": { + "format": " {}%" + }, + "battery": { + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + } } diff --git a/scripts/install.sh b/scripts/install.sh index f6b78fa..f234208 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -10,7 +10,8 @@ sudo pacman -S git emacs vim \ sway inetutils playerctl rustup tmux \ openssl-1.1 bluez bluez-utils wget \ base-devel dunst wofi noto-fonts-emoji \ - light brightnessctl pass + light brightnessctl pass docker \ + pavucontrol # rustup rustup default stable @@ -27,7 +28,7 @@ cd ~ # AUR packages pikaur -S xremap-x11-bin spotify-tui-bin \ betterdiscord-installer-bin discord obs-studio \ - nerd-fonts-cozette-ttf ttf-font-awesome + nerd-fonts-cozette-ttf ttf-font-awesome ttf-cozette # xremap sudo groupadd input @@ -43,13 +44,17 @@ systemctl enable --user spotifyd # chsh to zsh chsh $USER --shell /bin/zsh +# Docker +sudo systemctl enable --now docker +sudo groupadd docker +sudo usermod -aG docker $USER + # Wallpapers mkdir Wallpapers && cd Wallpapers wget "https://github.com/FrenzyExists/wallpapers/raw/main/Gruv/gruv-temple.png" wget "https://e0.pxfuel.com/wallpapers/885/812/desktop-wallpaper-i3-gaps-gruvbox-arch-love-r-unixporn.jpg" wget "https://github.com/FrenzyExists/wallpapers/blob/main/Anime/anime-coffee-girl.jpg?raw=true" wget -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" "https://wallpapers.com//images/hd/celeste-madeline-strawberry-2o1vy9t0faa9vwm0.jpg" - cd .. # Setup asdf-vm, thefuck @@ -67,3 +72,4 @@ echo " . Setup spotify-tui with client id from spotify.com" echo " . Put spotify password in `pass insert spotify` for spotifyd" echo " . Login to firefox" echo " . Put ssh key into GitHub, change remote origin in ~" +echo " . Add waybar config in .config/waybar/local.d"