~metalune/Dotfiles

089f8514baf18fdf340ff3e650ff2100844f1079 — metalune 14 days ago b384838
Update
M .config/amfora/config.toml => .config/amfora/config.toml +17 -124
@@ 169,127 169,20 @@ workers = 3
entries_per_page = 20

[theme]
# This section is for changing the COLORS used in Amfora.
# These colors only apply if 'color' is enabled above.
# Colors can be set using a W3C color name, or a hex value such as "#ffffff".

# Note that not all colors will work on terminals that do not have truecolor support.
# If you want to stick to the standard 16 or 256 colors, you can get
# a list of those here: https://jonasjacek.github.io/colors/
# DO NOT use the names from that site, just the hex codes.

# Definitions:
#   bg = background
#   fg = foreground
#   dl = download
#   btn = button
#   hdg = heading
#   bkmk = bookmark
#   modal = a popup window/box in the middle of the screen

# EXAMPLES:
# hdg_1 = "green"
# hdg_2 = "#5f0000"

# Available keys to set:

# bg: background for pages, tab row, app in general
# tab_num: The number/highlight of the tabs at the top
# tab_divider: The color of the divider character between tab numbers: |
# bottombar_label: The color of the prompt that appears when you press space
# bottombar_text: The color of the text you type
# bottombar_bg

bg = "#222324"
fg = "#BABABA"
tab_num = "#abb2bf"
tab_divider = "#abb2bf"
bottombar_bg = "#abb2bf"
bottombar_text = "#282c34"
bottombar_label = "#282c34"

# hdg_1
# hdg_2
# hdg_3
# amfora_link: A link that Amfora supports viewing. For now this is only gemini://
# foreign_link: HTTP(S), Gopher, etc
# link_number: The silver number that appears to the left of a link
# regular_text: Normal gemini text, and plaintext documents
# quote_text
# preformatted_text
# list_text

hdg_1 = "#e06c75"
hdg_2 = "#c678dd"
hdg_3 = "#c678dd"
amfora_link = "#61afef"
foreign_link = "#56b6c2"
link_number = "#abb2bf"
regular_text = "#abb2bf"
quote_text = "#98c379"
preformatted_text = "#e5c07b"
list_text = "#abb2bf"

# btn_bg: The bg color for all modal buttons
# btn_text: The text color for all modal buttons

btn_bg = "#282c34"
btn_text = "#abb2bf"

# dl_choice_modal_bg
# dl_choice_modal_text
# dl_modal_bg
# dl_modal_text
# info_modal_bg
# info_modal_text
# error_modal_bg
# error_modal_text
# yesno_modal_bg
# yesno_modal_text
# tofu_modal_bg
# tofu_modal_text

dl_choice_modal_bg = "#98c379"
dl_choice_modal_text = "#282c34"

dl_modal_bg = "#98c379"
dl_modal_text = "#282c34"

info_modal_bg = "#98c379"
info_modal_text = "#282c34"

error_modal_bg = "#e06c75"
error_modal_text = "#282c34"

yesno_modal_bg = "#e5c07b"
yesno_modal_text = "#282c34"

tofu_modal_bg = "#e5c07b"
tofu_modal_text = "#282c34"

# input_modal_bg
# input_modal_text
# input_modal_field_bg: The bg of the input field, where you type the text
# input_modal_field_text: The color of the text you type

input_modal_bg = "#98c379"
input_modal_text = "#282c34"
input_modal_field_bg = "#282c34"
input_modal_field_text = "#abb2bf"

# bkmk_modal_bg
# bkmk_modal_text
# bkmk_modal_label
# bkmk_modal_field_bg
# bkmk_modal_field_text

bkmk_modal_bg = "#98c379"
bkmk_modal_text = "#282c34"
bkmk_modal_label = "#282c34"
bkmk_modal_field_bg = "#282c34"
bkmk_modal_field_text = "#abb2bf"

# subscription_modal_bg
# subscription_modal_text
subscription_modal_bg = "#c678dd"
subscription_modal_text = "#282c34"
bg = "#282c34" 
tab_num = "#3071db"
tab_divider = "#5699af"
bottombar_label = "#98be65"
bottombar_text = "#7d7d7d"
bottombar_bg = "#202328"

hdg_1 = "#ff6c6b"
hdg_2 = "#51afef"
hdg_3 = "#4669ff"
amfora_link = "#c678dd"
foreign_link = "#98be65"
link_number = "#7d7d7d"
regular_text = "#ffffff"
quote_text = "#a9a1e1"
preformatted_text = "#ecbe7b"
list_text = "#bbc2cf"

M .config/fontconfig/fonts.conf => .config/fontconfig/fonts.conf +11 -9
@@ 9,6 9,7 @@
    </alias>
    <alias>
        <family>sans-serif</family> <prefer>
            <family>Cantarell</family>
            <family>Linux Biolinum</family>
            <family>Joy Pixels</family>
            <family>Noto Color Emoji</family>


@@ 17,6 18,7 @@
    <alias>
        <family>sans</family>
        <prefer>
            <family>Cantarell</family>
            <family>Linux Biolinum</family>
            <family>Joy Pixels</family>
            <family>Noto Color Emoji</family>


@@ 26,19 28,19 @@
        <family>monospace</family>
        <prefer>
            <!-- Use Semibold variant of SF Mono -->
            <family>SauceCodePro Nerd Font</family>
            <family>SF Mono</family>
            <family>CodeNewRoman Nerd Font</family>
            <family>DejaVu Sans Mono</family>
            <family>LiterationMono Nerd Font</family>
            <family>RobotoMono Nerd Font</family>
            <family>FiraMono Nerd Font</family>
            <family>Noto Sans Mono</family>
            <family>LucidaMonoEF</family>
            <family>JetBrainsMonoMedium Nerd Font</family>
            <family>agave Nerd Font</family>
            <family>GoMono Nerd Font</family>
            <family>RobotoMono 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>
    </alias>

M .config/foot/foot.ini => .config/foot/foot.ini +18 -18
@@ 3,25 3,25 @@ font=monospace:size=12
term=xterm-256color

[colors]
foreground=d3d0c8
background=333333
foreground=f8f8f2
background=282a36

regular0=000000
regular1=f2777a
regular2=b9ca4a
regular3=e6c547
regular4=7aa6da
regular5=c397d8
regular6=70c0ba
regular7=ffffff
regular1=ff5555
regular2=50fa7b
regular3=f1fa8c
regular4=bd93f9
regular5=ff79c6
regular6=8be9fd
regular7=bfbfbf

bright0=666666
bright1=ff3334
bright2=9ec400
bright3=e7c547
bright4=7aa6da
bright5=b77ee0
bright6=54ced6
bright7=ffffff
bright0=4d4d4d
bright1=ff6e67
bright2=5af78e
bright3=f4f99d
bright4=caa9fa
bright5=ff92d0
bright6=9aedfe
bright7=e6e6e6

alpha=0.9
alpha=1

M .config/newsboat/config => .config/newsboat/config +10 -4
@@ 32,15 32,21 @@ macro p set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkhandler
macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler



color listnormal white default
color listnormal_unread green default
color listfocus white blue
color listfocus black cyan
color listfocus_unread black blue
color info black cyan
color info black blue
color article white default

#highlight feedlist ".*(0/0))" black
#highlight feedlist " BLOG" 
highlight feedlist " PEERTUBE" yellow
highlight feedlist " YOUTUBE" red
highlight feedlist " ODYSEE" blue
highlight feedlist "ﳄ MASTODON" cyan
highlight feedlist " DEVIANTART" green
highlight feedlist " PODCAST" magenta
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
highlight article "https?://[^ ]+" green default

M .config/nvim/init.vim => .config/nvim/init.vim +2 -1
@@ 30,6 30,7 @@ Plug 'https://tildegit.org/sloum/gemini-vim-syntax'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'shapeoflambda/dark-purple.vim'
Plug 'adigitoleo/vim-mellow', {'tag': '*'}
Plug 'dracula/vim', {'as': 'dracula'}

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


@@ 179,5 180,5 @@ set guicursor=
set list
set listchars=tab:●-

colorscheme purify
colorscheme dracula


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

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


@@ 56,6 58,7 @@ 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"


@@ 67,4 70,11 @@ 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
    }
})


M .config/sway/config => .config/sway/config +9 -4
@@ 13,10 13,12 @@ set $browser qutebrowser
set $menu "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -p 'Run:'"

# remove annoying titlebars
default_border pixel 4
default_border pixel 2

gaps inner 5

# class                 border  bground text    indicator child_border
client.focused          #6272A4 #6272A4 #F8F8F2 #6272A4   #6272A4
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


@@ 61,7 63,7 @@ bar {
}


output "*" bg ~/pictures/wallpapers/artix/dracula.png fill
output "*" bg ~/wallpapers/0056.jpg fill

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


@@ 78,7 80,7 @@ bindsym $mod+l exec $term -e profanity
bindsym $mod+a exec $term -e alsamixer
bindsym $mod+period exec $term -e aerc
bindsym $mod+b exec $term -e newsboat
bindsym $mod+s exec $term -e ncmpcpp
#bindsym $mod+s exec $term -e ncmpcpp
bindsym $mod+Shift+o exec grim # take a screenshot
bindsym $mod+Shift+y exec ~/.local/bin/bemenutranslate
bindsym $mod+Shift+q exec ~/.local/bin/dmenu-kill-process


@@ 101,6 103,9 @@ bindsym $mod+e exec $menu
# Start dmconf
bindsym $mod+c exec dmconf

# Start dmseacrh
bindsym $mod+s exec dmsearch

# Reload the configuration file
bindsym $mod+Ctrl+p reload


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 -sb "#285577" -i -p "Select process to kill" $lines | \
            dmenu -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -i -p "Select process to kill" $lines | \
            awk '{print $1" "$4}')";

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

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