From 0a32e075d437d39281ee9967e054c6dbe0263153 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 28 Feb 2024 12:59:22 +0100 Subject: [PATCH] Configure i3 and i3bar colors. --- .config/i3/config | 21 ++++++++++++++++----- .config/i3/theme.conf | 4 ++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .config/i3/theme.conf diff --git a/.config/i3/config b/.config/i3/config index 8611bcb..6a1300c 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -44,10 +44,21 @@ workspace $ws4 gaps inner 10 # Configuration for i3bar. bar { - output primary # Only output to the primary display. - position bottom # Position at the bottom of the screen. - status_command i3status-rs # Use i3status-rust for the status contents. - tray_output primary # Show tray icons on the primary display. + colors { + background #00000000 + statusline #F2EFFF + separator #D2B83A + focused_workspace #E6DEFF #E6DEFF #1F1731 + active_workspace #D2B83A #D2B83A #1F1731 + inactive_workspace #2A2041 #1F1731 #E6DEFF + urgent_workspace #F99ADD #F99ADD #1F1731 + } + i3bar_command i3bar --transparency + output primary + position bottom + separator_symbol "/" + status_command i3status-rs + tray_output primary } # Assign clients to specific workspaces. @@ -60,5 +71,5 @@ assign [class="Standard Notes"] $ws2 assign [class="Transmission-gtk"] $ws3 assign [class="KeePassXC"] $ws3 -# Include the keybinds file. include keybinds.conf +include theme.conf diff --git a/.config/i3/theme.conf b/.config/i3/theme.conf new file mode 100644 index 0000000..4f835fd --- /dev/null +++ b/.config/i3/theme.conf @@ -0,0 +1,4 @@ +client.focused #2A204188 #2A2041DD #F2EFFF #F2EFFF #2A204188 +client.focused_inactive #1F1731BB #1F1731BB #E6DEFF #E6DEFF #1F1731BB +client.unfocused #1F173188 #1F173188 #E6DEFF #E6DEFF #1F173188 +client.urgent #F99ADD #F99ADD #1F1731 #1F1731 #F99ADD