~metalune/Dotfiles

c31b6c85f93a38215e360f5eb1fe6d4843a9b81a — metalune 11 days ago 089f851
Let Me Introduce: SOLARIZED DARK
M .config/dunst/dunstrc => .config/dunst/dunstrc +35 -23
@@ 1,39 1,51 @@
[global]
    font = "Monospace 10"
    allow_markup = yes
    format = "<b>%s %p</b>\n%b"
    format = "<b>%s</b>\n%b"
    sort = yes
    indicate_hidden = true
    # geometry = "x5"
    transparency = 40
    idle_threshold = 0
    geometry = "300x5-20+20"
    alignment = left
    show_age_threshold = 30
    sticky_history = yes
    follow = keyboard
    indicate_hidden = yes
    alignment = center
    bounce_freq = 0
    show_age_threshold = 60
    word_wrap = yes
    ignore_newline = no
    geometry = "200x5-6+30"
    transparency = 0
    idle_threshold = 120
    monitor = 0
    follow = mouse
    sticky_history = yes
    line_height = 0
    separator_height = 2
    padding = 10
    horizontal_padding = 10
    separator_color = frame
    padding = 8
    horizontal_padding = 8
    separator_color = "#585858"
    startup_notification = false
    # https://github.com/knopwob/dunst/issues/26#issuecomment-36159395
    #icon_position = left
    #icon_folders = /usr/share/icons/elementary/actions/16/

[frame]
    width = 3
    color = "#285577"
    width = 1
    color = "#83a598"

[shortcuts]
    close = ctrl+space
    close_all = ctrl+shift+space
    history = ctrl+grave
    context = ctrl+shift+period

[urgency_low]
    background = "#ffffff"
    foreground = "#000000"
    timeout = 30
    background = "#282828"
    foreground = "#ebdbb2"
    timeout = 5

[urgency_normal]
    background = "#1F1F1F"
    foreground = "#ffffff"
    timeout = 45
    background = "#282828"
    foreground = "#ebdbb2"
    timeout = 20

[urgency_critical]
    background = "#ff9999"
    foreground = "#000000"
    background = "#282828"
    foreground = "#ebdbb2"
    timeout = 0

M .config/fontconfig/fonts.conf => .config/fontconfig/fonts.conf +11 -3
@@ 2,6 2,7 @@
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <alias> <family>serif</family> <prefer>
            <family>Ubuntu</family>
            <family>Linux Libertine</family>
            <family>Joy Pixels</family>
            <family>Noto Color Emoji</family>


@@ 9,6 10,7 @@
    </alias>
    <alias>
        <family>sans-serif</family> <prefer>
            <family>Ubuntu</family>
            <family>Cantarell</family>
            <family>Linux Biolinum</family>
            <family>Joy Pixels</family>


@@ 18,6 20,7 @@
    <alias>
        <family>sans</family>
        <prefer>
            <family>Ubuntu</family>
            <family>Cantarell</family>
            <family>Linux Biolinum</family>
            <family>Joy Pixels</family>


@@ 28,18 31,23 @@
        <family>monospace</family>
        <prefer>
            <!-- Use Semibold variant of SF Mono -->
            <family>FantasqueSansMono Nerd Font</family>
            <family>UbuntuMono Nerd Font</family>
            <family>Iosevka Nerd Font</family>
            <family>DejaVu Sans Mono</family>
            <family>CodeNewRoman Nerd Font</family>
            <family>LiterationMono Nerd Font</family>
            <family>BlexMono Nerd Font</family>
            <family>GohuFont Nerd Font</family>
            <family>RobotoMono Nerd Font</family>
            <family>FiraMono Nerd Font</family>
            <family>LucidaMonoEF</family>
            <family>agave Nerd Font</family>
            <family>CodeNewRoman Nerd Font</family>
            <family>LiterationMono Nerd Font</family>
            <family>SF Mono</family>
            <family>mononoki Nerd Font</family>
            <family>JetBrainsMono Nerd Font</family>
            <family>GoMono Nerd Font</family>
            <family>Noto Sans Mono</family>
            <family>DejaVu Sans Mono</family>
            <family>SauceCodePro Nerd Font</family>
            <family>Misc Tamsyn</family>
        </prefer>

M .config/nvim/init.vim => .config/nvim/init.vim +4 -1
@@ 31,6 31,7 @@ Plug 'rafi/awesome-vim-colorschemes'
Plug 'shapeoflambda/dark-purple.vim'
Plug 'adigitoleo/vim-mellow', {'tag': '*'}
Plug 'dracula/vim', {'as': 'dracula'}
Plug 'lifepillar/vim-solarized8'

Plug 'nvie/vim-flake8'
Plug 'fatih/vim-go'


@@ 43,6 44,7 @@ Plug 'junegunn/limelight.vim'

call plug#end()

nohlsearch

set go=a



@@ 174,11 176,12 @@ let g:go_auto_type_info = 1

" Hide statusline
set laststatus=0
set cursorline

set guicursor=

set list
set listchars=tab:●-

colorscheme dracula
colorscheme solarized8


M .config/profanity/profrc => .config/profanity/profrc +1 -1
@@ 1,5 1,5 @@
[ui]
theme=headache
theme=solarized-dark
history=true
titlebar=true


M .config/qutebrowser/config.py => .config/qutebrowser/config.py +301 -21
@@ 1,5 1,3 @@
import dracula.draw

# set up tor
#c.content.proxy = "socks://localhost:9050/"
c.content.autoplay = False


@@ 58,23 56,305 @@ c.tabs.pinned.frozen = False
c.completion.web_history.max_items = 10000
c.content.pdfjs = False
c.downloads.location.directory = "/home/metalune/downloads"
"""
c.colors.statusbar.normal.bg = "#333"
c.colors.statusbar.url.success.https.fg = "white"
c.colors.tabs.even.fg = "#888"
c.colors.tabs.even.bg = "#333"
c.colors.tabs.odd.fg = "#888"
c.colors.tabs.odd.bg = "#333"
c.colors.tabs.selected.odd.bg = color_highlight
c.colors.tabs.selected.even.bg = color_highlight
c.colors.messages.error.fg = c.colors.statusbar.normal.fg
c.colors.messages.warning.fg = c.colors.statusbar.normal.fg
c.colors.prompts.fg = c.colors.statusbar.normal.fg
"""
dracula.draw.blood(c, {
    'spacing': {
        'vertical': 6,
        'horizontal': 8
    }
})
c.content.user_stylesheets = [
    "solarized-dark.css",
    "custom_solarized.css"
]

# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
# Base16 qutebrowser template by theova
# Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub)

base00 = "#002b36"
base01 = "#073642"
base02 = "#586e75"
base03 = "#657b83"
base04 = "#839496"
base05 = "#93a1a1"
base06 = "#eee8d5"
base07 = "#fdf6e3"
base08 = "#dc322f"
base09 = "#cb4b16"
base0A = "#b58900"
base0B = "#859900"
base0C = "#2aa198"
base0D = "#268bd2"
base0E = "#6c71c4"
base0F = "#d33682"

# 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 = base01

# 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 = base0A

# 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 = base0B

# Foreground color of the matched text in the completion.
c.colors.completion.match.fg = base0B

# 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 disabled items in the context menu.
c.colors.contextmenu.disabled.bg = base01

# Foreground color of disabled items in the context menu.
c.colors.contextmenu.disabled.fg = base04

# 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 = base00

# Color gradient start for download backgrounds.
c.colors.downloads.start.bg = base0D

# Color gradient end for download text.
c.colors.downloads.stop.fg = base00

# Color gradient stop for download backgrounds.
c.colors.downloads.stop.bg = base0C

# Foreground color for downloads with errors.
c.colors.downloads.error.fg = base08

# Font color for hints.
c.colors.hints.fg = base00

# Background color for hints. Note that you can use a `rgba(...)` value
# for transparency.
c.colors.hints.bg = base0A

# 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 = base00

# Background color of an error message.
c.colors.messages.error.bg = base08

# Border color of an error message.
c.colors.messages.error.border = base08

# Foreground color of a warning message.
c.colors.messages.warning.fg = base00

# Background color of a warning message.
c.colors.messages.warning.bg = base0E

# 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 = base0B

# Background color of the statusbar.
c.colors.statusbar.normal.bg = base00

# Foreground color of the statusbar in insert mode.
c.colors.statusbar.insert.fg = base00

# Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = base0D

# Foreground color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.fg = base00

# Background color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.bg = base0C

# Foreground color of the statusbar in private browsing mode.
c.colors.statusbar.private.fg = base00

# Background color of the statusbar in private browsing mode.
c.colors.statusbar.private.bg = base01

# 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 = base00

# Background color of the statusbar in caret mode.
c.colors.statusbar.caret.bg = base0E

# Foreground color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.fg = base00

# Background color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.bg = base0D

# Background color of the progress bar.
c.colors.statusbar.progress.bg = base0D

# 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 = base08

# 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 = base0C

# Foreground color of the URL in the statusbar on successful load
# (https).
c.colors.statusbar.url.success.https.fg = base0B

# Foreground color of the URL in the statusbar when there's a warning.
c.colors.statusbar.url.warn.fg = base0E

# Background color of the tab bar.
c.colors.tabs.bar.bg = base00

# Color gradient start for the tab indicator.
c.colors.tabs.indicator.start = base0D

# Color gradient end for the tab indicator.
c.colors.tabs.indicator.stop = base0C

# Color for the tab indicator on errors.
c.colors.tabs.indicator.error = base08

# Foreground color of unselected odd tabs.
c.colors.tabs.odd.fg = base05

# Background color of unselected odd tabs.
c.colors.tabs.odd.bg = base01

# Foreground color of unselected even tabs.
c.colors.tabs.even.fg = base05

# Background color of unselected even tabs.
c.colors.tabs.even.bg = base00

# Background color of pinned unselected even tabs.
c.colors.tabs.pinned.even.bg = base0C

# Foreground color of pinned unselected even tabs.
c.colors.tabs.pinned.even.fg = base07

# Background color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.bg = base0B

# Foreground color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.fg = base07

# Background color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.bg = base02

# Foreground color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.fg = base05

# Background color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.bg = base02

# Foreground color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.fg = base05

# 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

M .config/sway/config => .config/sway/config +29 -31
@@ 10,21 10,40 @@ set $term alacritty
set $browser qutebrowser

#set $menu "dmenu_run -p 'Run:' -i --no-exec | xargs swaymsg exec --"
set $menu "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -p 'Run:'"
set $menu "dmenu_run -p 'Run:'"

# remove annoying titlebars
default_border pixel 2

gaps inner 5
gaps inner 7

# class                 border  backgr  text    indicator|child_border
client.focused          #002b36 #586e75 #fdf6e3 #268bd2 #b58900
client.focused_inactive #002b36 #073642 #839496 #073642
client.unfocused        #002b36 #073642 #839496 #073642
client.urgent           #002b36 #dc322f #fdf6e3 #002b36


bar {
    position top

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    #status_command while date +'%d.%m.%Y | %l:%M %p'; do sleep 1; done
    status_command ~/.local/bin/statusbar/statusbar

    colors {
        background #002b36
        statusline #839496
        separator  #586e75
        focused_workspace  #b58900 #b58900 #002b36
        active_workspace   #586e75 #586e75 #002b36
        inactive_workspace #073642 #002b36 #839496
        urgent_workspace   #dc322f #dc322f #fdf6e3
    }
}

# class                 border  bground text    indicator child_border
client.focused          #8be9fd #6272A4 #F8F8F2 #8be9fd   #8be9fd
client.focused_inactive #44475A #44475A #F8F8F2 #44475A   #44475A
client.unfocused        #282A36 #282A36 #BFBFBF #282A36   #282A36
client.urgent           #44475A #FF5555 #F8F8F2 #FF5555   #FF5555
client.placeholder      #282A36 #282A36 #F8F8F2 #282A36   #282A36

client.background       #F8F8F2

seat seat0 hide_cursor 5000



@@ 40,30 59,9 @@ input * {
    repeat_rate 40
}

bar {
    position top

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    #status_command while date +'%d.%m.%Y | %l:%M %p'; do sleep 1; done
    status_command ~/.local/bin/statusbar/statusbar


    colors {
        background #282A36
        statusline #F8F8F2
        separator  #44475A

        focused_workspace  #44475A #44475A #F8F8F2
        active_workspace   #282A36 #44475A #F8F8F2
        inactive_workspace #282A36 #282A36 #BFBFBF
        urgent_workspace   #FF5555 #FF5555 #F8F8F2
        binding_mode       #FF5555 #FF5555 #F8F8F2
    }
}


output "*" bg ~/wallpapers/0056.jpg fill
output "*" bg ~/wallpapers/solarized/0008.png fill

####################
### Key Bindings ###

M .local/bin/dmenu-kill-process => .local/bin/dmenu-kill-process +2 -2
@@ 3,12 3,12 @@
lines="-l 20"

selected="$(ps -a -u $USER | \
            dmenu -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -i -p "Select process to kill" $lines | \
            dmenu -i -p "Select process to kill" $lines | \
            awk '{print $1" "$4}')";

if [[ ! -z $selected ]]; then
    answer="$(echo -e "Yes\nNo" | \
                dmenu -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -i -p "Are you sure you wanna kill $selected?", $lines)"
                dmenu -i -p "Are you sure you wanna kill $selected?", $lines)"

    if [[ $answer == "Yes" ]]; then
        selpid="$(awk '{print $1}' <<< $selected)";