small pixel drawing of a pufferfish dotfiles

Merge branch 'master' of git.cyberia.club:j3s/dotfiles
j3s j3s@c3f.net
Tue, 07 Jan 2020 17:52:55 -0600
commit

44cc02e672342156600dc80d342faf7cb260d73f

parent

76e7a2c6b0b0f58d48f43352a1d4a68ce76daf85

A .config/aerc/accounts.conf

@@ -0,0 +1,10 @@

+[c3f] +source = imaps://j3s@mail.c3f.net:993 +source-cred-cmd = pass c3f +outgoing = smtp+plain://j3s@mail.c3f.net:587 +outgoing-cred-cmd = pass c3f +default = INBOX +smtp-starttls = yes +from = jes <j3s@c3f.net> +copy-to = Sent +
M .config/git/config.config/git/config

@@ -32,7 +32,6 @@ email = j3s@c3f.net

[sendemail] smtpserver = mail.c3f.net smtpuser = j3s - smtppass = !"pass c3f" smtpencryption = tls smtpserverport = 587 annotate = yes
A .config/mutt/muttrc

@@ -0,0 +1,51 @@

+source 'echo "$( pw=$(pass c3f); echo set my_pass=\"$pw\" )" |' +set sort='reverse-last-date-received' +set my_user='j3s' +set spoolfile=imaps://$my_user:$my_pass@mail.c3f.net/ +set folder="imaps://mail.c3f.net/" +set record='=Sent' +set postponed='=Drafts' +set imap_check_subscribed +set timeout=5 +set imap_keepalive=300 +set mail_check=5 +set realname='Jesse Olson' +set from='j3s@c3f.net' +set use_from=yes + +set smtp_url=smtp://$my_user:$my_pass@mail.c3f.net:587 +set ssl_starttls=yes +set ssl_force_tls=yes +set edit_headers=yes +set markers=no + +set index_format="%2C %Z %D %-17.17n (%3l) %s" +set pager_format="%S [%C/%m] %l %n: %s" +set date_format="%Y-%m-%d %l:%M %p" +macro index a '<save-message>=Archive<enter>y' +macro index A '<pipe-message>git am<enter>j' +push '<change-folder> =<enter>' + +color index blue default ~P +# Patch syntax highlighting +color body brightwhite default ^[[:space:]].* +color body yellow default ^(diff).* +color body brightwhite default ^(\s).* +color body cyan default ^(Signed-off-by).* +color body cyan default ^(Docker-DCO-1.1-Signed-off-by).* +color body brightwhite default ^(Cc) +color body yellow default "^diff \-.*" +color body brightwhite default "^index [a-f0-9].*" +color body brightblue default "^---$" +color body white default "^\-\-\- .*" +color body white default "^[\+]{3} .*" +color body green default "^[\+][^\+]+.*" +color body red default "^\-[^\-]+.*" +color body brightblue default "^@@ .*" +color body green default "LGTM" +color body brightmagenta default "-- Commit Summary --" +color body brightmagenta default "-- File Changes --" +color body brightmagenta default "-- Patch Links --" +color body green default "^Merged #.*" +color body red default "^Closed #.*" +color body brightblue default "^Reply to this email.*"
M .config/sway/config.config/sway/config

@@ -24,24 +24,22 @@ #

# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) output * bg /home/j3s/pix/lainbakka.jpg fill # -# Example configuration: -# -# output DP-1 resolution 3840x2160 position 1920,0 -# + +# clamshell mode +set $laptop eDP-1 +bindswitch --reload lid:on output $laptop disable ; exec sudo ip link set down wlp2s0 +bindswitch --reload lid:off output $laptop enable ; exec sudo ip link set up wlp2s0 + # You can get the names of your outputs by running: swaymsg -t get_outputs ### Idle configuration -# -# Example configuration: -# exec swayidle -w \ timeout 700 'swaylock -f -c 000000' \ timeout 900 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000' -# -# This will lock your screen after 300 seconds of inactivity, then turn off -# your displays after another 300 seconds, and turn your screens back on when +# This will lock your screen after 700 seconds of inactivity, then turn off +# your displays after another 900 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. ### Input configuration

@@ -67,6 +65,9 @@ }

input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" { tap enabled + tap_button_map lrm + dwt disabled + click_method clickfinger } # # You can get the names of your inputs by running: swaymsg -t get_inputs

@@ -192,16 +193,11 @@ #

# Resizing containers: # mode "resize" { - # left will shrink the containers width - # right will grow the containers width - # up will shrink the containers height - # down will grow the containers height bindsym $left resize shrink width 10px bindsym $down resize grow height 10px bindsym $up resize shrink height 10px bindsym $right resize grow width 10px - # Ditto, with arrow keys bindsym Left resize shrink width 10px bindsym Down resize grow height 10px bindsym Up resize shrink height 10px

@@ -220,14 +216,12 @@ # Read `man 5 sway-bar` for more information about this section.

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 +'%Y-%m-%d %l:%M %p'; do sleep 1; done + status_command while ~/.config/sway/status; do sleep 1; done colors { statusline #ffffff - background #323232 - inactive_workspace #32323200 #32323200 #5c5c5c + background #333333 + inactive_workspace #333333 #333333 #ffffff } }
A .config/sway/status

@@ -0,0 +1,11 @@

+#!/bin/sh + +date_formatted=$(date "+%a %F %H:%M") + +linux_version=$(uname -r | cut -d '-' -f1) + +battery_status=$(cat /sys/class/power_supply/BAT0/status) + +battery_perc=$(cat /sys/class/power_supply/BAT0/capacity) + +echo "$linux_version | $battery_perc% $battery_status | $date_formatted "
M .ssh/config.ssh/config

@@ -7,3 +7,8 @@ Port 3215

Host git.cyberia.club Port 3215 + +Host baikal + Hostname 97.127.122.154 + User cyberian + Port 4999
M .vimrc.vimrc

@@ -27,11 +27,7 @@ set nobackup

" use rename-and-write-new method whenever safe set backupcopy=auto " patch required to honor double slash at end -if has("patch-8.1.0251") - " consolidate the writebackups -- not a big - " deal either way, since they usually get deleted - set backupdir^=~/.vim/backup// -end +set backupdir^=~/.vim/backup// " persist the undo tree for each file set undofile
D bin/nostromo/scr

@@ -1,7 +0,0 @@

-#!/bin/sh - -if [ "$1" = "" ]; then - grim -g "$(slurp)" "$HOME/pix/ss/$(date +%s).png" -elif [ "$1" = "stdout" ]; then - grim -g "$(slurp)" -t png - -fi
A bin/vpm

@@ -0,0 +1,21 @@

+#!/bin/sh + +case $1 in + install) + xbps-install -S "$2" + ;; + remove) + xbps-remove -R "$2" + ;; + clean) + xbps-remove -Oo + ;; + update) + xbps-install -Suv + ;; + search) + xbps-query -v -Rs "$2" + ;; + *) + echo 'command not found' +esac
A bin/xdg-open

@@ -0,0 +1,12 @@

+#!/bin/sh +case "${1%%:*}" in + http|https|*.pdf) + exec qutebrowser "$1" + ;; + mailto) + exec aerc "$1" + ;; + *) + exec /usr/bin/xdg-open "$@" + ;; +esac