From c0a326d183062c478dac96c39ee42ce983ed3ed1 Mon Sep 17 00:00:00 2001 From: Emmet Date: Thu, 25 May 2023 20:27:11 -0500 Subject: [PATCH] Added syncthing --- user/home.nix | 3 +++ user/wm/xmonad/xmobarrc.mustache | 4 +++- user/wm/xmonad/xmonad.org | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/user/home.nix b/user/home.nix index 9be643d..0064a68 100644 --- a/user/home.nix +++ b/user/home.nix @@ -42,6 +42,7 @@ networkmanager_dmenu feh git + syncthing # Office libreoffice-qt @@ -146,6 +147,8 @@ dosfstools ]; + services.syncthing.enable = true; + home.file.".librewolf/librewolf.overrides.cfg".text = '' defaultPref("font.name.serif.x-western","Inconsolata"); defaultPref("font.size.variable.x-western",20); diff --git a/user/wm/xmonad/xmobarrc.mustache b/user/wm/xmonad/xmobarrc.mustache index 590d072..0b1c413 100644 --- a/user/wm/xmonad/xmobarrc.mustache +++ b/user/wm/xmonad/xmobarrc.mustache @@ -38,9 +38,11 @@ Config { font = "Inconsolata 18" ] 1 , Run DynNetwork [ "-t", "\xf0200 "] 1 + , Run Com "echo" + [ "\xea77 st"] "syncthing" 0 ] , sepChar = "%" , alignSep = "}{" - , template = " %battery% %bright%%default:Master%}%XMonadLog%{%dynnetwork%%date% " + , template = " %battery% %bright%%default:Master%}%XMonadLog%{%syncthing% %dynnetwork%%date% " } } diff --git a/user/wm/xmonad/xmonad.org b/user/wm/xmonad/xmonad.org index d7986a6..4dfc47a 100644 --- a/user/wm/xmonad/xmonad.org +++ b/user/wm/xmonad/xmonad.org @@ -761,10 +761,12 @@ Config { font = "Inconsolata 18" ] 1 , Run DynNetwork [ "-t", "\xf0200 "] 1 + , Run Com "echo" + [ "\xea77 st"] "syncthing" 0 ] , sepChar = "%" , alignSep = "}{" - , template = " %battery% %bright%%default:Master%}%XMonadLog%{%dynnetwork%%date% " + , template = " %battery% %bright%%default:Master%}%XMonadLog%{%syncthing% %dynnetwork%%date% " } }