From ab1d0848366ef4c6c9b1c435593ddd302e12b8a0 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 12 Oct 2018 00:15:05 -0500 Subject: [PATCH] i3: Add rule for Liferea I think it's caught up with bspwm now Don't quote me on that --- .config/i3/config | 1 + .config/polybar/config | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 4d9bba14..ce413ba7 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -54,6 +54,7 @@ for_window [class=".*"] title_format "%title" # Miscellaneous window rules for_window [class="Firefox"] move to workspace $w1 for_window [class="Firefox-esr"] move to workspace $w1 +for_window [class="Liferea" ] move to workspace $w6 for_window [class="discord"] move to workspace $w7 for_window [class="Spotify"] move to workspace $w8 diff --git a/.config/polybar/config b/.config/polybar/config index a29356ee..80f3ca21 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -253,6 +253,44 @@ interval = 3600 exec = hostname +[module/i3] +type = internal/i3 +format = +enable-scroll = false +pin-workspaces = true + +label-focused = %name% +label-focused-padding = ${res/config.padding} +label-focused-foreground = ${res/colors.mod-wm} +label-focused-font = 2 + +label-dimmed-overline = ${res/colors.background} +label-dimmed-underline = ${self.label-dimmed-overline} + +label-occupied = ${self.label-focused} +label-occupied-padding = ${res/config.padding} +label-occupied-font = 2 + +label-urgent = ${self.label-focused} +label-urgent-padding = ${res/config.padding} +label-urgent-foreground = ${res/colors.alert} +label-urgent-font = 2 + +label-empty = ${self.label-focused} +label-empty-padding = ${res/config.padding} +label-empty-foreground = ${res/colors.foreground-dark} +label-empty-font = 3 + +[module/i3-mode] +type = internal/i3 +format = +format-prefix = "i3: " +format-prefix-foreground = ${res/colors.wm} +# Just in case +enable-scroll = false + +label-mode = %mode% + [module/memory] type = internal/memory format =