reverted flake
This commit is contained in:
17
deprecated-rewrite/pywal.fish
Normal file
17
deprecated-rewrite/pywal.fish
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env fish
|
||||
function pywal
|
||||
set -f wallpaper (string replace -r "file:\/\/" "" \
|
||||
(gsettings get org.gnome.desktop.background picture-uri) \
|
||||
| string replace -ra "\'" "")
|
||||
switch $argv[1]
|
||||
case light
|
||||
echo "Setting up light theme"
|
||||
# wal -lni $wallpaper --backend colorz -b FAFAFA
|
||||
wal -lni $wallpaper -b FAFAFA
|
||||
case dark
|
||||
echo "Setting up dark theme"
|
||||
# wal -ni $wallpaper --backend colorz
|
||||
wal -ni $wallpaper
|
||||
end
|
||||
# systemctl restart --user emacs.service
|
||||
end
|
||||
Reference in New Issue
Block a user