feat: justfile improvements

This commit is contained in:
qoijjj
2024-03-13 12:58:31 -07:00
committed by GitHub
parent 83ad8d1377
commit 1ce6b06828
2 changed files with 39 additions and 0 deletions

View File

@@ -1,3 +1,42 @@
# vim: set ft=make :
# Enable xwaylandvideobridge
fix-screenshare:
cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/
# Check for local overrides
check-local-overrides:
#!/usr/bin/bash
diff -r \
--suppress-common-lines \
--color="always" \
--exclude "passwd*" \
--exclude "group*" \
--exclude="subgid*" \
--exclude="subuid*" \
--exclude="machine-id" \
--exclude="adjtime" \
--exclude="fstab" \
--exclude="system-connections" \
--exclude="shadow*" \
--exclude="gshadow*" \
--exclude="ssh_host*" \
--exclude="cmdline" \
--exclude="crypttab" \
--exclude="hostname" \
--exclude="localtime" \
--exclude="locale*" \
--exclude="*lock" \
--exclude=".updated" \
--exclude="*LOCK" \
--exclude="vconsole*" \
--exclude="00-keyboard.conf" \
--exclude="grub" \
--exclude="system.control*" \
--exclude="cdi" \
--exclude="default.target" \
/usr/etc /etc 2>/dev/null | sed '/Binary\ files\ /d'
# Add additional boot parameters for hardening (requires reboot)
set-kargs-hardening:
#!/usr/bin/pkexec /usr/bin/bash