Update misc dotfiles

Image previews in ranger are back, this time using urxvt instead of w3m.
Also fixed the screenshot utility and cleaned up some other things.
This commit is contained in:
Donovan Glover 2018-10-07 17:59:31 -04:00
parent 5a9086fc13
commit bf0a007487
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
8 changed files with 21 additions and 24 deletions

View File

@ -1,8 +1,5 @@
# Easily cd into the "home" directory of any repository you're # Easily cd into the "home" directory of any repository you're
# working in. Note that this is a function instead of an alias # working in.
# since `external calls` in aliases are not supported by zsh.
# The current aliases file works with fish and other shells like
# zsh.
function gh function gh
cd (git rev-parse --show-toplevel) cd (git rev-parse --show-toplevel)
end end

View File

@ -3,5 +3,6 @@
*/ */
.termite { .termite {
/* Same as URxvt.internalBorder */
padding: 30px; padding: 30px;
} }

View File

@ -1,5 +1,5 @@
# New Start: A modern Arch workflow built with an emphasis on functionality. # New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017 Donovan Glover # Copyright (C) 2017-2018 Donovan Glover
# Make it easier to 1) know what view we're in and 2) select files # Make it easier to 1) know what view we're in and 2) select files
set line_numbers absolute set line_numbers absolute
@ -25,4 +25,9 @@ alias r rename
# Alias d to delete # Alias d to delete
alias d delete alias d delete
set use_preview_script true
set preview_files true
set preview_images true
set preview_images_method urxvt
# vim:ft=dosini # vim:ft=dosini

View File

@ -1,6 +1,7 @@
#!/bin/sh
# New Start: A modern Arch workflow built with an emphasis on functionality. # New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover # Copyright (C) 2017-2018 Donovan Glover
DATETIME=`date +%F_%H%M%S` DATETIME=`date +%F_%H%M%S`
shotgun ~/$DATETIME.png shotgun ~/$DATETIME.png
feh ~/$DATETIME.png --geometry 3200x1800 feh ~/$DATETIME.png --geometry 3200x1800 --scale-down

View File

@ -2,14 +2,14 @@
# Copyright (C) 2017-2018 Donovan Glover # Copyright (C) 2017-2018 Donovan Glover
[options] [options]
# 3 fonts of preference, sorted by readability font = Hack 11
font = Hack 12
#font = Inconsolata 14
#font = Fira Mono 12
# No need to show the mouse in the terminal window # No need to show the mouse in the terminal window
mouse_autohide = true mouse_autohide = true
# Note: If you want terminal transparency, you can use RGBA.
# Example: background = rgba(0, 0, 0, 0.9)
[colors] [colors]
foreground = #D0D0D0 foreground = #D0D0D0
foreground_bold = #E0E0E0 foreground_bold = #E0E0E0

View File

@ -4,7 +4,7 @@ root = true
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
indent_size = 4 indent_size = 2
indent_style = space indent_style = space
trim_trailing_whitespace = true trim_trailing_whitespace = true

View File

@ -1,6 +1,9 @@
# New Start: A modern Arch workflow built with an emphasis on functionality. # New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017 Donovan Glover # Copyright (C) 2017-2018 Donovan Glover
# Don't track temporary vim files # Don't track temporary vim files
*~ *~
.*.sw* .*.sw*
# Don't track Plasma directory files
.directory

View File

@ -1,9 +1,8 @@
# New Start: A modern Arch workflow built with an emphasis on functionality. # New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover # Copyright (C) 2017-2018 Donovan Glover
# Source the .Xresources and .xmodmap files # Source the .Xresources file
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
xmodmap ~/.xmodmap
# Source the files in the xinitrc.d directory # Source the files in the xinitrc.d directory
if [ -d /etc/X11/xinit/xinitrc.d ] ; then if [ -d /etc/X11/xinit/xinitrc.d ] ; then
@ -13,16 +12,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f unset f
fi fi
# Never blank the screen (disable power saving)
xset s off -dpms
# Start compton
compton -b
# Set the desktop background
feh --no-fehbg --bg-fill ~/.config/feh/back.png
# Start the window manager # Start the window manager
exec bspwm exec bspwm
# vim:ft=zsh # vim:ft=sh