Compare commits

...

2 commits

Author SHA1 Message Date
Evie Litherland-Smith c03f88dbc3 Add clean-config script
Removes all entries in ~/.config except a specified few
2024-09-28 10:27:12 +01:00
Evie Litherland-Smith 38c8683364 Fix pinned programs 2024-09-28 10:06:03 +01:00
3 changed files with 5 additions and 2 deletions

View file

@ -155,13 +155,13 @@
"preferred://filemanager" "preferred://filemanager"
"preferred://browser" "preferred://browser"
"applications:emacs.desktop" "applications:emacs.desktop"
"applications:write.desktop" "applications:writer.desktop"
"applications:calc.desktop" "applications:calc.desktop"
"applications:impress.desktop" "applications:impress.desktop"
"applications:org.kde.elisa.desktop" "applications:org.kde.elisa.desktop"
"applications:com.obsproject.Studio.desktop" "applications:com.obsproject.Studio.desktop"
"applications:systemsettings.desktop"
"applications:Alacritty.desktop" "applications:Alacritty.desktop"
"applications:systemsettings.desktop"
]; ];
}; };
} }

View file

@ -3,6 +3,7 @@
home.packages = [ home.packages = [
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh)) (pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh)) (pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
(pkgs.writeShellScriptBin "clean-config" (builtins.readFile ./shell/clean-config.sh))
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh)) (pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh)) (pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
]; ];

View file

@ -0,0 +1,2 @@
shopt -s extglob
rm -rf ~/.config/!(emacs|kdeconnect|protonmail|Signal|teams-for-linux|WebCord|whatsapp-for-linux)