From 308c22fa122b18d2120f39c186c92f5f07e5868e Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 5 Oct 2020 13:09:32 -0500 Subject: [PATCH] Swap out i3bar We're getting rid of i3blocks and trying out bumblebee_status https://github.com/tobi-wan-kenobi/bumblebee-status --- home/.config/i3/conf.d/i3bar.conf | 38 ++++++++++++++++++++++++++---- home/.config/i3/config | 39 +++++++++++++++++++++++++++---- 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/home/.config/i3/conf.d/i3bar.conf b/home/.config/i3/conf.d/i3bar.conf index f296431..c75c667 100644 --- a/home/.config/i3/conf.d/i3bar.conf +++ b/home/.config/i3/conf.d/i3bar.conf @@ -6,14 +6,42 @@ bar { #status_command i3status -c ~/.config/i3/i3status.conf - status_command i3blocks -c $i3_path/i3blocks.conf + #status_command i3blocks -c $i3_path/i3blocks.conf + status_command bumblebee-status \ + -m \ + disk:root \ + cpu2 \ + memory \ + playerctl \ + title \ + todo \ + ping \ + network_traffic \ + time \ + date \ + -p \ + root.path=/ \ + root.critical="50" \ + cpu2.layout="cpu2.cpuload cpu2.coresload" \ + cpu2.colored=1 \ + cpu2.temp_pattern="temp" \ + todo.file="~/todo.vim" \ + ping.address="1.1.1.1" \ + time.format="%H:%M" \ + date.format="%a, %b %d, %Y" \ + -a \ + disk \ + ping \ + -t \ + dracula-powerline + position top #mode hide - workspace_buttons yes - tray_output DP-0 + #workspace_buttons yes + #tray_output DP-0 tray_padding 0 - separator_symbol "|" + #separator_symbol "|" colors { background #222D31 @@ -27,7 +55,7 @@ bar { binding_mode #16a085 #2C2C2C #F9FAF9 urgent_workspace #16a085 #FDF6E3 #E5201D } - #height 30 + height 20 } # End i3-bar configuration diff --git a/home/.config/i3/config b/home/.config/i3/config index 6353e0c..7345115 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -198,14 +198,42 @@ assign [class="^Code"] $ws5 bar { #status_command i3status -c ~/.config/i3/i3status.conf - status_command i3blocks -c $i3_path/i3blocks.conf + #status_command i3blocks -c $i3_path/i3blocks.conf + status_command bumblebee-status \ + -m \ + disk:root \ + cpu2 \ + memory \ + playerctl \ + title \ + todo \ + ping \ + network_traffic \ + time \ + date \ + -p \ + root.path=/ \ + root.critical="50" \ + cpu2.layout="cpu2.cpuload cpu2.coresload" \ + cpu2.colored=1 \ + cpu2.temp_pattern="temp" \ + todo.file="~/todo.vim" \ + ping.address="1.1.1.1" \ + time.format="%H:%M" \ + date.format="%a, %b %d, %Y" \ + -a \ + disk \ + ping \ + -t \ + dracula-powerline + position top #mode hide - workspace_buttons yes - tray_output DP-0 + #workspace_buttons yes + #tray_output DP-0 tray_padding 0 - separator_symbol "|" + #separator_symbol "|" colors { background #222D31 @@ -219,7 +247,7 @@ bar { binding_mode #16a085 #2C2C2C #F9FAF9 urgent_workspace #16a085 #FDF6E3 #E5201D } - #height 30 + height 20 } # End i3-bar configuration @@ -228,6 +256,7 @@ bar { # Open specific applications in floating mode for_window [class="URxvt"] floating enable border pixel 0 for_window [title="alsamixer"] floating enable border pixel 1 +for_window [class="(?i)gvim"] floating enable boarder pixel 0 for_window [class="Calamares"] floating enable border normal for_window [class="Clipgrab"] floating enable for_window [title="File Transfer*"] floating enable