the dark/light togglers
This commit is contained in:
28
dark-mode.d/executable_dark.sh
Normal file
28
dark-mode.d/executable_dark.sh
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
#Restart Discord pog
|
||||
if pgrep "discord-canary" > /dev/null
|
||||
then
|
||||
killall DiscordCanary
|
||||
discord-canary &
|
||||
fi
|
||||
if pgrep "obsidian" > /dev/null
|
||||
then
|
||||
killall obsidian
|
||||
Obsidian.AppImage &
|
||||
fi
|
||||
|
||||
if pgrep "Discord" > /dev/null
|
||||
then
|
||||
killall Discord
|
||||
discord &
|
||||
fi
|
||||
# #Kitty Config
|
||||
# echo "
|
||||
# include misc.conf
|
||||
# include themes/gruvbox_dark.conf" > ~/.config/kitty/kitty.conf
|
||||
# #Zathura poggers
|
||||
# echo "
|
||||
# misc.conf
|
||||
# include gruvbox-dark.conf" > ~/.config/zathura/zathurarc
|
||||
sed -i -e 's/light/dark/g' ~/.config/rofi/config.rasi ~/.config/zathura/zathurarc ~/.config/kitty/kitty.conf
|
||||
sed -i -e 's/prefer-dark-theme=0/prefer-dark-theme=1/g' ~/.config/gtk-3.0/settings.ini
|
||||
4
dark-mode.d/executable_notifications.sh
Normal file
4
dark-mode.d/executable_notifications.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
killall dunst
|
||||
dunst -conf "$HOME/.config/dunstrc-dark" &
|
||||
notify-send "Its dark outside"
|
||||
3
dark-mode.d/executable_spot-gruvdark.sh
Normal file
3
dark-mode.d/executable_spot-gruvdark.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
"$HOME/.spicetify/spicetify" config current_theme Onepunch color_scheme dark replace_colors 1 overwrite_assets 0 inject_css 0 extensions
|
||||
"$HOME/.spicetify/spicetify" apply
|
||||
1
dark-mode.d/symlink_autostart
Normal file
1
dark-mode.d/symlink_autostart
Normal file
@@ -0,0 +1 @@
|
||||
/home/linly/bin/autostart
|
||||
Reference in New Issue
Block a user