diff options
author | Marvin Borner | 2020-05-30 23:51:40 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-30 23:51:40 +0200 |
commit | cd06b5821746c2ddf9d016ec2cdc10c967f244e6 (patch) | |
tree | 81567c5b4e94c992f6407242f53d242619cab161 | |
parent | 96cde026875d0cb74274ff509a082c7131ba74ab (diff) |
Added onedark colorscheme to almost all programs
-rw-r--r-- | .config/dunst/dunstrc | 30 | ||||
-rw-r--r-- | .config/gtk-2.0/gtkrc-2.0 | 1 | ||||
-rw-r--r-- | .config/nvim/init.vim | 9 | ||||
-rw-r--r-- | .config/qutebrowser/config.py | 263 | ||||
-rw-r--r-- | .config/zathura/zathurarc | 24 | ||||
-rw-r--r-- | .repos/dwm/config.h | 41 | ||||
-rw-r--r-- | .repos/dwm/drw.o | bin | 10472 -> 10600 bytes | |||
-rwxr-xr-x | .repos/dwm/dwm | bin | 71136 -> 71168 bytes | |||
-rw-r--r-- | .repos/dwm/dwm.o | bin | 60472 -> 60336 bytes | |||
-rw-r--r-- | .repos/dwm/util.o | bin | 2224 -> 2264 bytes | |||
-rw-r--r-- | .repos/st/config.h | 44 | ||||
-rwxr-xr-x | .scripts/environment | 13 | ||||
-rw-r--r-- | .xinitrc | 3 | ||||
-rwxr-xr-x | backup | 3 | ||||
-rw-r--r-- | packages.txt | 1 |
15 files changed, 370 insertions, 62 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index f12d512..5892fcd 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -10,7 +10,7 @@ separator_height = 0 padding = 15 horizontal_padding = 15 - frame_width = 0 + frame_width = 1 frame_color = "{color2}" separator_color = frame sort = yes @@ -35,7 +35,7 @@ icon_position = left max_icon_size = 45 - icon_path = /usr/share/icons/Papirus-Dark/16x16/status:/usr/share/icons/Papirus-Dark/16x16/devices + icon_path = /usr/share/icons/Papirus-Dark/16x16/status:/usr/share/icons/Papirus-Dark/16x16/devices:/usr/share/icons/Papirus-Dark/16x16/actions ### History ### @@ -72,21 +72,19 @@ context = ctrl+shift+period [urgency_low] -timeout = 2 -background = "#161418" -foreground = "#d2d1d2" -frame_color = "#161418" + timeout = 5 + background = "#282c34" + foreground = "#abb2bf" + frame_color = "#3e4451" [urgency_normal] -timeout = 2 -background = "#161418" -foreground = "#d2d1d2" -frame_color = "#161418" + timeout = 5 + background = "#282c34" + foreground = "#abb2bf" + frame_color = "#3e4451" [urgency_critical] -timeout = 5 -background = "#161418" -foreground = "#d2d1d2" -frame_color = "#161418" -frame_color = "#d5c4a1" -separator_color = "#d5c4a1" + timeout = 5 + background = "#282c34" + foreground = "#abb2bf" + frame_color = "#3e4451" diff --git a/.config/gtk-2.0/gtkrc-2.0 b/.config/gtk-2.0/gtkrc-2.0 index 4dc3f98..382447f 100644 --- a/.config/gtk-2.0/gtkrc-2.0 +++ b/.config/gtk-2.0/gtkrc-2.0 @@ -13,3 +13,4 @@ gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle="hintfull" gtk-xft-rgba="rgb" +gtk-color-scheme = "bg_color:#282c34\nfg_color:#abb2bf\nbase_color:#282c34\ntext_color:#abb2bf\nselected_bg_color:#3e4451\nselected_fg_color:#abb2bf\ntooltip_bg_color:#282c34\ntooltip_fg_color:#565c64\ntitlebar_bg_color:#282c34\ntitlebar_fg_color:#61afef\nmenubar_bg_color:#282c34\nmenubar_fg_color:#61afef\ntoolbar_bg_color:#282c34\ntoolbar_fg_color:#e5c07b\nmenu_bg_color:#282c34\nmenu_fg_color:#abb2bf\npanel_bg_color:#282c34\npanel_fg_color:#98c379\nlink_color:#d19a66" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index df05f91..bb2a411 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -46,7 +46,8 @@ Plug 'junegunn/fzf.vim' " Appearance "Plug 'flazz/vim-colorschemes' -Plug 'tomasiser/vim-code-dark' +"Plug 'tomasiser/vim-code-dark' +Plug 'joshdick/onedark.vim' Plug 'vim-airline/vim-airline-themes' Plug 'kien/rainbow_parentheses.vim' @@ -107,6 +108,7 @@ set softtabstop=8 set suffixes+=.pyc set t_Co=256 set tabstop=8 +set termguicolors set timeoutlen=100 set ttimeout set updatetime=100 @@ -262,7 +264,7 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit! " Airline config -let g:airline_theme = 'minimalist' +let g:airline_theme = 'onedark' let g:airline_extensions = ['tabline', 'tagbar', 'ale', 'term'] let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#formatter = 'unique_tail' @@ -279,7 +281,8 @@ let g:sonicpi_stop = 'stop' let g:vim_redraw = 1 " Colorscheme -colorscheme codedark " or molokai +let $NVIM_TUI_ENABLE_TRUE_COLOR = 1 +colorscheme onedark " or molokai highlight GitGutterAdd guifg=#009900 ctermfg=2 highlight GitGutterChange guifg=#bbbb00 ctermfg=3 highlight GitGutterDelete guifg=#ff2222 ctermfg=1 diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py new file mode 100644 index 0000000..25fc2ec --- /dev/null +++ b/.config/qutebrowser/config.py @@ -0,0 +1,263 @@ +config.load_autoconfig() + +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Base16 qutebrowser template by theova and Daniel Mulford +# OneDark scheme by Lalit Magant (http://github.com/tilal6991) + +base00 = "#282c34" +base01 = "#353b45" +base02 = "#3e4451" +base03 = "#545862" +base04 = "#565c64" +base05 = "#abb2bf" +base06 = "#b6bdca" +base07 = "#c8ccd4" +base08 = "#e06c75" +base09 = "#d19a66" +base0A = "#e5c07b" +base0B = "#98c379" +base0C = "#56b6c2" +base0D = "#61afef" +base0E = "#c678dd" +base0F = "#be5046" + +# Set qutebrowser colors + +# Text color of the completion widget. May be a single color to use for +# all columns or a list of three colors, one for each column. +c.colors.completion.fg = base05 + +# Background color of the completion widget for odd rows. +c.colors.completion.odd.bg = base00 + +# Background color of the completion widget for even rows. +c.colors.completion.even.bg = base00 + +# Foreground color of completion widget category headers. +c.colors.completion.category.fg = base05 + +# Background color of the completion widget category headers. +c.colors.completion.category.bg = base00 + +# Top border color of the completion widget category headers. +c.colors.completion.category.border.top = base00 + +# Bottom border color of the completion widget category headers. +c.colors.completion.category.border.bottom = base00 + +# Foreground color of the selected completion item. +c.colors.completion.item.selected.fg = base05 + +# Background color of the selected completion item. +c.colors.completion.item.selected.bg = base02 + +# Top border color of the selected completion item +c.colors.completion.item.selected.border.top = base02 + +# Bottom border color of the selected completion item. +c.colors.completion.item.selected.border.bottom = base02 + +# Foreground color of the matched text in the selected completion item. +c.colors.completion.item.selected.match.fg = base05 + +# Foreground color of the matched text in the completion. +c.colors.completion.match.fg = base05 + +# Color of the scrollbar handle in the completion view. +c.colors.completion.scrollbar.fg = base05 + +# Color of the scrollbar in the completion view. +c.colors.completion.scrollbar.bg = base00 + +# Background color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.bg = base00 + +# Foreground color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.fg = base05 + +# Background color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.bg = base02 + +# Foreground color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.fg = base05 + +# Background color for the download bar. +c.colors.downloads.bar.bg = base00 + +# Color gradient start for download text. +c.colors.downloads.start.fg = base05 + +# Color gradient start for download backgrounds. +c.colors.downloads.start.bg = base00 + +# Color gradient end for download text. +c.colors.downloads.stop.fg = base05 + +# Color gradient stop for download backgrounds. +c.colors.downloads.stop.bg = base00 + +# Foreground color for downloads with errors. +c.colors.downloads.error.fg = base05 + +# Font color for hints. +c.colors.hints.fg = base05 + +# Background color for hints. Note that you can use a `rgba(...)` value +# for transparency. +c.colors.hints.bg = base00 + +# Font color for the matched part of hints. +c.colors.hints.match.fg = base05 + +# Text color for the keyhint widget. +c.colors.keyhint.fg = base05 + +# Highlight color for keys to complete the current keychain. +c.colors.keyhint.suffix.fg = base05 + +# Background color of the keyhint widget. +c.colors.keyhint.bg = base00 + +# Foreground color of an error message. +c.colors.messages.error.fg = base05 + +# Background color of an error message. +c.colors.messages.error.bg = base00 + +# Border color of an error message. +c.colors.messages.error.border = base00 + +# Foreground color of a warning message. +c.colors.messages.warning.fg = base05 + +# Background color of a warning message. +c.colors.messages.warning.bg = base00 + +# Border color of a warning message. +c.colors.messages.warning.border = base0E + +# Foreground color of an info message. +c.colors.messages.info.fg = base05 + +# Background color of an info message. +c.colors.messages.info.bg = base00 + +# Border color of an info message. +c.colors.messages.info.border = base00 + +# Foreground color for prompts. +c.colors.prompts.fg = base05 + +# Border used around UI elements in prompts. +c.colors.prompts.border = base00 + +# Background color for prompts. +c.colors.prompts.bg = base00 + +# Background color for the selected item in filename prompts. +c.colors.prompts.selected.bg = base02 + +# Foreground color of the statusbar. +c.colors.statusbar.normal.fg = base05 + +# Background color of the statusbar. +c.colors.statusbar.normal.bg = base00 + +# Foreground color of the statusbar in insert mode. +c.colors.statusbar.insert.fg = base05 + +# Background color of the statusbar in insert mode. +c.colors.statusbar.insert.bg = base00 + +# Foreground color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.fg = base05 + +# Background color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.bg = base00 + +# Foreground color of the statusbar in private browsing mode. +c.colors.statusbar.private.fg = base05 + +# Background color of the statusbar in private browsing mode. +c.colors.statusbar.private.bg = base00 + +# Foreground color of the statusbar in command mode. +c.colors.statusbar.command.fg = base05 + +# Background color of the statusbar in command mode. +c.colors.statusbar.command.bg = base00 + +# Foreground color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.fg = base05 + +# Background color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.bg = base00 + +# Foreground color of the statusbar in caret mode. +c.colors.statusbar.caret.fg = base05 + +# Background color of the statusbar in caret mode. +c.colors.statusbar.caret.bg = base00 + +# Foreground color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.fg = base05 + +# Background color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.bg = base00 + +# Background color of the progress bar. +c.colors.statusbar.progress.bg = base00 + +# Default foreground color of the URL in the statusbar. +c.colors.statusbar.url.fg = base05 + +# Foreground color of the URL in the statusbar on error. +c.colors.statusbar.url.error.fg = base05 + +# Foreground color of the URL in the statusbar for hovered links. +c.colors.statusbar.url.hover.fg = base05 + +# Foreground color of the URL in the statusbar on successful load +# (http). +c.colors.statusbar.url.success.http.fg = base05 + +# Foreground color of the URL in the statusbar on successful load +# (https). +c.colors.statusbar.url.success.https.fg = base05 + +# Foreground color of the URL in the statusbar when there's a warning. +c.colors.statusbar.url.warn.fg = base05 + +# Background color of the tab bar. +c.colors.tabs.bar.bg = base00 + +# Disable indicators +c.tabs.indicator.width = 0 + +# Foreground color of unselected odd tabs. +c.colors.tabs.odd.fg = base05 + +# Background color of unselected odd tabs. +c.colors.tabs.odd.bg = base00 + +# Foreground color of unselected even tabs. +c.colors.tabs.even.fg = base05 + +# Background color of unselected even tabs. +c.colors.tabs.even.bg = base00 + +# Foreground color of selected odd tabs. +c.colors.tabs.selected.odd.fg = base05 + +# Background color of selected odd tabs. +c.colors.tabs.selected.odd.bg = base02 + +# Foreground color of selected even tabs. +c.colors.tabs.selected.even.fg = base05 + +# Background color of selected even tabs. +c.colors.tabs.selected.even.bg = base02 + +# Background color for webpages if unset (or empty to use the theme's +# color). +c.colors.webpage.bg = base00 diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 9fa50ca..b2a3853 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -10,3 +10,27 @@ map K zoom in map J zoom out map i recolor map p print + +# Colorscheme +set default-bg "#282c34" +set default-fg "#353b45" +set statusbar-fg "#565c64" +set statusbar-bg "#3e4451" +set inputbar-bg "#282c34" +set inputbar-fg "#c8ccd4" +set notification-bg "#282c34" +set notification-fg "#c8ccd4" +set notification-error-bg "#282c34" +set notification-error-fg "#e06c75" +set notification-warning-bg "#282c34" +set notification-warning-fg "#e06c75" +set highlight-color "#e5c07b" +set highlight-active-color "#61afef" +set completion-bg "#353b45" +set completion-fg "#61afef" +set completion-highlight-fg "#c8ccd4" +set completion-highlight-bg "#61afef" +set recolor-lightcolor "#282c34" +set recolor-darkcolor "#b6bdca" +set recolor "false" +set recolor-keephue "false" diff --git a/.repos/dwm/config.h b/.repos/dwm/config.h index f31bb0a..4951d41 100644 --- a/.repos/dwm/config.h +++ b/.repos/dwm/config.h @@ -1,21 +1,34 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int borderpx = 2; /* border pixel of windows */ +static const unsigned int snap = 16; /* snap pixel */ static const int showbar = 0; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; -static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, +static const char *fonts[] = { "Iosevka Term:pixelsize=14:antialias=true:autohint=true" }; +static const char dmenufont[] = "Iosevka Term:pixelsize=14:antialias=true:autohint=true"; + +static const char col_base00[] = "#282c34"; +static const char col_base01[] = "#353b45"; +static const char col_base02[] = "#3e4451"; +static const char col_base03[] = "#545862"; +static const char col_base04[] = "#565c64"; +static const char col_base05[] = "#abb2bf"; +static const char col_base06[] = "#b6bdca"; +static const char col_base07[] = "#c8ccd4"; +static const char col_base08[] = "#e06c75"; +static const char col_base09[] = "#d19a66"; +static const char col_base0A[] = "#e5c07b"; +static const char col_base0B[] = "#98c379"; +static const char col_base0C[] = "#56b6c2"; +static const char col_base0D[] = "#61afef"; +static const char col_base0E[] = "#c678dd"; +static const char col_base0F[] = "#be5046"; + +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { col_base05, col_base00, col_base00 }, + [SchemeSel] = { col_base05, col_base02, col_base02 }, }; /* scratchpad */ @@ -68,7 +81,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_base00, "-nf", col_base05, "-sb", col_base02, "-sf", col_base05, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *fltermcmd[] = { "st", "-t", "flterm", "-g", "120x34", NULL }; static const char *browsercmd[] = { "qutebrowser", NULL }; diff --git a/.repos/dwm/drw.o b/.repos/dwm/drw.o Binary files differindex db93e5e..3adc054 100644 --- a/.repos/dwm/drw.o +++ b/.repos/dwm/drw.o diff --git a/.repos/dwm/dwm b/.repos/dwm/dwm Binary files differindex 4a4a38b..4602f0c 100755 --- a/.repos/dwm/dwm +++ b/.repos/dwm/dwm diff --git a/.repos/dwm/dwm.o b/.repos/dwm/dwm.o Binary files differindex 20a8dd1..e3bc17f 100644 --- a/.repos/dwm/dwm.o +++ b/.repos/dwm/dwm.o diff --git a/.repos/dwm/util.o b/.repos/dwm/util.o Binary files differindex 59a0745..2a026a6 100644 --- a/.repos/dwm/util.o +++ b/.repos/dwm/util.o diff --git a/.repos/st/config.h b/.repos/st/config.h index b4283bd..42f7fae 100644 --- a/.repos/st/config.h +++ b/.repos/st/config.h @@ -108,34 +108,34 @@ char *termname = "st-256color"; unsigned int tabspaces = 8; /* bg opacity */ -float alpha = 0.8; +float alpha = 1.0; -/* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { - "#000000", // black - "#d54e53", // red - "#b9ca4a", // green - "#e6c547", // yellow - "#7aa6da", // blue - "#c397d8", // magenta - "#70c0ba", // cyan - "#eaeaea", // white - "#666666", // bright black - "#ff3334", // bright red - "#9ec400", // bright green - "#e7c547", // bright yellow - "#7aa6da", // bright blue - "#b77ee0", // bright magenta - "#54ced6", // bright cyan - "#ffffff", // bright white + "#282c34", /* base00 */ + "#e06c75", /* base08 */ + "#98c379", /* base0B */ + "#e5c07b", /* base0A */ + "#61afef", /* base0D */ + "#c678dd", /* base0E */ + "#56b6c2", /* base0C */ + "#abb2bf", /* base05 */ + "#545862", /* base03 */ + "#d19a66", /* base09 */ + "#353b45", /* base01 */ + "#3e4451", /* base02 */ + "#565c64", /* base04 */ + "#b6bdca", /* base06 */ + "#be5046", /* base0F */ + "#c8ccd4", /* base07 */ [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#ffffff", /* 256 -> cursor */ - "#666666", /* 257 -> rev cursor*/ - "#000000", /* 258 -> bg */ - "#eaeaea", /* 259 -> fg */ + "#b6bdca", /* 256 -> cursor */ + "#282c34", /* 257 -> rev cursor*/ + "#282c34", /* 258 -> bg */ + "#abb2bf", /* 259 -> fg */ }; + /* * Default colors (colorname index) * foreground, background, cursor, reverse cursor diff --git a/.scripts/environment b/.scripts/environment index 42ad665..47ecf2b 100755 --- a/.scripts/environment +++ b/.scripts/environment @@ -1,8 +1,9 @@ #!/usr/bin/env sh -notify-send -u critical "Waiting for internet connection..." +notify-send -t 10000 -i "dialog-xml-editor" "Waiting for internet connection..." while ! ping -qc1 8.8.8.8 ; do sleep 0.1 ; done -notify-send -u critical "Found network!" +notify-send -t 2000 -i "dialog-yes" "Found network" +notify-send -t 5000 -i "dialog-layers" "Starting programs" exec qutebrowser & exec st & @@ -13,7 +14,9 @@ exec discord & exec whatsapp-nativefier-dark & exec thunderbird & -exec spotify -dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play +notify-send -t 10000 -i "im-user" "Welcome back, Melvin!" -notify-send -u critical "Welcome back, Melvin!" +# Musica! :) +exec spotify & +sleep 5 +dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play @@ -6,10 +6,11 @@ xbanish & dunst & setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl +xsetroot -solid "#282c34" xrdb -merge /home/melvin/.Xresources & xset r rate 300 50 & wmname LG3D & -environment & +#environment & dwm_time & exec dwm @@ -1,13 +1,14 @@ #!/usr/bin/env bash rm -rf .config/ .repos/ .scripts/ .boilerplates/ -mkdir -p .config/{dunst,gtk-2.0,gtk-3.0,nvim,zathura,mpv} .repos +mkdir -p .config/{dunst,qutebrowser,gtk-2.0,gtk-3.0,nvim,zathura,mpv} .repos # Scripts cp -r "$HOME"/.scripts/ . # Configs cp "$HOME"/.config/dunst/dunstrc .config/dunst/ +cp "$HOME"/.config/qutebrowser/config.py .config/qutebrowser/ cp "$HOME"/.config/gtk-2.0/* .config/gtk-2.0/ cp "$HOME"/.config/gtk-3.0/* .config/gtk-3.0/ cp "$HOME"/.config/nvim/init.vim .config/nvim/ diff --git a/packages.txt b/packages.txt index b5769c7..1cce359 100644 --- a/packages.txt +++ b/packages.txt @@ -146,6 +146,7 @@ odt2txt openssl-1.0 pacman-contrib pandoc +papirus-icon-theme patch patchutils pavucontrol |