config: theme tweaks
This commit is contained in:
parent
2d46cbfb54
commit
b5e3ba2784
|
@ -18,7 +18,7 @@
|
||||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-one-light 'doom-one)
|
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-opera-light 'doom-one)
|
||||||
doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light)
|
doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light)
|
||||||
doom-variable-pitch-font (font-spec :family "sans" :size 24))
|
doom-variable-pitch-font (font-spec :family "sans" :size 24))
|
||||||
|
|
||||||
|
|
|
@ -52,10 +52,11 @@ theme() {
|
||||||
then kcmshell5 kcm_lookandfeel
|
then kcmshell5 kcm_lookandfeel
|
||||||
elif test "$theme" != "$THEME" -a "$2" != "q"
|
elif test "$theme" != "$THEME" -a "$2" != "q"
|
||||||
then kcmshell5 kcm_lookandfeel &
|
then kcmshell5 kcm_lookandfeel &
|
||||||
# TODO theme diffr
|
# TODO theme diffr rather than disabling it
|
||||||
bak $XDG_CONFIG_HOME/git/diffr
|
bak $XDG_CONFIG_HOME/git/diffr
|
||||||
emacsclient -e "(toggle-theme \"$theme\")"
|
emacsclient -e "(toggle-theme \"$theme\")"
|
||||||
fi
|
fi
|
||||||
|
# TODO kitty
|
||||||
export THEME="$theme"
|
export THEME="$theme"
|
||||||
echo "$theme">"$theme_save"
|
echo "$theme">"$theme_save"
|
||||||
|
|
||||||
|
@ -66,13 +67,13 @@ theme() {
|
||||||
export LESS_TERMCAP_md=$'\e[1;34m' # bold blue
|
export LESS_TERMCAP_md=$'\e[1;34m' # bold blue
|
||||||
export BAT_THEME="OneHalfLight"
|
export BAT_THEME="OneHalfLight"
|
||||||
konsoleprofile colors="Light"
|
konsoleprofile colors="Light"
|
||||||
sed -i 's/#\(include.*\/light-256.theme\)/\1/' "$XDG_CONFIG_HOME/task/taskrc"
|
#sed -i 's/#\(include.*\/light-256.theme\)/\1/' "$XDG_CONFIG_HOME/task/taskrc"
|
||||||
#mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/'
|
#mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/'
|
||||||
;;
|
;;
|
||||||
(dark)
|
(dark)
|
||||||
export BAT_THEME="OneHalfDark"
|
export BAT_THEME="OneHalfDark"
|
||||||
konsoleprofile colors="Breeze"
|
konsoleprofile colors="Breeze"
|
||||||
sed -i 's/^include.*light-256.theme/#\0/' "$XDG_CONFIG_HOME/task/taskrc"
|
#sed -i 's/^include.*light-256.theme/#\0/' "$XDG_CONFIG_HOME/task/taskrc"
|
||||||
#mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/'
|
#mozedit $mozfile '/light@mozilla/,/"enabled"/ s/\("enabled":.*\)true/\1false/; /dark@mozilla/,/"enabled"/ s/\("enabled":.*\)false/\1true/'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -14,20 +14,20 @@
|
||||||
data.location=~/.local/share/task
|
data.location=~/.local/share/task
|
||||||
|
|
||||||
# Color theme (uncomment one to use)
|
# Color theme (uncomment one to use)
|
||||||
#include /usr/local/share/doc/task/rc/light-16.theme
|
#include /usr/share/doc/task/rc/light-16.theme
|
||||||
#include /usr/local/share/doc/task/rc/light-256.theme
|
#include /usr/share/doc/task/rc/light-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-16.theme
|
#include /usr/share/doc/task/rc/dark-16.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-256.theme
|
#include /usr/share/doc/task/rc/dark-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-red-256.theme
|
#include /usr/share/doc/task/rc/dark-red-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-green-256.theme
|
#include /usr/share/doc/task/rc/dark-green-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
#include /usr/share/doc/task/rc/dark-blue-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-violets-256.theme
|
#include /usr/share/doc/task/rc/dark-violets-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-yellow-green.theme
|
#include /usr/share/doc/task/rc/dark-yellow-green.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-gray-256.theme
|
#include /usr/share/doc/task/rc/dark-gray-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/dark-gray-blue-256.theme
|
#include /usr/share/doc/task/rc/dark-gray-blue-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/solarized-dark-256.theme
|
#include /usr/share/doc/task/rc/solarized-dark-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/solarized-light-256.theme
|
#include /usr/share/doc/task/rc/solarized-light-256.theme
|
||||||
#include /usr/local/share/doc/task/rc/no-color.theme
|
#include /usr/share/doc/task/rc/no-color.theme
|
||||||
|
|
||||||
# size uda
|
# size uda
|
||||||
uda.size.type=string
|
uda.size.type=string
|
||||||
|
|
Loading…
Reference in New Issue