From f3d3f1450235a4747e1848ada09d36377fe5b93c Mon Sep 17 00:00:00 2001 From: Tanguy Date: Tue, 24 Nov 2020 18:19:55 +0100 Subject: [PATCH] Add neomutt configuration and bspwm polybar module --- .config/nvim/init.vim | 3 + .config/polybar/modules.ini | 208 ++++++++++++++++++------------------ 2 files changed, 107 insertions(+), 104 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d484d03..2a49704 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -150,3 +150,6 @@ set t_Co=256 set termguicolors let ayucolor="mirage" colorscheme ayu + +" Neomutt configuration for nvim compatibility +au BufRead /tmp/neomutt-* set tw=72 diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 327fd1b..8f98138 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -246,126 +246,126 @@ animation-charging-framerate = 750 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -;;[module/bspwm] -;;type = internal/bspwm +[module/bspwm] +type = internal/bspwm -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; Default: true -;;pin-workspaces = true +Only show workspaces defined on the same output as the bar +NOTE: The bspwm and XRandR monitor names must match, which they do by default. +Default: true +pin-workspaces = true -; Output mode flags after focused state label -; Default: false -;;inline-mode = false +Output mode flags after focused state label +Default: false +inline-mode = false -; Create click handler used to focus workspace -; Default: true -;;enable-click = false +Create click handler used to focus workspace +Default: true +enable-click = false -; Create scroll handlers used to cycle workspaces -; Default: true -;;enable-scroll = false +Create scroll handlers used to cycle workspaces +Default: true +enable-scroll = false -; Set the scroll cycle direction -; Default: true -;;reverse-scroll = false +Set the scroll cycle direction +Default: true +reverse-scroll = false -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -;;fuzzy-match = true +Use fuzzy (partial) matching on labels when assigning +icons to workspaces +Example: code;♚ will apply the icon to all workspaces +containing 'code' in the label +Default: false +fuzzy-match = true -; ws-icon-[0-9]+ = label;icon -; Note that the label needs to correspond with the bspwm workspace name -;;ws-icon-0 = code;♚ -;;ws-icon-1 = office;♛ -;;ws-icon-2 = graphics;♜ -;;ws-icon-3 = mail;♝ -;;ws-icon-4 = web;♞ -;;ws-icon-default = ♟ +ws-icon-[0-9]+ = label;icon +Note that the label needs to correspond with the bspwm workspace name +ws-icon-0 = code;♚ +ws-icon-1 = office;♛ +ws-icon-2 = graphics;♜ +ws-icon-3 = mail;♝ +ws-icon-4 = web;♞ +ws-icon-default = ♟ -; Available tags: -; -; - gets replaced with -; - gets replaced with -; Default: -;;format = +Available tags: + + - gets replaced with + - gets replaced with +Default: +format = -; Available tokens: -; %name% -; Default: %name% -;;label-monitor = %name% +Available tokens: + %name% +Default: %name% +label-monitor = %name% -; If any values for label-dimmed-N are defined, the workspace/mode -; colors will get overridden with those values if the monitor is out of focus -; To only override workspaces in a specific state, use: -; label-dimmed-focused -; label-dimmed-occupied -; label-dimmed-urgent -; label-dimmed-empty -;;label-dimmed-foreground = #555 -;;label-dimmed-underline = ${bar/top.background} -;;label-dimmed-focused-background = #f00 +If any values for label-dimmed-N are defined, the workspace/mode +colors will get overridden with those values if the monitor is out of focus +To only override workspaces in a specific state, use: + label-dimmed-focused + label-dimmed-occupied + label-dimmed-urgent + label-dimmed-empty +label-dimmed-foreground = #555 +label-dimmed-underline = ${bar/top.background} +label-dimmed-focused-background = #f00 -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-focused = %icon% -;;label-focused-foreground = #ffffff -;;label-focused-background = #3f3f3f -;;label-focused-underline = #fba922 +Available tokens: + %name% + %icon% + %index% +Default: %icon% %name% +label-focused = %icon% +label-focused-foreground = #ffffff +label-focused-background = #3f3f3f +label-focused-underline = #fba922 -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-occupied = %icon% -;;label-occupied-underline = #555555 +Available tokens: + %name% + %icon% + %index% +Default: %icon% %name% +label-occupied = %icon% +label-occupied-underline = #555555 -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-urgent = %icon% -;;label-urgent-foreground = #000000 -;;label-urgent-background = #bd2c40 -;;label-urgent-underline = #9b0a20 +Available tokens: + %name% + %icon% + %index% +Default: %icon% %name% +label-urgent = %icon% +label-urgent-foreground = #000000 +label-urgent-background = #bd2c40 +label-urgent-underline = #9b0a20 -; Available tokens: -; %name% -; %icon% -; %index% -; Default: %icon% %name% -;;label-empty = %icon% -;;label-empty-foreground = #55 +Available tokens: + %name% + %icon% + %index% +Default: %icon% %name% +label-empty = %icon% +label-empty-foreground = #55 -; The following labels will be used to indicate the layout/mode -; for the focused workspace. Requires -; -; Available tokens: -; None -;label-monocle =  -;label-tiled =  -;label-fullscreen =  -;label-floating =  -;label-pseudotiled = P -;label-locked =  -;label-locked-foreground = #bd2c40 -;label-sticky =  -;label-sticky-foreground = #fba922 -;label-private =  -;label-private-foreground = #bd2c40 +The following labels will be used to indicate the layout/mode +for the focused workspace. Requires -; Separator in between workspaces -;;label-separator = | -;;label-separator-padding = 2 -;;label-separator-foreground = #ffb52a +Available tokens: + None +abel-monocle =  +abel-tiled =  +abel-fullscreen =  +abel-floating =  +abel-pseudotiled = P +abel-locked =  +abel-locked-foreground = #bd2c40 +abel-sticky =  +abel-sticky-foreground = #fba922 +abel-private =  +abel-private-foreground = #bd2c40 + +Separator in between workspaces +label-separator = | +label-separator-padding = 2 +label-separator-foreground = #ffb52a ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_