Compare commits

...

7 Commits

5 changed files with 40 additions and 20 deletions

View File

@ -3,22 +3,32 @@
# are me and know what you are doing, this is a poor practice I really should
# stop.
set -x
git verify-commit HEAD
cat .mikaela/bash_aliases >~/.bash_aliases
cat .mikaela/zsh_aliases >~/.zsh_aliases
cat rc/xinitrc >~/.xinitrc
mkdir -p ~/.gnupg
cat .mikaela/gpg.conf >~/.gnupg/gpg.conf
cat .mikaela/pastebinit.xml >~/.pastebinit.xml
cat .mikaela/environment >~/.environment
mkdir ~/.config/git
#cat .mikaela/gitconfig >~/.config/git/config
git config --global --add include.path '~/.shell-things/.mikaela/gitconfig'
cat .gitattributes >~/.config/git/attributes
mkdir -p ~/.ssh
cat .mikaela/keys/authorized_keys >~/.ssh/authorized_keys
cat etc/ssh/ssh_config >~/.ssh/config
cat .editorconfig >~/.editorconfig
if [ -d ~/.local/firefox/defaults/pref/ ]; then
cat conf/autoconfig.js >~/.local/firefox/defaults/pref/autoconfig.js
#cat conf/librewolf.overrides.cfg >~/.local/firefox/librewolf.overrides.cfg
@ -31,13 +41,25 @@ mkdir -p ~/.librewolf/ ~/.var/app/io.gitlab.librewolf-community/.librewolf/
cat conf/firefox-forbidden-policies.js >~/.librewolf/librewolf.overrides.cfg
#cat conf/librewolf.overrides.cfg >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg
cat conf/firefox-forbidden-policies.js >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg
mkdir -p ~/.mozilla/native-messaging-hosts
if [ -d /usr/lib64/mozilla/native-messaging-hosts/ ]; then
cp -v /usr/lib64/mozilla/native-messaging-hosts/* ~/.mozilla/native-messaging-hosts
elif [ -d /usr/lib/mozilla/native-messaging-hosts/ ]; then
cp -v /usr/lib/mozilla/native-messaging-hosts/ ~/.mozilla/native-messaging-hosts
fi
mkdir -p ~/.local/share/applications
ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
mkdir -p ~/.local/share/icons/hicolor/128x128/apps/
ln -nsfv ~/.local/firefox/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/a-firefox.png
if hash update-desktop-database 2>/dev/null; then
update-desktop-database ~/.local/share/applications
fi
touch ~/.MIKAELA_GREP
set +x
# vim : set ft=sh :

View File

@ -121,7 +121,7 @@ repos:
# Easierish licensing when attempting reuse compliancy
- repo: https://github.com/fsfe/reuse-tool
rev: v4.0.2
rev: v4.0.3
hooks:
- id: reuse

View File

@ -18,8 +18,6 @@
"pre-commit": {
"enabled": true
},
"schedule": [
"before 6am"
],
"schedule": [],
"timezone": "Europe/Helsinki"
}

View File

@ -1,10 +1,11 @@
exec --no-startup-id foot --title=system\ journal journalctl -f
exec --no-startup-id foot --title=user\ journal journalctl -f --user
exec --no-startup-id foot --title=iwd\ log journalctl -u iwd -f
exec --no-startup-id foot --title=networkd\ log journalctl -u systemd-networkd -f
exec --no-startup-id foot --title=resolved\ log journalctl -u systemd-resolved -f
exec --no-startup-id foot --title=unbound\ log journalctl -u unbound -f
exec --no-startup-id sleep 15 && footclient --title=system\ journal journalctl -f
exec --no-startup-id sleep 15 && footclient --title=user\ journal journalctl -f --user
exec --no-startup-id sleep 15 && footclient --title=iwd\ log journalctl -u iwd -f
exec --no-startup-id sleep 15 && footclient --title=networkd\ log journalctl -u systemd-networkd -f
exec --no-startup-id sleep 15 && footclient --title=NetworkManager\ log journalctl -u NetworkManager -f
exec --no-startup-id sleep 15 && footclient --title=resolved\ log journalctl -u systemd-resolved -f
exec --no-startup-id sleep 15 && footclient --title=unbound\ log journalctl -u unbound -f
# Debian uses chrony, Fedora chronyd. Comment inappropiate.
exec --no-startup-id foot --title=chrony\ log journalctl -u chrony -f
exec --no-startup-id foot --title=chronyd\ log journalctl -u chronyd -f
exec --no-startup-id foot --title=bluetooth\ log journalctl -u bluetooth -f
exec --no-startup-id sleep 15 && footclient --title=chrony\ log journalctl -u chrony -f
exec --no-startup-id sleep 15 && footclient --title=chronyd\ log journalctl -u chronyd -f
exec --no-startup-id sleep 15 && footclient --title=bluetooth\ log journalctl -u bluetooth -f

View File

@ -10,11 +10,8 @@ exec --no-startup-id /usr/libexec/kf6/polkit-kde-authentication-agent-1
# Debian
exec --no-startup-id /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
# Why not have a foot outside of server just in case
exec --no-startup-id foot
# htop system monitor in foot, outside of foot server to not care about its status
exec --no-startup-id foot --title=htop htop
# htop system monitor in foot
exec --no-startup-id sleep 15 && footclient --title=htop htop
# NetworkManager Applet.
# Note: handle WiFi with iwd directly. Use this for ethernet, mobile broadband
@ -32,8 +29,10 @@ exec --no-startup-id sleep 15 && nm-applet --indicator
# see also pam_environment https://wiki.archlinux.org/index.php/Fcitx#Non_desktop_environment
#exec --no-startup-id fcitx
# KDE Connect daemon on Fedora
#exec --no-startup-id sleep 15 && /usr/libexec/kdeconnectd
# KDE Connect daemon and Plasma integration extension
exec --no-startup-id sleep 15 && kdeconnectd
exec --no-startup-id sleep 18 && kdeconnect-indicator
exec --no-startup-id sleep 20 && plasma-browser-integration-host
# Google Drive etc. sync client
exec --no-startup-id sleep 15 && insync start