Completed luna config for real this time
This commit is contained in:
parent
5ad8529721
commit
2c75ae213a
17 changed files with 357 additions and 62 deletions
14
misc/backup.sh
Executable file
14
misc/backup.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/run/current-system/sw/bin/zsh
|
||||
|
||||
cd /home/horseman
|
||||
file=backups/$(date +%Y-%m-%d).tar
|
||||
tar -cf $file Documents
|
||||
|
||||
if grep -q $(sha256sum $file) backups/sum; then
|
||||
echo 'hashes match, quitting'
|
||||
rm $file
|
||||
exit 0
|
||||
fi
|
||||
echo $(sha256sum $file) > backups/sum
|
||||
|
||||
exit 0
|
||||
BIN
misc/nixos_wallpaper_dark_3840x2160.png
Normal file
BIN
misc/nixos_wallpaper_dark_3840x2160.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
BIN
misc/nixos_wallpaper_light_3840x2160.png
Normal file
BIN
misc/nixos_wallpaper_light_3840x2160.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 176 KiB |
3
misc/startup.sh
Executable file
3
misc/startup.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/run/current-system/sw/bin/zsh
|
||||
|
||||
sudo ethtool -s eno1 wol g
|
||||
12
misc/switch-to-dark-theme.sh
Executable file
12
misc/switch-to-dark-theme.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
lookandfeeltool -a org.kde.breezedark.desktop
|
||||
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript '
|
||||
var allDesktops = desktops();
|
||||
for (i = 0; i < allDesktops.length; i++) {
|
||||
d = allDesktops[i];
|
||||
d.wallpaperPlugin = "org.kde.image";
|
||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
|
||||
d.writeConfig("Image", "file:///home/horseman/nix-config/misc/nixos_wallpaper_dark_3840x2160.png");
|
||||
}'
|
||||
12
misc/switch-to-light-theme.sh
Executable file
12
misc/switch-to-light-theme.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
lookandfeeltool -a org.kde.breeze.desktop
|
||||
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript '
|
||||
var allDesktops = desktops();
|
||||
for (i = 0; i < allDesktops.length; i++) {
|
||||
d = allDesktops[i];
|
||||
d.wallpaperPlugin = "org.kde.image";
|
||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
|
||||
d.writeConfig("Image", "file:///home/horseman/nix-config/misc/nixos_wallpaper_light_3840x2160.png");
|
||||
}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue