dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit a4032d63fc7835d7bfb4ba171f7a71d1dc808843
parent 045e24675afab2003f672000f1ba8046dea18453
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Sun, 22 Dec 2019 16:55:51 +0000

Removed unnecesary stuff and added dropdown terminal

Diffstat:
M.config/fish/config.fish | 8++++----
M.config/i3/config | 10+++++-----
M.config/vimb/config | 2+-
D.scripts/bin/display/hlockr | 36------------------------------------
M.scripts/bin/dmenu/dbrowse | 3++-
D.scripts/bin/dmenu/dvimedit | 12------------
D.scripts/bin/misc/hirssi | 3---
M.wall | 3++-
8 files changed, 14 insertions(+), 63 deletions(-)

diff --git a/.config/fish/config.fish b/.config/fish/config.fish @@ -23,7 +23,7 @@ function xi; sudo xbps-install $argv; end function xq; sudo xbps-query $argv; end function xr; sudo xbps-remove $argv; end function irssi; irssi --config ~/.config/irssi/config $argv; end -function pipes; pipes -R -r 10000 -c 10 -c 11 -c 12 -c 13 -c 14 -c 15 -s 15 $argv; end +function pipes; command pipes -R -r 10000 -c 10 -c 11 -c 12 -c 13 -c 14 -c 15 -s 15 $argv; end function clock; tty-clock; end function ytdl; youtube-dl --add-metadata -ic $argv; end function ytdla; youtube-dl --add-metadata -xic $argv; end @@ -40,7 +40,7 @@ function fff; bash ~/.config/fff/config; end function python; python3; end function vimb; command vimb --no-maximize; end function cleancache; sudo xbps-remove -O; end -function dots; git push orgin master; git push github master; end +function dots; git push origin master -f; git push github master -f; end #Set fish colors set fish_color_command a84b8d @@ -48,8 +48,8 @@ set fish_color_autosuggestion 86296b set fish_color_quote 3ab475 #Set LS colors -bash ~/.ls_colors -bash ~/.bash_profile +set -x LS_COLORS "di=35:fi=0:ln=33:ex=91;01:*.sh=91:*.html=92:*.css=97:*.md=97:*.yml=93:*.c=94:*.h=94:*.h.orig=94;01:*.h.rej=94;01:*.mk=96:*LICENSE=90:*Makefile=90:*README=97:*.c.orig=94;01:*.c.rej=94;01:*.png=95:*.jpg=95:*.heic=95:*.heif=95:*.mp3=95;01:*opus=.95;01:*.m4a=95;01:*.flac=95;01:*.wav=95;01:*.mp4=95;04:*.mkv=95;04" + #Frame buffer function video; mpv $argv --vo=drm; end diff --git a/.config/i3/config b/.config/i3/config @@ -159,7 +159,7 @@ assign [class="Vimb"] $ws1 assign [class="URxvt" instance="irssi"] $ws8 ##Scratchpad -for_window [class="URxvt" instance="dropdown"] move scratchpad; move position 0 0; resize set 1000 500 +for_window [class="URxvt" instance="dropdown*"] exec scratcher ##Movement bindings bindsym $mod+h focus left @@ -187,7 +187,7 @@ bindsym $mod+bracketleft exec userinput "Do you want to suspend?" "sudo -A zzz" bindsym $mod+shift+bracketleft exec userinput "Do you want to hibernate?" "sudo -A ZZZ" ##Letter bindings -bindsym $mod+q exec dropdown kill; exec dropdown hide +bindsym $mod+q scratchpad show bindsym $mod+shift+q kill bindsym $mod+w exec rfeh ~/.wallpapers/ bindsym $mod+shift+w exec fehffile ~/.wall @@ -217,8 +217,8 @@ bindsym $mod+d exec dmenurun bindsym $mod+shift+d exec dmenurun bindsym $mod+f fullscreen toggle bindsym $mod+shift+f fullscreen toggle -bindsym $mod+g exec dropdown show; exec dropdown program 'newsboat' -bindsym $mod+shift+g exec dropdown hide; exec dropdown program 'calcurse' +bindsym $mod+g exec $terminal -name newsboat -e newsboat +bindsym $mod+shift+g exec $terminal -name calcurse -e calcurse -D ~/.config/calcurse ##HJKL in movement bindings bindsym $mod+z split v bindsym $mod+shift+z split v @@ -248,7 +248,7 @@ exec fehffile ~/.wall.png exec_always notify-send "i3 restarted. Press Super(windows key)+F1 to open the manual." exec_always brightnessctl s 100% exec_always crefresh -exec dropdown start urxvtc +exec $terminal -name dropdown -e fish ##Setting colors for tabbed windows #class #border #background #text diff --git a/.config/vimb/config b/.config/vimb/config @@ -12,7 +12,7 @@ shortcut-add sx=https://searx.me/?q=$0 shortcut-add sch=https://searx.ch/?q=$0 shortcut-add bit=https://bitchute.com/search?q=$0 shortcut-add yt=https://youtube.com/results?search_query=$0 -shortcut-add hh=https://haydenh.gitlab.io/h/search?q=$0 +shortcut-add hh=https://haydenh.gitlab.io/h/ shortcut-add vl=https://voidlinux.org shortcut-add vw=https://wiki.voidlinux.org/index.php?search=$0 shortcut-add gh=https://github.com/search?q=$0 diff --git a/.scripts/bin/display/hlockr b/.scripts/bin/display/hlockr @@ -1,36 +0,0 @@ -#!/bin/bash -# -# hlockr -# Created by Hayden Hamilton -# -# haydenvh.com -# Copyright (c) 2019 Hayden Hamilton. LICENSE:GPLv2 ../../.licenses/gplv2.license -# - -while getopts ":n:i:l:h:b:p:r" o; do case "${o}" in - i) image=${OPTARG} ;; - r) resolution=${OPTARG} ;; - b) blur=${OPTARG} ;; - p) locker=${OPTARG} ;; - n) convert="off" ;; - h) printf "Specify an image with -i, resolution with -r, imagemagick effects with -b, and the program used for locking with -p." ;; -esac done - -if [ "$convert" == "off" ] -then - echo "All image manipulation off..." - if [ "$image" == "" ] - then - echo "No image, please specify one..." - exit 1 - fi -else - echo "Generating image..." - import -window root /tmp/screen.png - image="/tmp/screen.png" - resolution=$(xdpyinfo | awk '/dimensions/{print $2}') - blur="-blur 35 -paint 2" - locker="i3lock -i" - convert $image -resize $resolution\! $blur /tmp/screen.png -fi -$locker $image diff --git a/.scripts/bin/dmenu/dbrowse b/.scripts/bin/dmenu/dbrowse @@ -1,3 +1,4 @@ +#!/bin/bash # # dbrowse # Created by Hayden Hamilton @@ -6,4 +7,4 @@ # Copyright (c) 2019 Hayden Hamilton. LICENSE:GPLv2 .licenses/gplv2.license # -dfm vimb ~/general/documents +dfm $1 ~/general/documents diff --git a/.scripts/bin/dmenu/dvimedit b/.scripts/bin/dmenu/dvimedit @@ -1,12 +0,0 @@ -#!/bin/bash -#!/bin/bash -# -# dmenu/dvimedit -# Created by Hayden Hamilton -# -# haydenvh.com -# Copyright (c) 2019 Hayden Hamilton. LICENSE:GPLv2 ../../.licenses/gplv2.license -# -. $HOME/.dmenurc - -dfm vim ~ diff --git a/.scripts/bin/misc/hirssi b/.scripts/bin/misc/hirssi @@ -1,3 +0,0 @@ -#!/bin/bash -. $HOME/.config/irssi/userrc -irssi --home ~/.config/irssi/ -n $IRCUSER -c chat.freenode.net 6667 $IRCUSER:$IRCPASS diff --git a/.wall b/.wall @@ -1 +1,2 @@ -/home/hayden/.wallpapers/113.png /home/hayden/.wallpapers/106.png +.config/wall1 +.config/wall2