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
|
||||
27
light-mode.d/executable_light.sh
Normal file
27
light-mode.d/executable_light.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Restart Discord pog
|
||||
if pgrep "discord-canary" > /dev/null
|
||||
then
|
||||
killall DiscordCanary
|
||||
discord-canary &
|
||||
fi
|
||||
if pgrep "Discord" > /dev/null
|
||||
then
|
||||
killall Discord
|
||||
discord &
|
||||
fi
|
||||
if pgrep "obsidian" > /dev/null
|
||||
then
|
||||
killall obsidian
|
||||
Obsidian.AppImage &
|
||||
fi
|
||||
#Kitty Config
|
||||
# echo "
|
||||
# include misc.conf
|
||||
# include themes/gruvbox_light.conf" > ~/.config/kitty/kitty.conf
|
||||
# #Zathura poggers
|
||||
# echo "include gruvbox-light.conf" > ~/.config/zathura/zathurarc
|
||||
|
||||
sed -i -e 's/dark/light/g' ~/.config/rofi/config.rasi ~/.config/zathura/zathurarc ~/.config/kitty/kitty.conf
|
||||
sed -i -e 's/prefer-dark-theme=1/prefer-dark-theme=0/g' ~/.config/gtk-3.0/settings.ini
|
||||
4
light-mode.d/executable_notifications.sh
Normal file
4
light-mode.d/executable_notifications.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
killall dunst
|
||||
dunst -conf "$HOME/.config/dunstrc-light" &
|
||||
notify-send "FLASHBANG OUT"
|
||||
3
light-mode.d/executable_spot-gruvlight.sh
Normal file
3
light-mode.d/executable_spot-gruvlight.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
"$HOME/.spicetify/spicetify" config current_theme Onepunch color_scheme light replace_colors 1 overwrite_assets 0 inject_css 0 extensions
|
||||
"$HOME/.spicetify/spicetify" apply
|
||||
1
light-mode.d/symlink_autostart
Normal file
1
light-mode.d/symlink_autostart
Normal file
@@ -0,0 +1 @@
|
||||
/home/linly/bin/autostart
|
||||
@@ -298,7 +298,7 @@
|
||||
(use-package! ox-extra
|
||||
:config
|
||||
(ox-extras-activate '(latex-header-blocks ignore-headlines)))
|
||||
(setq-default org-startup-folded 'content)
|
||||
;; (setq-default org-startup-folded 'content)
|
||||
))
|
||||
(setq-default cache-long-scans nil)
|
||||
|
||||
@@ -333,8 +333,8 @@
|
||||
(ranger-override-dired-mode t)
|
||||
;; ("\\.pdf\\'" . default) is already member in `org-file-apps'
|
||||
;; Use "xdg-open" to open files by default
|
||||
(setcdr (assq t org-file-apps-gnu) 'browse-url-xdg-open)
|
||||
|
||||
;; (setcdr (assq t org-file-apps-gnu) 'browse-url-xdg-open)
|
||||
(setq doc-view-continuous t)
|
||||
(setq telega-open-file-function 'org-open-file)
|
||||
(setq org-log-done 'time)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user