From 4cadb19a3cbb342fdb7256f182a5e3a682a17cb2 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 9 May 2023 00:02:33 +0200 Subject: added nordtheme script! --- bin/guiscripts/nordtheme | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bin/guiscripts/nordtheme (limited to 'bin/guiscripts') diff --git a/bin/guiscripts/nordtheme b/bin/guiscripts/nordtheme new file mode 100755 index 0000000..898c5d5 --- /dev/null +++ b/bin/guiscripts/nordtheme @@ -0,0 +1,14 @@ +#!/bin/sh +if test -z "$1" +then + ln -sf /usr/share/foot/themes/nord ~/.config/foot/colors + ln -sf ~/.config/waybar/colors/colors-nord ~/.config/waybar/colors.css + ln -sf ~/pics/wallpapers/nord/nord_background3.jpg ~/pics/wallpaper + swaybg -i ~/pics/wallpaper & + pkill -USR2 waybar + sed -i 's/ColorMyPencils("[^"]\+")/ColorMyPencils("nord")/g' ~/.config/nvim/after/plugin/colors.lua +else + ln -sf ~/.cache/wal/colors-waybar.css ~/.config/waybar/colors.css + newwal + sed -i 's/ColorMyPencils("[^"]\+")/ColorMyPencils("pywal")/g' ~/.config/nvim/after/plugin/colors.lua +fi -- cgit v1.2.3