Compare commits

...

14 Commits

Author SHA1 Message Date
0c238c1990
update submodules 2024-07-22 15:17:32 +03:00
fc93812323
darkman: don't fork, I have no idea anymore what the point of that was 2024-07-22 15:09:55 +03:00
fcb90ac932
profile & darkman: attempt to find a working configuration 2024-07-22 15:06:48 +03:00
23ee3d5e02
darkman/00-do-not-repeat-yourself.bash: quote things in hopes of fixing things 2024-07-22 14:55:52 +03:00
bb1a379bca
darkman: if you must execute .gitignore so be it 2024-07-22 14:47:01 +03:00
0671a49edd
profile.d/99-wayland.sh: use qt6ct for enabling kvantum 2024-07-22 14:13:51 +03:00
13829a101c
aminda-nocron: ensure firewall allows ssh etc. 2024-07-22 14:11:24 +03:00
3b4effc404
aminda-extensions.json: block deprecated chrome apps launcher by google 2024-07-22 13:48:36 +03:00
91c866b886
chromium/aminda-extensions.tsv: remove duplicates 2024-07-22 13:36:06 +03:00
ce2ff57c05
chromium: add chrome:apps launcher, {GA,IBA} opt-outs 2024-07-22 13:35:08 +03:00
a72a0b3287
chromium: make a tsv of the extensions and IDs 2024-07-22 13:25:23 +03:00
89cc296ed7
darkman: fix file names post rename 2024-07-22 12:11:47 +03:00
5417f37904
darkman: ensure shebangs 2024-07-22 12:09:56 +03:00
fd35353a0a
darkman: handle potential race condition with kvanntum 2024-07-22 11:59:48 +03:00
19 changed files with 134 additions and 79 deletions

View File

@ -12,23 +12,6 @@
- [`amber-theme-colour.json.sample`](#amber-theme-colourjsonsample)
- [`aminda-extensions.json`](#aminda-extensionsjson)
- [3rdparty](#3rdparty)
- [Silk - Privacy Pass Client for the browser](#silk---privacy-pass-client-for-the-browser)
- [QR Code](#qr-code)
- [Plasma Integration](#plasma-integration)
- [uBlock Origin](#ublock-origin)
- [LocalCDN](#localcdn)
- [Ruffle](#ruffle)
- [HTTP Indicator](#http-indicator)
- [Fedora User Agent](#fedora-user-agent)
- [Snowflake](#snowflake)
- [IPvFooBar](#ipvfoobar)
- [uBlock Origin Lite](#ublock-origin-lite)
- [AdNauseam](#adnauseam)
- [RegretsReporter](#regretsreporter)
- [uBlock Origin](#ublock-origin-1)
- [Bitwarden](#bitwarden)
- [Privacy Badger](#privacy-badger)
- [`black-theme-colour.json.sample`](#black-theme-colourjsonsample)
- [`brave-shields-disabled.json`](#brave-shields-disabledjson)
- [`disable-brave-ipfs.json`](#disable-brave-ipfsjson)
@ -89,6 +72,10 @@ even overlapping extensions, but there is an important side goal of _teaching
users to disable extraneous extensions they don't need_ (unless I decide they
do need something and thus it's `force_installed`.
**_Explanations have moved to `aminda-extensions.tsv`!_**
<!--
### 3rdparty
- `bkdgflcldnnnapblkhphbgpggdiikppg` - DuckDuckGo
@ -197,6 +184,8 @@ See also:
- https://github.com/EFForg/privacybadger/blob/master/doc/admin-deployment.md
- https://github.com/EFForg/privacybadger/blob/master/src/data/schema.json
-->
## `black-theme-colour.json.sample`
Sets the theme colour as black. This is managed instead of recommended,

View File

@ -133,6 +133,25 @@
"toolbar_pin": "force_pinned",
"update_url": "https://clients2.google.com/service/update2/crx"
},
"fllaojicojecljbmefodhfapmkghcbnh": {
"installation_mode": "force_installed",
"override_update_url": true,
"toolbar_pin": "default_unpinned",
"update_url": "https://clients2.google.com/service/update2/crx"
},
"gbiekjoijknlhijdjbaadobpkdhmoebb": {
"installation_mode": "force_installed",
"override_update_url": true,
"toolbar_pin": "default_unpinned",
"update_url": "https://clients2.google.com/service/update2/crx"
},
"gecgipfabdickgidpmbicneamekgbaej": {
"blocked_install_message": "Harhaanjohtava, ei koske PWA vaan vanhentuneita Chrome-sovelluksia.",
"installation_mode": "blocked",
"override_update_url": true,
"toolbar_pin": "force_pinned",
"update_url": "https://clients2.google.com/service/update2/crx"
},
"gphhapmejobijbbhgpjhcjognlahblep": {
"blocked_install_message": "Tämä on KDE-talous, jossa kukaan ei tietääkseni käytä GNOMEa. Tämä lisäosa KDEn vastaavasta poiketen on riippuvainen GNOMEsta.",
"installation_mode": "blocked"

View File

@ -0,0 +1,23 @@
ID Name Comment
ajhmfdgkijocedmfjonnpjfojldioehi Silk
bkdgflcldnnnapblkhphbgpggdiikppg DuckDuckGo
caoacbimdbbljakfhgikoodekdnlcgpk DuckDuckGo
cbimgpnbgalffiohilfglgkkhpegpjlo QR Code
cimiefiiaegbelhefglklhhakcgmhkai Plasma Integration
cjpalhdlnbpafiamejdnhcphjbkeiagm uBlock Origin
ddkjiahejlhfcafbddmgiahcphecmpfh uBlock Origin Lite
donbcfbmhbcapadipfkeojnmajbakjdc Ruffle
fllaojicojecljbmefodhfapmkghcbnh Google Analytics opt-out Opting out of Google Analytics even if I allowlisted some site using it in content filter
gbiekjoijknlhijdjbaadobpkdhmoebb Google IBA opt-out Preparing for eventuality of Google killing adblockers by opting into non-targeted ads instead.
gecgipfabdickgidpmbicneamekgbaej Chrome Apps Launcher BLOCKED. It means the ages ago deprecated Chrome apps, not PWAs.
hgcomhbcacfkpffiphlmnlhpppcjgmbl HTTP Indicator
hojggiaghnldpcknpbciehjcaoafceil Fedora User Agent
iimpkhokkfekbpmoamlmcndclohnehhk IPVFooBar
mafpmfcccpbjnhfhjnllmmalhifmlcie Tor Snowflake
mlojlfildnehdpnlmpkeiiglhhkofhpb AdNauseam
mlojlfildnehdpnlmpkeiiglhhkofhpb Ad Nauseam
njdfdhgcmkocbgbhcioffdbicglldapd LocalCDN
nngceckbapebfimnlniiiahkandclblb Bitwarden
obpoeflheeknapimliioeoefbfaakefn Regrets Reporter
odfafepnkmbhccpbejgmiehpchacaeak uBlock Origin
pkehgijcmpdhfbdbbnkijodmdjhbjlgp PrivacyBadger
1 ID Name Comment
2 ajhmfdgkijocedmfjonnpjfojldioehi Silk
3 bkdgflcldnnnapblkhphbgpggdiikppg DuckDuckGo
4 caoacbimdbbljakfhgikoodekdnlcgpk DuckDuckGo
5 cbimgpnbgalffiohilfglgkkhpegpjlo QR Code
6 cimiefiiaegbelhefglklhhakcgmhkai Plasma Integration
7 cjpalhdlnbpafiamejdnhcphjbkeiagm uBlock Origin
8 ddkjiahejlhfcafbddmgiahcphecmpfh uBlock Origin Lite
9 donbcfbmhbcapadipfkeojnmajbakjdc Ruffle
10 fllaojicojecljbmefodhfapmkghcbnh Google Analytics opt-out Opting out of Google Analytics even if I allowlisted some site using it in content filter
11 gbiekjoijknlhijdjbaadobpkdhmoebb Google IBA opt-out Preparing for eventuality of Google killing adblockers by opting into non-targeted ads instead.
12 gecgipfabdickgidpmbicneamekgbaej Chrome Apps Launcher BLOCKED. It means the ages ago deprecated Chrome apps, not PWAs.
13 hgcomhbcacfkpffiphlmnlhpppcjgmbl HTTP Indicator
14 hojggiaghnldpcknpbciehjcaoafceil Fedora User Agent
15 iimpkhokkfekbpmoamlmcndclohnehhk IPVFooBar
16 mafpmfcccpbjnhfhjnllmmalhifmlcie Tor Snowflake
17 mlojlfildnehdpnlmpkeiiglhhkofhpb AdNauseam
18 mlojlfildnehdpnlmpkeiiglhhkofhpb Ad Nauseam
19 njdfdhgcmkocbgbhcioffdbicglldapd LocalCDN
20 nngceckbapebfimnlniiiahkandclblb Bitwarden
21 obpoeflheeknapimliioeoefbfaakefn Regrets Reporter
22 odfafepnkmbhccpbejgmiehpchacaeak uBlock Origin
23 pkehgijcmpdhfbdbbnkijodmdjhbjlgp PrivacyBadger

View File

@ -1,5 +1,8 @@
export QT_STYLE_OVERRIDE=kvantum
export QT_QPA_PLATFORMTHEME="kde"
unset QT_QPA_PLATFORMTHEME
unset QT_STYLE_OVERRIDE
export XDG_CURRENT_DESKTOP=KDE
export XDG_SESSION_DESKTOP=KDE
# Strongly imply these that wayland is preferred
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
export CLUTTER_BACKEND=wayland

View File

@ -15,12 +15,21 @@ ExecStartPre=-/usr/bin/systemctl start firewalld.service
# https://github.com/systemd/zram-generator
#ExecStart=-/usr/bin/systemctl start /dev/zram0
ExecStart=-/usr/bin/systemctl enable --now systemd-zram-setup@zram0.service
# Ensure we really allow ICMPv6 on FEDORA (or firewalld)
# Ensure we really allow ICMPv6 on FEDORA (or firewalld). Also other essential services.
ExecStart=-/usr/bin/firewall-cmd --add-protocol=ipv6-icmp
ExecStart=-/usr/bin/firewall-cmd --add-service=ssh --permanent
ExecStart=-/usr/bin/firewall-cmd --add-service=mosh --permanent
ExecStart=-/usr/bin/firewall-cmd --add-service=ntp --permanent
ExecStart=-/usr/bin/firewall-cmd --add-service=syncthing --permanent
ExecStart=-/usr/bin/firewall-cmd --add-service=mdns --permanent
ExecStart=-/usr/bin/firewall-cmd --add-service=kdeconnect --permanent
ExecStart=-/usr/bin/firewall-cmd --permanent --add-port=9001/udp
ExecStart=-/usr/bin/firewall-cmd --permanent --add-port=6771/udp
# 3rd party Xbox controller initialization. See Mikaela/gist/gayming/
#ExecStart=-/root/fixcontroller.py
# This is actually in the delayed variant of this service, but anyway
ExecStart=-/usr/bin/systemctl start yggdrasil.service
ExecStart=-/usr/bin/systemctl enable --now yggdrasil.service
ExecStart=-/usr/bin/systemctl enable --now sshguard.service
User=root
StandardOutput=journal
StandardError=journal

View File

@ -8,6 +8,7 @@ TimeoutStartSec=infinity
# Another attempt at ensuring Yggdrasil works with nordvpnd
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
ExecStart=-/usr/bin/systemctl restart yggdrasil.service
ExecStart=-/bin/firewall-cmd --reload
# If they somehow managed to not start already
ExecStart=-/usr/bin/systemctl enable --now unbound.service
ExecStart=-/usr/bin/systemctl enable --now systemd-resolved.service

2
local/share/dark-mode.d/.gitignore vendored Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
exit 0

View File

@ -0,0 +1,41 @@
#!/usr/bin/env bash
set -x
if ! hash lsb_release 2> /dev/null; then
ERRORMESSAGE="lsb_release was not found, the wallpaper scripts cannot figure out the distribution"
echo "$ERRORMESSAGE"
notify-send --app-name=darkman --icon=error "$ERRORMESSAGE"
exit 0
fi
#if ! hash kvantummanager 2> /dev/null; then
# ERRORMESSAGE="kvantummanager wasn't found, Qt theme switching won't work!"
# echo "$ERRORMESSAGE"
# notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
# exit 0
#fi
export DISTROID="$(lsb_release -si)"
export DISTROREL="$(lsb_release -sr)"
export DARKMANGET="$(darkman get)"
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
if [[ "$DARKMANGET" -eq "dark" ]]; then
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "Teema: $DARKMANGET"
elif [[ "$DARKMANGET" -eq "light" ]]; then
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Teema: $DARKMANGET"
else
ERRORMESSAGE="Something went wrong?"
echo "$ERRORMESSAGE"
notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
fi
#if [[ "$QT_STYLE_OVERRIDE" != "kvantum" ]]; then
# ERRORMESSAGE="\$QT_STYLE_OVERRIDE is not 'kvantum', Qt theme switching has no effect!"
# echo $ERRORMESSAGE
# notify-send --app-name="darkman" --icon=error "$ERRORMESSAGE"
# exit 0
#fi

View File

@ -1,37 +0,0 @@
if ! hash lsb_release 2> /dev/null; then
ERRORMESSAGE="lsb_release was not found, the wallpaper scripts cannot figure out the distribution"
echo $ERRORMESSAGE
notify-send --app-name=darkman --icon=error $ERRORMESSAGE
exit 0
fi
if ! hash kvantummanager 2> /dev/null; then
ERRORMESSAGE="kvantummanager wasn't found, Qt theme switching won't work!"
echo $ERRORMESSAGE
notify-send --app-name="darkman" --icon=error $ERRORMESSAGE
exit 0
fi
export DISTROID=$(lsb_release -si)
export DISTROREL=$(lsb_release -sr)
export DARKMANGET=$(darkman get)
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
if [[ "$DARKMANGET" == "dark" ]]; then
(notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "Teema: $DARKMANGET" &)
elif [[ "$DARKMANGET" == "light" ]]; then
(notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Teema: $DARKMANGET" &)
else
ERRORMESSAGE="Something went wrong?"
echo $ERRORMESSAGE
notify-send --app-name="darkman" --icon=error $ERRORMESSAGE
fi
if [[ "$QT_STYLE_OVERRIDE" != "kvantum" ]]; then
ERRORMESSAGE="\$QT_STYLE_OVERRIDE is not 'kvantum', Qt theme switching has no effect!"
echo $ERRORMESSAGE
notify-send --app-name="darkman" --icon=error $ERRORMESSAGE
exit 0
fi

View File

@ -1,19 +1,22 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
# This is all adapted from /usr/share/doc/darkman/examples/dark-mode.d/
# GTK Theme
(gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &)
(gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark &)
(dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Adwaita-dark" &)
sleep 3 && gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
sleep 1 && gsettings set org.gnome.desktop.interface gtk-theme Breeze
sleep 2 && gsettings set org.gnome.desktop.interface gtk-theme Breeze-dark
sleep 1 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze"
sleep 2 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze-dark"
# Xfce theme?
(xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita-dark &)
sleep 1 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze
sleep 2 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze-dark
# Plasma
(lookandfeeltool --apply "org.kde.breezedark.desktop" &)
lookandfeeltool --apply "org.kde.breezedark.desktop"
# Kvantum Qt
(kvantummanager --set KvGnomeDark --noAssign-All &)
#sleep 3 && kvantummanager --set KvGnomeDark --noAssign-All

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [[ "$DISTROID" == "Kali" ]]; then
lookandfeeltool --apply "Kali-Purple-Dark"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [ -f ~/.wallpaper.dark ]; then
export WALLPAPER_PATH="$HOME/.wallpaper.dark"

4
local/share/light-mode.d/.gitignore vendored Normal file → Executable file
View File

@ -1 +1,3 @@
00-do-not-repeat-yourself.sh
#!/usr/bin/env bash
exit 0
00-do-not-repeat-yourself.bash

View File

@ -0,0 +1 @@
../dark-mode.d/00-do-not-repeat-yourself.bash

View File

@ -1 +0,0 @@
../dark-mode.d/00-do-not-repeat-yourself.sh

View File

@ -1,19 +1,19 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
# This is all adapted from /usr/share/doc/darkman/examples/light-mode.d/
# GTK Theme
(gsettings set org.gnome.desktop.interface color-scheme 'prefer-light' &)
(gsettings set org.gnome.desktop.interface gtk-theme Breeze &)
(dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze" &)
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
gsettings set org.gnome.desktop.interface gtk-theme Breeze
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze"
# Xfce theme?
(xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze &)
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze
# Plasma
(lookandfeeltool --apply "org.kde.breeze.desktop" &)
lookandfeeltool --apply "org.kde.breeze.desktop"
# Kvantum Qt
(kvantummanager --set KvGnome --noAssign-All &)
#sleep 3 && kvantummanager --set KvGnome --noAssign-All

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [[ "$DISTROID" == "Kali" ]]; then
lookandfeeltool --apply "Kali-Purple-Light"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.sh
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [ -f ~/.wallpaper.light ]; then
export WALLPAPER_PATH="$HOME/.wallpaper.light"

@ -1 +1 @@
Subproject commit 8bdf724242a8f56388aa6f8f526c258c66514de0
Subproject commit f1781bcf29e312b978f55afa7489a785c3220b3a