Adds scripts for darkman
This commit is contained in:
parent
3580ed0cff
commit
35910b0ca9
7 changed files with 29 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -34,8 +34,10 @@
|
|||
!/.local/
|
||||
/.local/*
|
||||
!/.local/share/
|
||||
/.local/share/
|
||||
/.local/share/*
|
||||
!/.local/share/scripts/
|
||||
!/.local/share/light-mode.d/
|
||||
!/.local/share/dark-mode.d/
|
||||
|
||||
!/.zen/
|
||||
/.zen/*
|
||||
|
|
|
|||
3
.local/share/dark-mode.d/bluelight.sh
Executable file
3
.local/share/dark-mode.d/bluelight.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/env sh
|
||||
|
||||
hyprctl hyprsunset temperature 4600
|
||||
6
.local/share/dark-mode.d/desktop-notification.sh
Executable file
6
.local/share/dark-mode.d/desktop-notification.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||
|
||||
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to dark mode"
|
||||
4
.local/share/dark-mode.d/themes.sh
Executable file
4
.local/share/dark-mode.d/themes.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/env sh
|
||||
|
||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Dark"
|
||||
6
.local/share/light-mode.d/desktop-notification.sh
Executable file
6
.local/share/light-mode.d/desktop-notification.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||
|
||||
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"
|
||||
3
.local/share/light-mode.d/reset-bluelight.sh
Executable file
3
.local/share/light-mode.d/reset-bluelight.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/env sh
|
||||
|
||||
hyprctl hyprsunset identity
|
||||
4
.local/share/light-mode.d/themes.sh
Executable file
4
.local/share/light-mode.d/themes.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/env sh
|
||||
|
||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Gruvbox-Orange-Light"
|
||||
Loading…
Add table
Add a link
Reference in a new issue