Dirty AND active buffer highlighting

This commit is contained in:
Daniel Flanagan 2021-01-15 10:18:48 -06:00
parent 8b746ed181
commit 44d5045060
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 13 additions and 1 deletions

View file

@ -5,6 +5,12 @@ profile desktop-H {
exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-H-workspaces.sh" exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-H-workspaces.sh"
} }
profile desktop-H {
output "Samsung Electric Company SyncMaster H1AK500000" enable mode 3840x2160 position 0,0 scale 1 transform normal
output "Dell Inc. DELL U2719DC 5DL4QS2" disable
output "Dell Inc. DELL U2719DC 9DL4QS2" disable
}
profile desktop-H { profile desktop-H {
output "Samsung Electric Company CF791 HTRJ500315" enable mode 3440x1440@100Hz position 1440,560 scale 1 transform normal output "Samsung Electric Company CF791 HTRJ500315" enable mode 3440x1440@100Hz position 1440,560 scale 1 transform normal
exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-single-workspace.sh" exec "$HOME/.config/lytedev-dotfiles/apps/de/kanshi/desktop-single-workspace.sh"

View file

@ -1,7 +1,7 @@
{ {
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"output": ["DP-2", "eDP-1"], "output": ["DP-1", "eDP-1"],
"height": 32, "height": 32,
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-center": ["clock"], "modules-center": ["clock"],

View file

@ -81,3 +81,5 @@
# This next lines include Netlify's Git Credential Helper configuration in your Git configuration. # This next lines include Netlify's Git Credential Helper configuration in your Git configuration.
[include] [include]
path = /home/daniel/.home/.netlify/helper/git-config path = /home/daniel/.home/.netlify/helper/git-config
[init]
defaultBranch = master

View file

@ -171,6 +171,10 @@ function! StatusLineBufferByNum(bufnum)
if l:bufinfo['hidden'] == 0 && index(l:bufinfo['windows'], g:statusline_winid) >= 0 if l:bufinfo['hidden'] == 0 && index(l:bufinfo['windows'], g:statusline_winid) >= 0
let l:prefix = '%#ActiveBuffer# ' let l:prefix = '%#ActiveBuffer# '
let l:suffix = ' %*' let l:suffix = ' %*'
if l:bufinfo.changed
let l:prefix = '%#ActiveBuffer# *'
let l:suffix = ' %*'
end
endif endif
return l:prefix . fnamemodify(bufname(a:bufnum), ':t') . l:suffix return l:prefix . fnamemodify(bufname(a:bufnum), ':t') . l:suffix