From cbf0f1ad6d80a15c80f3f06ed219756a304a6acd Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Mon, 27 Jul 2026 12:33:14 -0400 Subject: backlight waybar --- .zshrc | 30 ------------------------------ waybar/config | 8 ++++++++ waybar/style.css | 7 ++++++- 3 files changed, 14 insertions(+), 31 deletions(-) delete mode 100644 .zshrc diff --git a/.zshrc b/.zshrc deleted file mode 100644 index b46cde3..0000000 --- a/.zshrc +++ /dev/null @@ -1,30 +0,0 @@ -export ZSH="$HOME/.oh-my-zsh" -ZSH_THEME="simple" - -zstyle ':omz:update' mode reminder # just remind me to update when it's time - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Standard plugins can be found in $ZSH/plugins/ -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=(git) - -source $ZSH/oh-my-zsh.sh - -# You may need to manually set your language environment -export LANG=en_US.UTF-8 - -export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$HOME/.zvm/bin:$PATH -export XDG_CONFIG_HOME=$HOME/etc -export XDG_DATA_HOME=$HOME/usr -export XDG_CACHE_HOME=$HOME/var -export XDG_STATE_HOME=$HOME/usr/state -export WLR_RENDERER=vulkan -export VISUAL=nvim -export EDITOR=nvim -export MAKEFLAGS="-j12" diff --git a/waybar/config b/waybar/config index 1afa014..c44d842 100644 --- a/waybar/config +++ b/waybar/config @@ -20,6 +20,9 @@ "custom/right-arrow-dark" ], "modules-right": [ + "custom/left-arrow-dark", + "backlight", + "custom/left-arrow-light", "custom/left-arrow-dark", "pulseaudio", "custom/left-arrow-light", @@ -114,6 +117,11 @@ "format": " {free}", "path": "/" }, + "backlight": { + "device": "amdgpu_bl0", + "format": "{icon} {percent}%", + "format-icons": ["󱩎", "󱩐", "󱩒", "󱩓", "󱩔", "󱩕", "󱩖", "󰛨"] + }, "network": { "interval": 5, "format-icons": ["󰤯", "󰤟", "󰤢", "󰤨"], diff --git a/waybar/style.css b/waybar/style.css index d381dd0..f2ffe67 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,6 +1,6 @@ * { font-size: 12px; - font-family: "Hack Nerd Font Mono"; + font-family: "Mononoki Nerd Font Mono"; min-height: 0; } @@ -29,6 +29,7 @@ window#waybar { #battery, #disk, #network, +#backlight, #tray { background: #1a1a1a; } @@ -68,12 +69,16 @@ window#waybar { #network { color: #fcac35; } +#backlight { + color: #aa4423; +} #clock, #pulseaudio, #memory, #cpu, #battery, +#backlight, #network, #disk { padding: 0 10px; -- cgit v1.2.3-54-g00ecf