From efd91f41d29e18747dcb2b2ff18ea89eec7a16fc Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Wed, 22 Feb 2023 23:32:23 -0500 Subject: [PATCH] polybar cal icon and tmux fix --- gui/polybar/config.ini | 11 +++++++++-- terminals/tmux/tmux.sparse.conf | 8 ++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gui/polybar/config.ini b/gui/polybar/config.ini index b3ec920..26ad566 100644 --- a/gui/polybar/config.ini +++ b/gui/polybar/config.ini @@ -38,7 +38,7 @@ font-0 = Hack Nerd Font:size=10;2 height = 14pt ; modules modules-left = xworkspaces weather-thinkpad -modules-right = battery pulseaudio memory cpu wlan seafile date powermenu +modules-right = battery pulseaudio memory cpu wlan seafile calendar-sync date powermenu [bar/desktop-bar] ; desktop bar config @@ -49,7 +49,7 @@ height = 24pt modules-left = xworkspaces focus spotify spotify-len todo ;modules-left = xworkspaces spotify spotify-len modules-center = weather-desktop -modules-right = pulseaudio memory cpu temperature eth mouse-power seafile date powermenu +modules-right = pulseaudio memory cpu temperature eth mouse-power seafile calendar-sync date powermenu [module/xworkspaces] type = internal/xworkspaces @@ -236,5 +236,12 @@ type = custom/script interval = 5 exec = PERCENTAGE=true g703monitor.sh +[module/calendar-sync] +; clickable sync for calendar +type = custom/script + +exec = echo -e '\uf073' +click-left = CALCURSE_CALDAV_PASSWORD=$(pass show cal.keegandeppe/kdeppe) calcurse-caldav + [settings] screenchange-reload = true diff --git a/terminals/tmux/tmux.sparse.conf b/terminals/tmux/tmux.sparse.conf index 442d220..8f34aed 100644 --- a/terminals/tmux/tmux.sparse.conf +++ b/terminals/tmux/tmux.sparse.conf @@ -18,10 +18,10 @@ bind-key v select-layout even-vertical bind-key h select-layout even-horizontal # vimlike keybinds -bind M-h "select-pane -L" -bind M-j "select-pane -D" -bind M-k "select-pane -U" -bind M-l "select-pane -R" +bind -n M-h "select-pane -L" +bind -n M-j "select-pane -D" +bind -n M-k "select-pane -U" +bind -n M-l "select-pane -R" # binds path to current one bind-key a attach -c "#{pane_current_path}"