Add Gruvbox Dark Soft Theme to termite and polybar

This commit is contained in:
Thomas Dehaeze 2019-04-05 09:28:01 +02:00
parent 6f553d9fbb
commit a26aeb546b
3 changed files with 352 additions and 358 deletions

View File

@ -6,9 +6,63 @@
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:END: :END:
** Colors
#+begin_src conf
#define base00 #32302f
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e
*foreground: base05
#ifdef background_opacity
*background: [background_opacity]base00
#else
*background: base00
#endif
*cursorColor: base05
*color0: base00
*color1: base08
*color2: base0B
*color3: base0A
*color4: base0D
*color5: base0E
*color6: base0C
*color7: base05
*color8: base03
*color9: base08
*color10: base0B
*color11: base0A
*color12: base0D
*color13: base0E
*color14: base0C
*color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
*color16: base09
*color17: base0F
*color18: base01
*color19: base02
*color20: base04
*color21: base06
#+end_src
** XFT ** XFT
#+BEGIN_SRC conf #+BEGIN_SRC conf
! Xft.dpi: 96
Xft.dpi: 96 Xft.dpi: 96
Xft.autohint: 0 Xft.autohint: 0
Xft.lcdfilter: lcddefault Xft.lcdfilter: lcddefault
@ -20,7 +74,7 @@ Xft.rgba: rgb
** Xcursor ** Xcursor
#+BEGIN_SRC conf #+BEGIN_SRC conf
Xcursor.theme: Adwaita Xcursor.theme: Breeze
Xcursor.size: 0 Xcursor.size: 0
#+END_SRC #+END_SRC
@ -51,11 +105,6 @@ URxvt.keysym.C-S-c: perl:clipboard:copy
URxvt.keysym.C-S-v: perl:clipboard:paste URxvt.keysym.C-S-v: perl:clipboard:paste
#+END_SRC #+END_SRC
** Custom Colors
#+BEGIN_SRC conf
#include ".Xresources.d/colors"
#+END_SRC
* Redshift * Redshift
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/redshift.conf :header-args: :tangle ~/.config/redshift.conf
@ -142,19 +191,15 @@ URxvt.keysym.C-S-v: perl:clipboard:paste
* GTK * GTK
** GTK-2.0 ** GTK-2.0
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.gtkrc-2.0 :header-args: :tangle ~/.gtkrc-2.0.mine
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:END: :END:
#+BEGIN_SRC conf #+BEGIN_SRC conf
# DO NOT EDIT! This file will be overwritten by LXAppearance. gtk-theme-name="Arc-Dark"
# Any customization should be done in ~/.gtkrc-2.0.mine instead. gtk-icon-theme-name="Arc"
include "/home/tdehaeze/.gtkrc-2.0.mine"
gtk-theme-name="Adapta-Nokto-Eta-Maia"
gtk-icon-theme-name="ePapirus"
gtk-font-name="SauceCodePro Nerd Font Mono 10" gtk-font-name="SauceCodePro Nerd Font Mono 10"
gtk-cursor-theme-name="Adwaita" gtk-cursor-theme-name="xcursor-breeze"
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
@ -176,10 +221,10 @@ gtk-xft-rgba="rgb"
#+BEGIN_SRC conf #+BEGIN_SRC conf
[Settings] [Settings]
gtk-theme-name=Adwaita gtk-theme-name=Arc-Dark
gtk-icon-theme-name=Faenza-Radiance gtk-icon-theme-name=Arc
gtk-font-name=Cantarell 8 gtk-font-name=SauceCodePro Nerd Font Mono 10
gtk-cursor-theme-name=Adwaita gtk-cursor-theme-name=xcursor-breeze
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
@ -308,7 +353,7 @@ REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>
COMMAND nohup qutebrowser %s </dev/null &>/dev/null & COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
#+END_SRC #+END_SRC
* xinit * TODO xinit
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.xinitrc :header-args: :tangle ~/.xinitrc
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -322,7 +367,7 @@ COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
sysmodmap=/etc/X11/xinit/.Xmodmap sysmodmap=/etc/X11/xinit/.Xmodmap
#+END_SRC #+END_SRC
merge in defaults and keymaps Merge in defaults and keymaps
#+BEGIN_SRC conf #+BEGIN_SRC conf
if [ -f $sysresources ]; then if [ -f $sysresources ]; then
xrdb -merge $sysresources xrdb -merge $sysresources
@ -341,7 +386,7 @@ merge in defaults and keymaps
fi fi
#+END_SRC #+END_SRC
start some nice programs Start some nice programs
#+BEGIN_SRC conf #+BEGIN_SRC conf
if [ -d /etc/X11/xinit/xinitrc.d ] ; then if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
@ -353,17 +398,50 @@ start some nice programs
hiDPI hiDPI
#+BEGIN_SRC conf #+BEGIN_SRC conf
export GDK_SCALE=1 # export GDK_SCALE=1
export GDK_DPI_SCALE=0.95 # export GDK_DPI_SCALE=0.95
export QT_SCREEN_SCALE_FACTORS=0.9 # export QT_SCREEN_SCALE_FACTORS=0.9
export QT_AUTO_SCREEN_SCALE_FACTOR=2 # export QT_AUTO_SCREEN_SCALE_FACTOR=2
export QT_SCALE_FACTOR=2 # export QT_SCALE_FACTOR=2
#+END_SRC #+END_SRC
Keyboard Options
#+begin_src conf
# Set repetition keyboard rate
xset r rate 200 40
# Set International US keyboard layout
setxkbmap -layout us -variant intl -option caps:escape
#+end_src
#+BEGIN_SRC conf #+BEGIN_SRC conf
export XDG_CURRENT_DESKTOP=Budgie:GNOME get_session(){
exec budgie-desktop local dbus_args=(--sh-syntax --exit-with-session)
case $1 in
awesome) dbus_args+=(awesome) ;;
bspwm) dbus_args+=(bspwm-session) ;;
budgie) dbus_args+=(budgie-desktop) ;;
cinnamon) dbus_args+=(cinnamon-session) ;;
deepin) dbus_args+=(startdde) ;;
enlightenment) dbus_args+=(enlightenment_start) ;;
fluxbox) dbus_args+=(startfluxbox) ;;
gnome) dbus_args+=(gnome-session) ;;
i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
jwm) dbus_args+=(jwm) ;;
kde) dbus_args+=(startkde) ;;
lxde) dbus_args+=(startlxde) ;;
lxqt) dbus_args+=(lxqt-session) ;;
mate) dbus_args+=(mate-session) ;;
xfce) dbus_args+=(xfce4-session) ;;
openbox) dbus_args+=(openbox-session) ;;
,*) dbus_args+=($DEFAULT_SESSION) ;;
esac
echo "dbus-launch ${dbus_args[*]}"
}
exec $(get_session)
exec i3
#+END_SRC #+END_SRC
* GnuPG * GnuPG
@ -377,7 +455,7 @@ hiDPI
default-cache-ttl 60480000 default-cache-ttl 60480000
#+END_SRC #+END_SRC
* Dunst * TODO Dunst
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/dunst/dunstrc :header-args: :tangle ~/.config/dunst/dunstrc
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -522,8 +600,7 @@ hiDPI
icon_position = left icon_position = left
# Paths to default icons. # Paths to default icons.
# icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/ icon_path = /usr/share/icons/Arc/16x16/status/:/usr/share/icons/Arc/16x16/devices/
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
# Limit icons size. # Limit icons size.
max_icon_size=40 max_icon_size=40
@ -986,16 +1063,14 @@ stop-screensaver = "yes"
# ============================================================= # =============================================================
#+END_SRC #+END_SRC
* Zathura * TODO Zathura
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/zathura/zathurarc :header-args: :tangle ~/.config/zathura/zathurarc
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
:END: :END:
- [ ] I should add a Theme
#+BEGIN_SRC conf #+BEGIN_SRC conf
# Include the theme file
include zathurarc.theme
# Use clipboard # Use clipboard
set selection-clipboard clipboard set selection-clipboard clipboard
@ -1023,7 +1098,7 @@ stop-screensaver = "yes"
map m toggle_statusbar map m toggle_statusbar
#+END_SRC #+END_SRC
* Compton * TODO Compton
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/compton.conf :header-args: :tangle ~/.config/compton.conf
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes
@ -1223,13 +1298,13 @@ _rofi () {
} }
#+END_SRC #+END_SRC
display settings Display settings
#+BEGIN_SRC conf #+BEGIN_SRC conf
display_type=1 display_type=1
max_str_width=80 max_str_width=80
#+END_SRC #+END_SRC
keybindings Keybindings
#+BEGIN_SRC conf #+BEGIN_SRC conf
switch_view="Alt+Tab" switch_view="Alt+Tab"
new_bookmark="Alt+n" new_bookmark="Alt+n"
@ -1238,7 +1313,7 @@ edit="Alt+e"
delete="Alt+d" delete="Alt+d"
#+END_SRC #+END_SRC
colors Colors
#+BEGIN_SRC conf #+BEGIN_SRC conf
help_color="#2d7ed8" help_color="#2d7ed8"
#+END_SRC #+END_SRC
@ -1277,90 +1352,6 @@ help_color="#2d7ed8"
offline_mode=false offline_mode=false
#+END_SRC #+END_SRC
* Conky
:PROPERTIES:
:header-args: :tangle ~/.config/conky/conky.conf
:header-args+: :comments both :mkdirp yes
:END:
#+BEGIN_SRC conf
conky.config = {
alignment = 'top_left',
background = false,
border_width = 0,
color0 = 'white',
color1 = 'black',
color5 = '#F69CDA',
--cpu_avg_samples = 2,
--default_color = 'white',
--default_bar_height = 6,
--default_bar_width = 0,
--default_gauge_height = 25,
--default_gauge_width = 40,
--default_graph_height = 25,
--default_graph_width = ,
--default_outline_color = 'white',
--default_shade_color = 'white',
--disable_auto_reload = true,
diskio_avg_samples = 3,
--display = ,
--xinerama_head = ,
double_buffer = true,
--draw_borders = false,
--draw_graph_borders = true,
--draw_outline = false,
--draw_shades = false,
--extra_newline = false,
font = 'SauceCodePro Nerd Font:size=12',
gap_x = 3285,
gap_y = 80,
--http_refresh = false,
if_up_strictness = 'link',
--max_text_width = 0,
--max_user_text = 16384,
--maximum_width = ,
--minimum_height = 5,
--minimum_width = 5,
net_avg_samples = 4,
--no_buffers = true,
--nvidia_display = ,
--out_to_console = false,
--out_to_http = false,
--out_to_ncurses = false,
--out_to_stderr = false,
--out_to_x = true,
--override_utf8_locale = true,
own_window = true,
--own_window_class = 'Conky',
--own_window_title = 'conky0 (<hostname>)'
own_window_argb_visual = true,
own_window_argb_value = 0,
--own_window_transparent = yes,
own_window_type = 'override',
--short_units = true,
--show_graph_scale = false,
--show_graph_range = false,
--stippled_borders = 0,
--text_buffer_size = 256,
--top_cpu_separate = true,
--top_name_verbose = true,
--top_name_width = 15,
--total_run_times = 0,
update_interval = 0.5,
update_interval_on_battery = 1,
use_spacer = 'none',
use_xft = true
}
conky.text = [[
$color5${hr 2}
${alignc}${color0}${font SauceCodePro Nerd Font:pixelsize=80}${time %I:%M}$font
${alignc}${time %d}$color ${time %B} ${time %Y}
]]
#+END_SRC
* Scrot * Scrot
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/i3-scrot.conf :header-args: :tangle ~/.config/i3-scrot.conf
@ -1371,7 +1362,7 @@ help_color="#2d7ed8"
scrot_dir=$HOME/Pictures scrot_dir=$HOME/Pictures
#+END_SRC #+END_SRC
* Nitrogen * TODO Nitrogen
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/nitrogen/nitrogen.cfg :header-args: :tangle ~/.config/nitrogen/nitrogen.cfg
:header-args+: :comments both :mkdirp yes :header-args+: :comments both :mkdirp yes

View File

@ -54,49 +54,52 @@
* Colors * Colors
#+BEGIN_SRC conf #+BEGIN_SRC conf
[colors] [colors]
foreground = #586e75 # Base16 Gruvbox dark, soft
foreground_bold = #073642 # Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
cursor = #073642
cursor_foreground = #fdf6e3 foreground = #d5c4a1
background = rgb(253, 246, 227) foreground_bold = #ebdbb2
cursor = #ebdbb2
cursor_foreground = #32302f
background = rgba(50, 48, 47)
# 16 color space # 16 color space
# Black, Gray, Silver, White # Black, Gray, Silver, White
color0 = #fdf6e3 color0 = #32302f
color8 = #839496 color8 = #665c54
color7 = #586e75 color7 = #d5c4a1
color15 = #002b36 color15 = #fbf1c7
# Red # Red
color1 = #dc322f color1 = #fb4934
color9 = #dc322f color9 = #fb4934
# Green # Green
color2 = #859900 color2 = #b8bb26
color10 = #859900 color10 = #b8bb26
# Yellow # Yellow
color3 = #b58900 color3 = #fabd2f
color11 = #b58900 color11 = #fabd2f
# Blue # Blue
color4 = #268bd2 color4 = #83a598
color12 = #268bd2 color12 = #83a598
# Purple # Purple
color5 = #6c71c4 color5 = #d3869b
color13 = #6c71c4 color13 = #d3869b
# Teal # Teal
color6 = #2aa198 color6 = #8ec07c
color14 = #2aa198 color14 = #8ec07c
# Extra colors # Extra colors
color16 = #cb4b16 color16 = #fe8019
color17 = #d33682 color17 = #d65d0e
color18 = #eee8d5 color18 = #3c3836
color19 = #93a1a1 color19 = #504945
color20 = #657b83 color20 = #bdae93
color21 = #073642 color21 = #ebdbb2
#+END_SRC #+END_SRC