Dark mode
darkman
Install
sudo pacman -S darkman xdg-desktop-portal-gtk gnome-themes-extra
pamac install neovim-remote
mkdir ~/.local/share/dark-mode.d ~/.local/share/light-mode.d
cd ~/.local/share/dark-mode.d
wget https://gitlab.com/WhyNotHugo/darkman/-/raw/main/examples/dark-mode.d/desktop-notification.sh
wget https://gitlab.com/WhyNotHugo/darkman/-/raw/main/examples/dark-mode.d/gtk3-theme.sh
chmod +x ~/.local/share/dark-mode.d/*.sh
cd ~/.local/share/light-mode.d
wget https://gitlab.com/WhyNotHugo/darkman/-/raw/main/examples/light-mode.d/desktop-notification.sh
wget https://gitlab.com/WhyNotHugo/darkman/-/raw/main/examples/light-mode.d/gtk3-theme.sh
wget https://gitlab.com/WhyNotHugo/darkman/-/raw/main/examples/light-mode.d/neovim-background.sh
chmod +x ~/.local/share/light-mode.d/*.sh
systemctl --user enable --now darkman.service
Disable automatic transition:
- set
usegeoclue: false
in ~/.config/darkman/config.yaml
rm ~/.cache/darkman/location.json
systemctl --user restart darkman.service
Usage
darkman toggle
yin-yang
Application support
Auto-switching applications
- Waybar
- Firefox
- Addons / Themes:
System theme - auto
- Settings / Language and Appearance / Website appearance:
Automatic
- Settings / Language and Appearance / Colors
- [x] Use system colors
- Override the colors specified by the page with your selections above:
Only with high contrast themes
- Thunderbird
- Addons / Themes:
System theme - auto
Application that need manual intervention
Websites
Already implemented auto-switching
Still no auto-switching