From b38b5e3da15dfcd95105b4e9e12fe48254d47a07 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sun, 6 Feb 2022 21:47:16 +0100 Subject: [PATCH] Update polybar --- notifications.org | 2 +- polybar.org | 188 ++++++++++++++++++++-------------------------- 2 files changed, 84 insertions(+), 106 deletions(-) diff --git a/notifications.org b/notifications.org index c94974c..ed50475 100644 --- a/notifications.org +++ b/notifications.org @@ -214,7 +214,7 @@ startup_notification = false # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", # "mod3" and "mod4" (windows-key). close = mod1+space -history = mod1+Escape +history = mod1+BackSpace #+end_src * Urgency diff --git a/polybar.org b/polybar.org index 4f75c2c..688a13f 100644 --- a/polybar.org +++ b/polybar.org @@ -2,7 +2,7 @@ #+SETUPFILE: ./setup/org-setup-file.org #+PROPERTY: header-args :comments no #+PROPERTY: header-args+ :mkdirp yes -#+PROPERTY: header-args+ :tangle ~/.config/polybar/config +#+PROPERTY: header-args+ :tangle ~/.config/polybar/config.ini * Colors #+begin_src conf @@ -57,13 +57,12 @@ padding-right = 12 module-margin-left = 1 module-margin-right = 1 -font-0 = Hack Nerd Font:style=Medium,Regular:pixelsize=10;1 +font-0 = Hack Nerd Font:style=Regular:pixelsize=10;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 -font-2 = Weather Icons:size=10;1 modules-left = i3 xwindow modules-center = -modules-right = pulseaudio wired-network wireless-network wireguard nordvpn bluetooth redshift cursor lockscreen dunst packages unread_news unread_mail calendar temperature battery date +modules-right = pulseaudio drive_tmp drive_homelab drive_groupshare drive_data_id21 drive_unix_home dunst cursor unread_mail calendar battery date # wm-restack = i3 @@ -828,106 +827,9 @@ fi The script is accessible [[file:binaries.org::#nordvpn-toggle][here]]. -* Wireguard -#+BEGIN_SRC conf -[module/wireguard] -type = custom/script - -format-underline = ${colors.bg} -click-left = ~/.config/polybar/scripts/wireguard-toggle.sh >/dev/null 2>%1 & -format =