From 44d5045060012936f531b63f556ec04d347f6ee3 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 15 Jan 2021 10:18:48 -0600 Subject: [PATCH] Dirty AND active buffer highlighting --- apps/de/kanshi/config | 6 ++++++ apps/de/waybar/config | 2 +- apps/git/config | 2 ++ apps/neovim/init.vim | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/de/kanshi/config b/apps/de/kanshi/config index adac056..26e0f35 100644 --- a/apps/de/kanshi/config +++ b/apps/de/kanshi/config @@ -5,6 +5,12 @@ profile desktop-H { 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 { 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" diff --git a/apps/de/waybar/config b/apps/de/waybar/config index e7871e9..9b2fa63 100644 --- a/apps/de/waybar/config +++ b/apps/de/waybar/config @@ -1,7 +1,7 @@ { "layer": "top", "position": "bottom", - "output": ["DP-2", "eDP-1"], + "output": ["DP-1", "eDP-1"], "height": 32, "modules-left": ["sway/workspaces"], "modules-center": ["clock"], diff --git a/apps/git/config b/apps/git/config index 8f8ed6e..ec636c2 100644 --- a/apps/git/config +++ b/apps/git/config @@ -81,3 +81,5 @@ # This next lines include Netlify's Git Credential Helper configuration in your Git configuration. [include] path = /home/daniel/.home/.netlify/helper/git-config +[init] + defaultBranch = master diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index 0a8876d..95f385e 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -171,6 +171,10 @@ function! StatusLineBufferByNum(bufnum) if l:bufinfo['hidden'] == 0 && index(l:bufinfo['windows'], g:statusline_winid) >= 0 let l:prefix = '%#ActiveBuffer# ' let l:suffix = ' %*' + if l:bufinfo.changed + let l:prefix = '%#ActiveBuffer# *' + let l:suffix = ' %*' + end endif return l:prefix . fnamemodify(bufname(a:bufnum), ':t') . l:suffix