diff --git a/Justfile b/Justfile index 64f08e98..119ee05b 100644 --- a/Justfile +++ b/Justfile @@ -87,13 +87,6 @@ gcroot: # ############################################################################ -[linux] -[group('desktop')] -i3 mode="default": - #!/usr/bin/env nu - use {{utils_nu}} *; - nixos-switch ai-i3 {{mode}} - [linux] [group('desktop')] hypr mode="default": @@ -101,14 +94,6 @@ hypr mode="default": use {{utils_nu}} *; nixos-switch ai-hyprland {{mode}} - -[linux] -[group('desktop')] -s-i3 mode="default": - #!/usr/bin/env nu - use {{utils_nu}} *; - nixos-switch shoukei-i3 {{mode}} - [linux] [group('desktop')] s-hypr mode="default": diff --git a/README.md b/README.md index 84377b02..34cfad0f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This repository is home to the nix code that builds my systems: -1. NixOS Desktops: NixOS with home-manager, i3, hyprland, agenix, etc. +1. NixOS Desktops: NixOS with home-manager, hyprland, agenix, etc. 2. macOS Desktops: nix-darwin with home-manager, share the same home-manager configuration with NixOS Desktops. 3. NixOS Servers: virtual machines running on Proxmox/KubeVirt, with various services, such as @@ -54,29 +54,29 @@ You don't have to go through the pain I've experienced again! Check out my ## Components -| | NixOS(Wayland) | NixOS(Xorg) | -| --------------------------- | :------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------ | -| **Window Manager** | [Hyprland][Hyprland] | [i3][i3] | -| **Terminal Emulator** | [Zellij][Zellij] + [Kitty][Kitty] | [Zellij][Zellij] + [Kitty][Kitty] | -| **Bar** | [Waybar][Waybar] | [polybar][polybar] | -| **Application Launcher** | [anyrun][anyrun] | [rofi][rofi] | -| **Notification Daemon** | [Mako][Mako] | [Dunst][Dunst] | -| **Display Manager** | [GDM][GDM] | [GDM][GDM] | -| **Color Scheme** | [Catppuccin][Catppuccin] | [Catppuccin][Catppuccin] | -| **network management tool** | [NetworkManager][NetworkManager] | [NetworkManager][NetworkManager] | -| **Input method framework** | [Fcitx5][Fcitx5] | [Fcitx5][Fcitx5] | -| **System resource monitor** | [Btop][Btop] | [Btop][Btop] | -| **File Manager** | [Yazi][Yazi] + [thunar][thunar] | [Yazi][Yazi] + [thunar][thunar] | -| **Shell** | [Nushell][Nushell] + [Starship][Starship] | [Nushell][Nushell] + [Starship][Starship] | -| **Music Player** | [mpd][mpd], [ncmpcpp][ncmpcpp], [mpc][mpc], [Netease-cloud-music-gtk][netease-cloud-music-gtk] | [Netease-cloud-music-gtk][netease-cloud-music-gtk] | -| **Media Player** | [mpv][mpv] | [mpv][mpv] | -| **Text Editor** | [Neovim][Neovim] + [DoomEmacs][DoomEmacs] | [Neovim][Neovim] + [DoomEmacs][DoomEmacs] | -| **Fonts** | [Nerd fonts][Nerd fonts] | [Nerd fonts][Nerd fonts] | -| **Image Viewer** | [imv][imv] | [imv][imv] | -| **Screenshot Software** | [flameshot][flameshot] + [grim][grim] | [flameshot][flameshot] | -| **Screen Recording** | [OBS][OBS] | [OBS][OBS] | -| **Filesystem & Encryption** | tmpfs on `/`, [Btrfs][Btrfs] subvolumes on a [LUKS][LUKS] encrypted partition for persistent, unlock via passphrase | tmpfs on `/`, [Btrfs][Btrfs] subvolumes on a [LUKS][LUKS] encrypted partition for persistent, unlock via passphrase | -| **Secure Boot** | [lanzaboote][lanzaboote] | [lanzaboote][lanzaboote] | +| | NixOS(Wayland) | +| --------------------------- | :------------------------------------------------------------------------------------------------------------------ | +| **Window Manager** | [Hyprland][Hyprland] | +| **Terminal Emulator** | [Zellij][Zellij] + [Kitty][Kitty] | +| **Bar** | [Waybar][Waybar] | +| **Application Launcher** | [anyrun][anyrun] | +| **Notification Daemon** | [Mako][Mako] | +| **Display Manager** | [GDM][GDM] | +| **Color Scheme** | [Catppuccin][Catppuccin] | +| **network management tool** | [NetworkManager][NetworkManager] | +| **Input method framework** | [Fcitx5][Fcitx5] | +| **System resource monitor** | [Btop][Btop] | +| **File Manager** | [Yazi][Yazi] + [thunar][thunar] | +| **Shell** | [Nushell][Nushell] + [Starship][Starship] | +| **Music Player** | [mpd][mpd], [ncmpcpp][ncmpcpp], [mpc][mpc] | +| **Media Player** | [mpv][mpv] | +| **Text Editor** | [Neovim][Neovim] + [DoomEmacs][DoomEmacs] | +| **Fonts** | [Nerd fonts][Nerd fonts] | +| **Image Viewer** | [imv][imv] | +| **Screenshot Software** | [flameshot][flameshot] + [grim][grim] | +| **Screen Recording** | [OBS][OBS] | +| **Filesystem & Encryption** | tmpfs on `/`, [Btrfs][Btrfs] subvolumes on a [LUKS][LUKS] encrypted partition for persistent, unlock via passphrase | +| **Secure Boot** | [lanzaboote][lanzaboote] | Wallpapers: https://github.com/ryan4yin/wallpapers @@ -88,10 +88,6 @@ Wallpapers: https://github.com/ryan4yin/wallpapers ![](./_img/emacs-2024-01-07.webp) -## I3 + AstroNvim - -![](./_img/i3_2023-07-29_1.webp) ![](./_img/i3_2023-07-29_2.webp) - ## Neovim See [./home/base/tui/editors/neovim/](./home/base/tui/editors/neovim/) for details. @@ -123,15 +119,12 @@ For NixOS: ```bash # deploy one of the configuration based on the hostname -# sudo nixos-rebuild switch --flake .#ai_i3 sudo nixos-rebuild switch --flake .#ai-hyprland # deploy via `just`(a command runner with similar syntax to make) & Justfile -# just i3 # deploy my pc with i3 window manager just hypr # deploy my pc with hyprland compositor # or we can deploy with details -# just i3 debug just hypr debug ``` @@ -185,17 +178,12 @@ Other dotfiles that inspired me: - [HeinzDev/Hyprland-dotfiles](https://github.com/HeinzDev/Hyprland-dotfiles): Refer to the waybar configuration here. - [linuxmobile/kaku](https://github.com/linuxmobile/kaku) -- I3 Window Manager - - [endeavouros-i3wm-setup](https://github.com/endeavouros-team/endeavouros-i3wm-setup): I started - using i3 here, and my i3 configuration is also based on it, but made a lot of changes. - - [denisse-dev/dotfiles](https://github.com/denisse-dev/dotfiles) - Neovim/AstroNvim - [maxbrunet/dotfiles](https://github.com/maxbrunet/dotfiles): astronvim with nix flakes. - Misc - [1amSimp1e/dots](https://github.com/1amSimp1e/dots) [Hyprland]: https://github.com/hyprwm/Hyprland -[i3]: https://github.com/i3/i3 [Kitty]: https://github.com/kovidgoyal/kitty [Nushell]: https://github.com/nushell/nushell [Starship]: https://github.com/starship/starship diff --git a/home/linux/gui/README.md b/home/linux/gui/README.md index 2568cf88..01335ff5 100644 --- a/home/linux/gui/README.md +++ b/home/linux/gui/README.md @@ -2,7 +2,6 @@ 3. `base`: all common configurations for all desktops. 4. `hyprland`: Hyprland's configuration. -5. `i3`: i3's configuration. ## Why install I3/Hyprland in Home Manager instead of a NixOS Module? diff --git a/home/linux/gui/i3/bin/bright b/home/linux/gui/i3/bin/bright deleted file mode 100755 index 0084336f..00000000 --- a/home/linux/gui/i3/bin/bright +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -xrandr --output DP-2 --brightness $@ \ No newline at end of file diff --git a/home/linux/gui/i3/bin/logout b/home/linux/gui/i3/bin/logout deleted file mode 100755 index c17596cb..00000000 --- a/home/linux/gui/i3/bin/logout +++ /dev/null @@ -1 +0,0 @@ -i3-msg exit diff --git a/home/linux/gui/i3/conf/dual-monitor-4k-1080p.sh b/home/linux/gui/i3/conf/dual-monitor-4k-1080p.sh deleted file mode 100755 index 371ea508..00000000 --- a/home/linux/gui/i3/conf/dual-monitor-4k-1080p.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -xrandr \ - --output HDMI-0 --mode 1920x1080 --pos 3840x0 --rotate normal \ - --output DP-0 --off \ - --output DP-1 --off \ - --output DP-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal \ - --output DP-3 --off \ - --output DP-4 --off \ - --output DP-5 --off diff --git a/home/linux/gui/i3/conf/i3-config b/home/linux/gui/i3/conf/i3-config deleted file mode 100644 index ba7fa232..00000000 --- a/home/linux/gui/i3/conf/i3-config +++ /dev/null @@ -1,333 +0,0 @@ -# This file is a modified version based on default i3-config-wizard config -# Maintainer: ryan4yin [xiaoyin_c@qq.com] - -####################### -# config starts here: # -####################### - -# Font for window titles. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -font pango: Noto Sans Regular 10 - -# set the mod key to the winkey: -set $mod Mod4 - -workspace_layout default - - -############################## -# extra options for windows: # -############################## - -#border indicator on windows: -new_window pixel 1 - -# Set inner/outer gaps -gaps inner 6 -gaps outer 3 - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# switch/iterate between workspaces -bindsym $mod+Tab workspace next -bindsym $mod+Shift+Tab workspace prev - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws0 - -# switch to workspace with numpad keys -bindcode $mod+87 workspace 1 -bindcode $mod+88 workspace 2 -bindcode $mod+89 workspace 3 -bindcode $mod+83 workspace 4 -bindcode $mod+84 workspace 5 -bindcode $mod+85 workspace 6 -bindcode $mod+79 workspace 7 -bindcode $mod+80 workspace 8 -bindcode $mod+81 workspace 9 -bindcode $mod+90 workspace 0 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws0 - -# resize window (you can also use the mouse for that): -bindsym $mod+r mode "resize" - - -###################################### -# keybindings for different actions: # -###################################### - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+q kill - -# Lock the system -# lock with a picture: -#bindsym $mod+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t -# lock by blurring the screen: -bindsym $mod+l exec ~/.config/i3/scripts/blur-lock - -# reload the configuration file -bindsym $mod+Shift+c reload - -# restart i3 inplace (preserves your layout/session, can be used to update i3) -bindsym $mod+Shift+r restart - -# Backlight control -bindsym XF86MonBrightnessUp exec xbacklight +10 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" -bindsym XF86MonBrightnessDown exec xbacklight -10 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+b focus up -bindsym $mod+o focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+b move up -bindsym $mod+Shift+o move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+g layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# open new empty workspace -bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace - -# Multimedia Keys - -# volume -bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 polybar -bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 polybar - -# gradular volume control -bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 polybar -bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 polybar - -# mute -bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 polybar - -# audio control -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -# Redirect sound to headphones -bindsym $mod+p exec /usr/local/bin/switch-audio-port - -## App shortcuts -bindsym $mod+w exec /usr/bin/firefox -bindsym $mod+n exec /usr/bin/thunar -bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png" - -########################################## -# configuration for workspace behaviour: # -########################################## - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1: " -set $ws2 "2: " -# visual studio code -set $ws3 "3: " -set $ws4 "4: " -set $ws5 "5: " -set $ws6 "6: " -set $ws7 "7: " -set $ws8 "8:" -set $ws9 "9:" -set $ws0 "10: " - -# use workspaces on different displays: -# where you have to replace VGA-0/HDMI-0 with the names for your displays -# you can get from xrandr command -workspace $ws1 output DP-2 -workspace $ws6 output HDMI-0 - -# bind program to workspace and focus to them on startup: -# assign [class="kitty"] $ws1 -assign [class="(?i)firefox"] $ws2 -assign [class="Thunar"] $ws8 -assign [class="thunderbird"] $ws9 -assign [class="TelegramDesktop"] $ws5 - -# automatic set focus new window if it opens on another workspace than the current: -for_window [class=(?i)firefox] focus -for_window [class=Thunar] focus -for_window [class=Thunderbird] focus -for_window [class=TelegramDesktop] focus - - -############## -# compositor # -############## - -# transparency -# options could need changes, related to used GPU and drivers. -# to find the right setting consult the archwiki or ask at the forum. -# -# picom: https://wiki.archlinux.org/title/Picom -# manpage: https://man.archlinux.org/man/picom.1.en -# The default configuration is available in /etc/xdg/picom.conf -# For modifications, it can be copied to ~/.config/picom/picom.conf or ~/.config/picom.conf -# install picom package (yay -S picom) -# start using default config -exec_always --no-startup-id picom -b -# -# for custom config: -#exec_always --no-startup-id picom --config ~/.config/picom.conf - -############################################# -# autostart applications/services on login: # -############################################# - -# dex execute .desktop files + apps using /etc/xdg/autostart. -exec --no-startup-id dex --autostart --environment i3 - -# start a script to setup displays -# use arandr to setup displays and save the file as monitor -exec --no-startup-id ~/.screenlayout/monitor.sh - -# set wallpaper -exec --no-startup-id sleep 1 && systemctl --user restart wallpaper.service - -# set powersavings for display: -exec --no-startup-id xset s 480 dpms 600 600 600 - -# Desktop notifications -#exec --no-startup-id /usr/bin/dunst --config ~/.config/dunst/dunstrc -exec --no-startup-id /usr/bin/dunst - -# screenshot tool -exec --no-startup-id flameshot - -# autotiling script -# https://github.com/nwg-piotr/autotiling -exec_always --no-startup-id autotiling - -exec --no-startup-id i3-msg "workspace $ws2; exec firefox" - -################## -# floating rules # -################## - -# set floating (nontiling) for apps needing it -for_window [class="Galculator" instance="galculator"] floating enable - -# set floating (nontiling) for special apps -for_window [class="Xsane" instance="xsane"] floating enable -for_window [class="Pavucontrol" instance="pavucontrol"] floating enable -for_window [class="qt5ct" instance="qt5ct"] floating enable -for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable -for_window [window_role="About"] floating enable - -# set border of floating window -for_window [class="urxvt"] border pixel 1 - -# set size of floating window -#for_window [window_role="(?i)GtkFileChooserDialog"] resize set 640 480 #to set size of file choose dialog -#for_window [class=".*"] resize set 640 480 #to change size of all floating windows - -# set position of floating window -#for_window [class=".*"] move position center - -###################################### -# color settings for windows # -###################################### - -# https://github.com/catppuccin/i3/blob/main/themes/catppuccin-mocha -set $rosewater #f5e0dc -set $flamingo #f2cdcd -set $pink #f5c2e7 -set $mauve #cba6f7 -set $red #f38ba8 -set $maroon #eba0ac -set $peach #fab387 -set $green #a6e3a1 -set $teal #94e2d5 -set $sky #89dceb -set $sapphire #74c7ec -set $blue #89b4fa -set $lavender #b4befe -set $text #cdd6f4 -set $subtext1 #bac2de -set $subtext0 #a6adc8 -set $overlay2 #9399b2 -set $overlay1 #7f849c -set $overlay0 #6c7086 -set $surface2 #585b70 -set $surface1 #45475a -set $surface0 #313244 -set $base #1e1e2e -# use colors in the RGBA format, the last two digits are transparency -set $mantle #181825 -set $crust #11111b - -# target title bg text indicator border -client.focused $red $base $text $rosewater $red -client.focused_inactive $mauve $base $text $rosewater $mauve -client.unfocused $lavender $base $text $rosewater $lavender -client.urgent $pink $base $lavender $overlay0 $pink -client.placeholder $overlay0 $base $text $overlay0 $overlay0 -client.background $base - -# Start Polybar -exec_always --no-startup-id $HOME/.config/polybar/launch.sh --shapes - diff --git a/home/linux/gui/i3/conf/polybar/blocks/bars.ini b/home/linux/gui/i3/conf/polybar/blocks/bars.ini deleted file mode 100644 index c245f341..00000000 --- a/home/linux/gui/i3/conf/polybar/blocks/bars.ini +++ /dev/null @@ -1,600 +0,0 @@ -;; ┌────────────────────────────────────────────────────┐ -;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│ -;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│ -;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│ -;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│ -;; └────────────────────────────────────────────────────┘ - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[bar] -fill = ⏽ -empty = ⏽ -indicator = ⏽ -; Nerd font :   ,  ⏽,  樂 籠 錄 , 雷 絛 - -[module/volume] -type = internal/alsa - -; Soundcard to be used -; Usually in the format hw:# where # is the card number -; You can find the different card numbers in `/proc/asound/cards` -master-soundcard = default -speaker-soundcard = default -headphone-soundcard = default - -; Name of the master, speaker and headphone mixers -; Use the following command to list available mixer controls: -; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number -; of the master, speaker or headphone soundcard respectively -; -; Default: Master -master-mixer = Master - -; Optionally define speaker and headphone mixers -; Default: none -;;speaker-mixer = Speaker -; Default: none -;;headphone-mixer = Headphone - -; NOTE: This is required if headphone_mixer is defined -; Use the following command to list available device controls -; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort -; You may also need to use `amixer -c # controls` as above for the mixer names -; Default: none -;;headphone-id = 9 - -; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear -; Default: false -;;mapped = true - -; Interval for volume increase/decrease (in percent points) -; Default: 5 -interval = 5 - -; Available tags: -; (default) -; -; -format-volume = -format-volume-prefix =  -format-volume-prefix-padding = 1 -format-volume-prefix-background = ${color.blue} -format-volume-prefix-foreground = ${color.foreground} -format-volume-background = ${color.background-alt} -format-volume-foreground = ${color.foreground} -format-volume-overline = ${color.background} -format-volume-underline = ${color.background} - -; Available tags: -; (default) -; -; -format-muted = -format-muted-prefix =  -format-muted-prefix-padding = 1 -format-muted-prefix-background = ${color.red} -format-muted-overline = ${color.background} -format-muted-underline = ${color.background} - -; Available tokens: -; %percentage% (default) -label-volume = %percentage%% -label-volume-background = ${color.background-alt} -label-volume-padding = 1 - -; Available tokens: -; %percentage% (default -label-muted = "Muted" -label-muted-foreground = ${color.foreground} -label-muted-background = ${color.background-alt} -label-muted-padding = 1 - -; Only applies if is used -ramp-volume-0 =  -ramp-volume-1 =  -ramp-volume-2 =  -ramp-volume-background = ${color.blue} -ramp-volume-padding = 1 - -; Only applies if is used -bar-volume-format = " %fill%%indicator%%empty% " -bar-volume-width = 10 -bar-volume-gradient = false - -bar-volume-indicator = ${bar.indicator} -bar-volume-indicator-foreground = ${color.foreground} - -bar-volume-fill = ${bar.fill} -bar-volume-foreground-0 = ${color.foreground} -bar-volume-foreground-1 = ${color.foreground} -bar-volume-foreground-2 = ${color.foreground} - -bar-volume-empty = ${bar.empty} -bar-volume-empty-foreground = ${color.gray} - -; If defined, it will replace when -; headphones are plugged in to `headphone_control_numid` -; If undefined, will be used for both -; Only applies if is used -ramp-headphones-0 =  -ramp-headphones-background = ${color.blue} -ramp-headphones-padding = 1 - -;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ - -[module/brightness] -;type = internal/xbacklight -type = internal/backlight - -; Use the following command to list available cards: -; $ ls -1 /sys/class/backlight/ -;card = intel_backlight -card = amdgpu_bl0 - -; Available tags: -;