This commit is contained in:
Luke 2017-09-23 17:37:59 -07:00
parent beeb578468
commit d944647373
25 changed files with 2536 additions and 442 deletions

View File

@ -10,5 +10,3 @@
#[ -z "$DISPLAY" -a "$(fgconsole)" -eq 1 ] && exec startx #[ -z "$DISPLAY" -a "$(fgconsole)" -eq 1 ] && exec startx
export BROWSER=firefox

View File

@ -2,152 +2,105 @@ stty -ixon
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
if [[ -f /usr/bin/iceweasel ]]; then if [[ -f /usr/bin/waterfox ]]; then
export BROWSER="waterfox"
elif [[ -f /usr/bin/palemoon ]]; then
export BROWSER="palemoon"
elif [[ -f /usr/bin/iceweasel ]]; then
export BROWSER="iceweasel" export BROWSER="iceweasel"
else else
export BROWSER="firefox" export BROWSER="firefox"
fi fi
export EDITOR="vim"
export PATH=$PATH:$HOME/.config/Scripts
shopt -s autocd shopt -s autocd
#if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then #if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
#exec startx #exec startx
#fi #fi
#Basic Aliases #Basic Aliases
alias v="vim" alias v="vim"
alias r="ranger" alias r="ranger"
#alias ls='ls -hN --color=auto --group-directories-first' alias ls='ls -hN --color=auto --group-directories-first'
alias ls='ls++' #alias ls='ls++'
alias lsa='ls -A' alias lsa='ls -A'
g() { cd $1 && ls -a ;} g() { cd $1 && ls -a ;}
alias mkd="mkdir -pv" alias mkdir="mkdir -pv"
mkcd() { mkdir -vp $1 && cd $1 ;}
alias e="exit" alias e="exit"
alias crep="grep --color=always" alias crep="grep --color=always"
alias Xi="sudo xbps-install" alias sv="sudo vim"
alias Xu="sudo xbps-remove -R"
alias Xup="sudo xbps-install -Suv" alias p="sudo pacman"
alias Xc="xbps-remove -Oo"
alias Xq="xbps-query -Rs"
alias XI="xbps-query -s"
alias Xl="xbps-query -l"
alias sdn="sudo shutdown now" alias sdn="sudo shutdown now"
alias screenfetch="screenfetch -t"
alias yt="youtube-dl -ic" alias yt="youtube-dl -ic"
alias yta="youtube-dl -xic" alias yta="youtube-dl -xic"
aurinstall() { curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz && tar -xvf $1.tar.gz && cd $1 && makepkg --noconfirm -si && cd .. && rm -rf $1 $1.tar.gz ;}
alias ein="ssh -l einchan -p 22 104.238.215.7" alias ein="ssh -l einchan -p 22 104.238.215.7"
alias starwars="telnet towel.blinkenlights.nl" alias starwars="telnet towel.blinkenlights.nl"
alias newnet="sudo sv restart NetworkManager" alias temp="cp ~/Repos/website/template.php"
alias nf="clear && neofetch"
alias clock="ncmpcpp -s clock"
alias rss="vim ~/Repos/website/rss.xml"
alias newnet="sudo systemctl restart NetworkManager"
alias atltime="sudo timedatectl set-timezone America/New_York && i3 restart" alias atltime="sudo timedatectl set-timezone America/New_York && i3 restart"
alias tuctime="sudo timedatectl set-timezone America/Phoenix && i3 restart" alias tuctime="sudo timedatectl set-timezone America/Phoenix && i3 restart"
bl() { convert $@ -resize 1440x1080\> bl_$@ ;} bl() { convert $@ -resize 1440x1080\> bl_$@ ;}
alias pingme="ping lukesmith.xyz"
alias youtube="youtube-viewer" alias youtube="youtube-viewer"
alias YT="youtube-viewer" alias YT="youtube-viewer"
alias syt="youtube-viewer" alias syt="youtube-viewer"
alias etym="sdcv -u \"English Etymology\""
alias spword="sdcv -u quick_spanish-english"
alias tosp="sdcv -u quick_english-spanish"
alias frword="sdcv -u quick_french-english"
alias tofr="sdcv -u quick_english-french"
alias lword="sdcv -u quick_latin-english"
alias tol="sdcv -u quick_english-latin"
alias rusword="sdcv -u quick_russian-english"
alias torus="sdcv -u quick_english-russian"
alias portword="sdcv -u quick_portuguese-english"
alias toport="sdcv -u quick_english-portuguese"
alias itword="sdcv -u quick_italian-english"
alias toit="sdcv -u quick_english-italian"
alias gword="sdcv -u quick_german-english"
alias tog="sdcv -u quick_english-german"
alias Txa="cp ~/Documents/LaTeX/article.tex" alias Txa="cp ~/Documents/LaTeX/article.tex"
alias Txs="cp ~/Documents/LaTeX/beamer.tex" alias Txs="cp ~/Documents/LaTeX/beamer.tex"
alias Txh="cp ~/Documents/LaTeX/handout.tex" alias Txh="cp ~/Documents/LaTeX/handout.tex"
alias TC='find . -maxdepth 1 -regextype gnu-awk -regex "^.*\.(pyc|pyo|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)" -delete' alias TC='texclear'
getgit() { git clone http://github.com/$1.git ;} getgit() { git clone http://github.com/$1.git ;}
folder() { echo -e "$1\t$2" >> ~/.config/Scripts/folders && i3 restart ;}
weath() { curl wttr.in/$1 ;} weath() { curl wttr.in/$1 ;}
alias work="mkdir ~/Work && cd ~/Work" alias work="mkdir ~/Work && cd ~/Work"
CF() { cd ~/.config/$1 && ls ;} CF() { cd ~/.config/$1 && ls ;}
alias ethspeed="speedometer -r enp0s25" alias ethspeed="speedometer -r enp0s25"
note() { echo "$@" >> ~/notes ;}
alias notes="vim ~/notes" alias notes="vim ~/notes"
alias extract="~/.config/Scripts/extract.sh" alias mailsync="bash ~/.config/Scripts/mailsyncloop"
alias refresh="python ~/.config/Scripts/shortcuts.py" alias wifispeed="speedometer -r wlp2s0"
backup() { cp $1 $1.bu ;}
alias mailsync="bash ~/.config/Scripts/mailsyncloop.sh"
alias wifispeed="speedometer -r wlp3s0"
alias trigger="bash ~/Creations/Scripts/trigger.sh"
alias bbs="python ~/.config/i3/bar/bumblebee-status"
alias tr="transmission-remote" alias tr="transmission-remote"
alias servs="ls /etc/sv"
alias debase="sudo umount /home/Shared/Videos && xrandr --output LVDS1 --auto --output VGA1 --off && bash ~/.config/polybar/launch.sh &> /dev/null"
serven() { sudo ln -s /etc/sv/$1 /var/service/ ;}
servdis() { sudo rm /var/service/$1 ;}
aurinstall() { curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz && tar -xvzf $1.tar.gz && cd $1 && makepkg --noconfirm -si && cd .. && rm -rf $1 $1.tar.gz ;}
alias menuk="xmodmap -e 'keycode 135 = Super_R'"
alias imgt="bash ~/.config/Scripts/imgt.sh"
alias ref="python ~/.config/Scripts/shortcuts.py && source ~/.bashrc" alias ref="python ~/.config/Scripts/shortcuts.py && source ~/.bashrc"
alias ka="killall" alias ka="killall"
alias bars="bash ~/.config/polybar/launch.sh" alias bars="bash ~/.config/polybar/launch.sh"
alias lsc="screen.sh l"
alias lsc="xrandr --output LVDS1 --auto --output VGA1 --off && bash ~/.config/polybar/launch.sh &> /dev/null" alias vsc="screen.sh v"
alias vsc="xrandr --output VGA1 --auto --output LVDS1 --off && bash ~/.config/polybar/launch.sh &> /dev/null" alias dsc="screen.sh d"
alias dsc="xrandr --output LVDS1 --auto --output VGA1 --auto --right-of LVDS1 && bash ~/.config/polybar/launch.sh &> /dev/null"
alias speedvid="bash ~/.config/Scripts/speedvid.sh" alias speedvid="bash ~/.config/Scripts/speedvid.sh"
tag() {
if [[ -f $1 ]]
then
echo "Enter a title."
read title
echo "Enter an artist name."
read artist
echo "Enter an album."
read album
echo "Enter an track number."
read numb
eyeD3 --remove-all "$1"
eyeD3 -a "$artist" -t "$title" -n "$numb" -A "$album" "$1"
else
echo "No file found."
fi
}
alias g="git"
alias gitup="git push origin master"
alias gitall="git add . && git commit -m "whatever" && git push origin master"
#Directory Shortcuts: #Directory Shortcuts:

View File

@ -1,5 +1,4 @@
cfb ~/.config/Scripts/bashrc cfb ~/.config/Scripts/bashrc
cfs ~/.config/Scripts/status.sh
cfz ~/.zshrc cfz ~/.zshrc
cfv ~/.config/Scripts/vimrc cfv ~/.config/Scripts/vimrc
cfr ~/.config/ranger/rc.conf.base cfr ~/.config/ranger/rc.conf.base

2
.config/Scripts/folders Executable file → Normal file
View File

@ -6,5 +6,5 @@ v ~/Videos
m ~/Music m ~/Music
b ~/Books b ~/Books
s ~/.config/Scripts s ~/.config/Scripts
/ /
r / r /
cf ~/.config

View File

@ -55,16 +55,16 @@ Be sure you play around with these. Be flexible with the basic commands and the
+ Mod+r -- ranger (file browser/manager) + Mod+r -- ranger (file browser/manager)
+ Mod+e -- mutt (email) + Mod+e -- mutt (email)
+ Mod+m -- ncmpcpp (music player) + Mod+m -- ncmpcpp (music player)
+ Mod+A -- alsamixer (volume control)
+ Mod+a -- R calculator (close with Mod+a for reusability) + Mod+a -- R calculator (close with Mod+a for reusability)
+ Mod+i -- htop (system info) + Mod+i -- htop (system info)
+ Mod+N -- newsbeuter (RSS feed reader) + Mod+N -- newsbeuter (RSS feed reader)
+ Mod+y -- calcurse (calendar and schedule) + Mod+y -- calcurse (calendar and schedule)
+ Mod+u -- "Dropdown" terminal (close with Mod+u for reusability) + Mod+u -- "Dropdown" terminal (close with Mod+u for reusability)
+ Mod+Shift+Enter -- tmux + Mod+Shift+Enter -- new tmux window
## Larger programs ## Larger programs
+ Mod+A -- Pavucontrol (audio system control)
+ Mod+W -- Firefox + Mod+W -- Firefox
+ Mod+B -- Blender + Mod+B -- Blender
+ Mod+G -- GIMP + Mod+G -- GIMP
@ -88,16 +88,14 @@ Be sure you play around with these. Be flexible with the basic commands and the
+ Mod+F11 -- Switch to VGA display (if available) + Mod+F11 -- Switch to VGA display (if available)
+ Mod+F12 -- Switch to dual VGA/laptop display (if available) + Mod+F12 -- Switch to dual VGA/laptop display (if available)
*Note: I am on Void Linux now, which uses runit instead of systemd. As a result, users of most Linux distros may have to adjust the bindings for these commands.
## Audio ## Audio
I use ncmpcpp as a music player, which is a front end for mpd. If you prefer cmus or mocp, I have commented out shortcuts you can activate for it instead in the i3 config. I use ncmpcpp as a music player, which is a front end for mpd. If you prefer cmus or mocp, I have commented out shortcuts you can activate for it instead in the i3 config.
+ Mod+m -- ncmpcpp music player + Mod+m -- ncmpcpp music player
+ Mod+n -- Next track + Mod+. -- Next track
+ Mod+b -- Previous track + Mod+, -- Previous track
+ Mod+o -- Restart track + Mod+< -- Restart track
+ Mod+p -- Pause + Mod+p -- Pause
+ Mod+M -- Mute all audio + Mod+M -- Mute all audio
+ Mod+v -- visualizer + Mod+v -- visualizer
@ -105,7 +103,7 @@ I use ncmpcpp as a music player, which is a front end for mpd. If you prefer cmu
+ Mod++ -- Increase volume (holding shift increases amount) + Mod++ -- Increase volume (holding shift increases amount)
+ Mod+[ -- Back 10 seconds (holding shift increases amount) + Mod+[ -- Back 10 seconds (holding shift increases amount)
+ Mod+] -- Forward 10 seconds (holding shift increases amount) + Mod+] -- Forward 10 seconds (holding shift increases amount)
+ Mod+A -- alsamixer (volume control) + Mod+A -- Pavucontrol (volume control)
## Workspaces ## Workspaces

Binary file not shown.

View File

@ -1,9 +0,0 @@
#!/bin/bash
if [ -f $(pgrep mpd) ];
then
echo "mpd not yet active. Activating."
mpd && urxvt -e ncmpcpp
else
echo "mpd already active."
urxvt -e ncmpcpp
fi

View File

@ -3,6 +3,7 @@ import csv
qute = "" qute = ""
rang = "" rang = ""
bash = "" bash = ""
#fish = ""
with open(".config/qutebrowser/keys.conf.base") as qb: with open(".config/qutebrowser/keys.conf.base") as qb:
qute+=qb.read() qute+=qb.read()
@ -10,6 +11,8 @@ with open(".config/ranger/rc.conf.base") as rg:
rang+=rg.read() rang+=rg.read()
with open(".config/Scripts/bashrc") as bsh: with open(".config/Scripts/bashrc") as bsh:
bash+=bsh.read() bash+=bsh.read()
#with open(".config/fish/config_base.fish") as fsh:
#fish+=fsh.read()
#First we open the list of folder shortcuts and go down each line adding each in the required syntax to each of the three configs: #First we open the list of folder shortcuts and go down each line adding each in the required syntax to each of the three configs:
@ -24,12 +27,16 @@ with open(".config/Scripts/folders") as fold:
rang+=("map Y"+line[0]+" shell cp -r %s "+line[1]+"\n") rang+=("map Y"+line[0]+" shell cp -r %s "+line[1]+"\n")
#Adds the bash shortcuts: #Adds the bash shortcuts:
bash+=("alias "+line[0]+"=\"cd "+line[1]+" && ls -a\"\n") bash+=("alias "+line[0]+"=\"cd "+line[1]+" && ls -a\"\n")
#fish+=("alias "+line[0]+"=\"cd "+line[1]+" ; ls -a\"\n")
#fish+=("abbr --add "+line[0]+" \"cd "+line[1]+" ; ls -a\"\n")
#Goes thru the config file file and adds the shortcuts to both bash and ranger. #Goes thru the config file file and adds the shortcuts to both bash and ranger.
with open(".config/Scripts/configs") as conf: with open(".config/Scripts/configs") as conf:
for line in csv.reader(conf, dialect="excel-tab"): for line in csv.reader(conf, dialect="excel-tab"):
bash+=("alias "+line[0]+"=\"vim "+line[1]+"\"\n") bash+=("alias "+line[0]+"=\"vim "+line[1]+"\"\n")
#fish+=("alias "+line[0]+"=\"vim "+line[1]+"\"\n")
#fish+=("abbr --add "+line[0]+" \"vim "+line[1]+"\"\n")
rang+=("map "+line[0]+" shell vim "+line[1]+"\n") rang+=("map "+line[0]+" shell vim "+line[1]+"\n")
@ -39,3 +46,5 @@ with open(".config/qutebrowser/keys.conf","w") as outqb:
outqb.write(qute) outqb.write(qute)
with open(".bashrc","w") as outbash: with open(".bashrc","w") as outbash:
outbash.write(bash) outbash.write(bash)
#with open(".config/fish/config.fish","w") as outfish:
#outfish.write(fish)

View File

@ -1,16 +0,0 @@
#!/bin/bash
#Feed this script two arguments, $1 for a folder directory and $2 for a time interval in seconds.
#Will loop thru the files in the directory, using feh to change the background every $2 seconds.
while [ 1==1 ]
do
for file in $1*;
do
sleep $2
feh --bg-scale "$file"
cp "$file" ~/.config/wall.png
done
done

View File

@ -6,6 +6,9 @@
#YouTube: https://youtube.com/c/LukeSmithxyz #YouTube: https://youtube.com/c/LukeSmithxyz
#Github: https://github.com/LukeSmithxyz #Github: https://github.com/LukeSmithxyz
#Be sure that you have your $BROWSER environmental variable set to your favorite browser.
#E.g., put `export BROWSER="firefox"` into your bashrc
###---Basic Definitions---### ###---Basic Definitions---###
#Needed for i3-gaps #Needed for i3-gaps
hide_edge_borders both hide_edge_borders both
@ -18,7 +21,6 @@ set $term urxvt
set $video --no-startup-id bash ~/.config/Scripts/video.sh set $video --no-startup-id bash ~/.config/Scripts/video.sh
set $stoprec --no-startup-id killall ffmpeg & killall screenkey set $stoprec --no-startup-id killall ffmpeg & killall screenkey
set $flash --no-startup-id bash ~/.config/Scripts/flash_win.sh set $flash --no-startup-id bash ~/.config/Scripts/flash_win.sh
set $browser firefox
###---Starting External Scripts---### ###---Starting External Scripts---###
@ -31,7 +33,7 @@ exec --no-startup-id nm-applet
#Mount other drives: #Mount other drives:
exec --no-startup-id sudo mount -a exec --no-startup-id sudo mount -a
#Composite manager: #Composite manager:
exec --no-startup-id compton #exec --no-startup-id compton
#Refresh bash/ranger shortcuts: #Refresh bash/ranger shortcuts:
exec --no-startup-id python ~/.config/Scripts/shortcuts.py exec --no-startup-id python ~/.config/Scripts/shortcuts.py
#Try to load VGA screen if available: #Try to load VGA screen if available:
@ -39,16 +41,17 @@ exec --no-startup-id ~/.config/Scripts/screen.sh v
#Launch Polybar where appropriate: #Launch Polybar where appropriate:
exec_always --no-startup-id ~/.config/polybar/launch.sh exec_always --no-startup-id ~/.config/polybar/launch.sh
#Add wallpaper: #Add wallpaper:
exec --no-startup-id feh --bg-scale ~/.config/wall.png #exec --no-startup-id feh --bg-scale ~/.config/wall.png
exec_always --no-startup-id wal -c -i ~/.config/wall.png
#Remaps the caps lock button to escape and uses the US international keyboard with dead keys #Remaps the caps lock button to escape and uses the US international keyboard with dead keys
exec_always --no-startup-id setxkbmap -layout us -variant altgr-intl -option caps:escape exec_always --no-startup-id setxkbmap -layout us -variant altgr-intl -option caps:escape
#Remap Menu button to Super: #Remap Menu button to Super:
exec_always --no-startup-id xmodmap -e 'keycode 135 = Super_R' #exec_always --no-startup-id xmodmap -e 'keycode 135 = Super_R'
bindsym Menu exec --no-startup-id xmodmap -e 'keycode 135 = Super_R' bindsym Menu exec --no-startup-id xmodmap -e 'keycode 135 = Super_R'
#Unclutter makes the mouse invisible after a brief period #Unclutter makes the mouse invisible after a brief period
exec --no-startup-id unclutter exec --no-startup-id unclutter
#Disables touchpad; you might like like this one! (I only use the ThinkPad trackpoint). #Disables touchpad; you might like like this one! (I only use the ThinkPad trackpoint).
exec --no-startup-id exec synclient TouchpadOff=1 #exec --no-startup-id exec synclient TouchpadOff=1
###---Audio and Music Definitions---### ###---Audio and Music Definitions---###
@ -88,25 +91,25 @@ set $beg --no-startup-id mpc seek 0%
#set $beg --no-startup-id cmus-remote -k 00:00:00 #set $beg --no-startup-id cmus-remote -k 00:00:00
#FOR ALSA/AMIXER #FOR ALSA/AMIXER
set $inc --no-startup-id amixer sset Master 2%+ #set $inc --no-startup-id amixer sset Master 2%+
set $biginc --no-startup-id amixer sset Master 5%+ #set $biginc --no-startup-id amixer sset Master 5%+
set $dec --no-startup-id amixer sset Master 2%- #set $dec --no-startup-id amixer sset Master 2%-
set $bigdec --no-startup-id amixer sset Master 5%- #set $bigdec --no-startup-id amixer sset Master 5%-
set $mute --no-startup-id amixer sset Master toggle #set $mute --no-startup-id amixer sset Master toggle
set $truemute --no-startup-id amixer sset Master mute #set $truemute --no-startup-id amixer sset Master mute
set $screencast --no-startup-id bash ~/.config/Scripts/screencast_alsa.sh #set $screencast --no-startup-id bash ~/.config/Scripts/screencast_alsa.sh
set $audio --no-startup-id bash ~/.config/Scripts/audio_alsa.sh #set $audio --no-startup-id bash ~/.config/Scripts/audio_alsa.sh
#For PULSEAUDIO/PAMIXER #For PULSEAUDIO/PAMIXER
#set $inc --no-startup-id pamixer --allow-boost -i 5 set $inc --no-startup-id pamixer --allow-boost -i 5
#set $biginc --no-startup-id pamixer --allow-boost -i 15 set $biginc --no-startup-id pamixer --allow-boost -i 15
#set $dec --no-startup-id pamixer --allow-boost -d 5 set $dec --no-startup-id pamixer --allow-boost -d 5
#set $bigdec --no-startup-id pamixer --allow-boost -d 15 set $bigdec --no-startup-id pamixer --allow-boost -d 15
#set $mute --no-startup-id pamixer --allow-boost -t set $mute --no-startup-id pamixer --allow-boost -t
#set $micmute --no-startup-id pamixer --allow-boost -t set $micmute --no-startup-id pamixer --allow-boost -t
#set $truemute --no-startup-id pamixer -m set $truemute --no-startup-id pamixer -m
#set $screencast --no-startup-id bash ~/.config/Scripts/screencast_pulse.sh set $screencast --no-startup-id bash ~/.config/Scripts/screencast_pulse.sh
#set $audio --no-startup-id bash ~/.config/Scripts/audio_pulse.sh set $audio --no-startup-id bash ~/.config/Scripts/audio_pulse.sh
###---Dropdown/Scratchpad Windows---### ###---Dropdown/Scratchpad Windows---###
@ -151,7 +154,7 @@ bindsym $mod+q kill
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
bindsym $mod+w exec --no-startup-id $term -e w3m http://lukesmith.xyz bindsym $mod+w exec --no-startup-id $term -e w3m http://lukesmith.xyz
bindsym $mod+Shift+w exec --no-startup-id $browser bindsym $mod+Shift+w exec --no-startup-id $BROWSER
bindsym $mod+e exec $term -e mutt bindsym $mod+e exec $term -e mutt
#bindsym $mod+Shift+e #bindsym $mod+Shift+e
@ -171,14 +174,15 @@ bindsym $mod+Shift+u resize shrink height 10 px or 10 ppt
bindsym $mod+i exec $term -e htop bindsym $mod+i exec $term -e htop
bindsym $mod+Shift+i resize grow height 10 px or 10 ppt bindsym $mod+Shift+i resize grow height 10 px or 10 ppt
bindsym $mod+o exec --no-startup-id $beg #bindsym $mod+o exec --no-startup-id $beg
bindsym $mod+Shift+o resize grow width 10 px or 10 ppt bindsym $mod+Shift+o resize grow width 10 px or 10 ppt
bindsym $mod+p exec $pause bindsym $mod+p exec $pause
bindsym $mod+Shift+p exec mypaint bindsym $mod+Shift+p exec mypaint
bindsym $mod+a [instance="math"] scratchpad show; move position center bindsym $mod+a [instance="math"] scratchpad show; move position center
bindsym $mod+Shift+a exec $term -e alsamixer bindsym $mod+Shift+a exec pavucontrol
#bindsym $mod+Shift+a exec $term -e ncpamixer
bindsym $mod+s gaps inner current plus 5 bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5 bindsym $mod+Shift+s gaps inner current minus 5
@ -213,14 +217,14 @@ bindsym $mod+Shift+x exec sudo shutdown -h now
bindsym $mod+c exec $term -e weechat bindsym $mod+c exec $term -e weechat
#bindsym $mod+Shift+c #bindsym $mod+Shift+c
bindsym $mod+v exec urxvt -e ncmpcpp -s visualizer bindsym $mod+v exec urxvt -e vis
#bindsym $mod+Shift+v bindsym $mod+Shift+v exec projectM-pulseaudio
bindsym $mod+b exec $prev #bindsym $mod+b exec $prev
bindsym $mod+Shift+b exec --no-startup-id blender; workspace $ws6 bindsym $mod+Shift+b exec --no-startup-id blender; workspace $ws6
bindsym $mod+n exec $next bindsym $mod+n exec $term -e newsbeuter
bindsym $mod+Shift+n exec $term -e newsbeuter #bindsym $mod+Shift+n exec $term -e newsbeuter
bindsym $mod+m exec $music bindsym $mod+m exec $music
bindsym $mod+Shift+m exec $mute bindsym $mod+Shift+m exec $mute
@ -331,7 +335,7 @@ bindsym $mod+F1 exec --no-startup-id mupdf ~/.config/Scripts/i3_guide.md.pdf
bindsym $mod+F2 exec --no-startup-id python ~/.config/Scripts/shortcuts.py bindsym $mod+F2 exec --no-startup-id python ~/.config/Scripts/shortcuts.py
bindsym $mod+F3 exec --no-startup-id arandr bindsym $mod+F3 exec --no-startup-id arandr
bindsym $mod+F4 exec --no-startup-id sudo zzz bindsym $mod+F4 exec --no-startup-id sudo zzz
bindsym $mod+F5 exec --no-startup-id sudo sv restart NetworkManager bindsym $mod+F5 exec --no-startup-id sudo systemctl restart NetworkManager
bindsym $mod+F6 exec --no-startup-id urxvt -e transmission-remote-cli bindsym $mod+F6 exec --no-startup-id urxvt -e transmission-remote-cli
bindsym $mod+F7 exec transset -a --dec .15 bindsym $mod+F7 exec transset -a --dec .15
bindsym $mod+F8 exec transset -a --inc .15 bindsym $mod+F8 exec transset -a --inc .15
@ -359,10 +363,10 @@ bindsym $mod+plus exec $inc
bindsym $mod+Shift+plus exec $biginc bindsym $mod+Shift+plus exec $biginc
bindsym $mod+minus exec $dec bindsym $mod+minus exec $dec
bindsym $mod+Shift+minus exec $bigdec bindsym $mod+Shift+minus exec $bigdec
bindsym $mod+greater exec $inc bindsym $mod+less exec $prev
bindsym $mod+Shift+greater exec $biginc bindsym $mod+Shift+less exec $beg
bindsym $mod+less exec $dec bindsym $mod+greater exec $next
bindsym $mod+Shift+less exec $bigdec bindsym $mod+Shift+greater exec $next
#For advancing forward/backward in an mpd song #For advancing forward/backward in an mpd song
bindsym $mod+bracketleft exec $lilbak bindsym $mod+bracketleft exec $lilbak
@ -402,7 +406,7 @@ bindsym XF86Sleep exec sudo zzz
bindsym XF86Explorer exec $term -e ranger bindsym XF86Explorer exec $term -e ranger
#bindsym XF86Send exec #bindsym XF86Send exec
#bindsym XF86Xfer exec #bindsym XF86Xfer exec
bindsym XF86WWW exec --no-startup-id $browser bindsym XF86WWW exec --no-startup-id $BROWSER
#bindsym XF86DOS exec #bindsym XF86DOS exec
bindsym XF86ScreenSaver exec exec --no-startup-id ~/.config/i3/lock.sh bindsym XF86ScreenSaver exec exec --no-startup-id ~/.config/i3/lock.sh
#bindsym XF86RotateWindows exec #bindsym XF86RotateWindows exec
@ -421,7 +425,7 @@ bindsym XF86AudioRewind exec $lilbak
bindsym XF86AudioForward exec $lilfor bindsym XF86AudioForward exec $lilfor
#bindsym XF86Phone exec #bindsym XF86Phone exec
#bindsym XF86Tools exec #bindsym XF86Tools exec
bindsym XF86HomePage exec $browser https://lukesmith.xyz bindsym XF86HomePage exec $BROWSER https://lukesmith.xyz
bindsym XF86Reload restart bindsym XF86Reload restart
#bindsym XF86ScrollUp exec #bindsym XF86ScrollUp exec
#bindsym XF86ScrollDown exec #bindsym XF86ScrollDown exec
@ -445,11 +449,11 @@ bindsym XF86Close kill
bindsym XF86WebCam exec mpv /dev/video0 bindsym XF86WebCam exec mpv /dev/video0
bindsym XF86Mail exec $term -e mutt bindsym XF86Mail exec $term -e mutt
bindsym XF86Messenger exec $term -e weechat bindsym XF86Messenger exec $term -e weechat
bindsym XF86Search exec $browser https://duckduckgo.com bindsym XF86Search exec $BROWSER https://duckduckgo.com
#bindsym XF86Go exec #bindsym XF86Go exec
#bindsym XF86Finance exec #bindsym XF86Finance exec
#bindsym XF86Game exec #bindsym XF86Game exec
bindsym XF86Shop exec $browser https://ebay.com bindsym XF86Shop exec $BROWSER https://ebay.com
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 15 bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 15
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 15 bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 15
bindsym XF86AudioMedia exec $music bindsym XF86AudioMedia exec $music
@ -463,6 +467,5 @@ bindsym XF86KbdBrightnessUp exec --no-startup-id xbacklight -inc 15
bindsym XF86Documents exec $term -e ranger ~/Documents bindsym XF86Documents exec $term -e ranger ~/Documents
#bindsym XF86Battery exec #bindsym XF86Battery exec
#bindsym XF86Bluetooth exec #bindsym XF86Bluetooth exec
bindsym XF86WLAN exec --no-startup-id sudo sv restart NetworkManager bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager

View File

@ -9,16 +9,20 @@
;===================================================== ;=====================================================
[colors] [colors]
;background = ${xrdb:color0:#222} background = ${xrdb:color0}
background = #000 ;background = #000
background-alt = #444 background-alt = #444
;foreground = ${xrdb:color7:#222} foreground = ${xrdb:color7}
foreground = #dfdfdf ;foreground = #dfdfdf
foreground-alt = #555 foreground-alt = #555
primary = #ffb52a primary = ${xrdb:color3}
secondary = #e60053 ;primary = ${xrdb:color3}
secondary = ${xrdb:color5}
;secondary = #e60053
alert = #bd2c40 alert = #bd2c40
col = #00f col = #00f
;fg = ${xrdb:color7}
;bg = ${xrdb:color2}
[bar/example] [bar/example]
;monitor = ${env:MONITOR:HDMI-1} ;monitor = ${env:MONITOR:HDMI-1}
@ -35,7 +39,7 @@ background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
line-size = 3 line-size = 3
line-color = #f00 line-color = {$xrdb:color1}
border-size = 0 border-size = 0
border-color = #00000000 border-color = #00000000
@ -48,7 +52,7 @@ module-margin-right = 2
font-0 = mono:pixelsize=11;1 font-0 = mono:pixelsize=11;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=11;1 font-2 = Wuncon Siji:pixelsize=11;1
modules-left = i3 mpd modules-left = i3 mpd
#modules-center = mpd #modules-center = mpd
@ -164,25 +168,28 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding}
[module/mpd] [module/mpd]
type = internal/mpd type = internal/mpd
format-online = <label-song> <label-time> <toggle> format-online = <label-song> <label-time>
# <icon-prev> <toggle> <icon-next>
#<toggle>
;icon-prev =  icon-prev = 
;icon-stop =  icon-stop = 
;icon-play =  icon-play = 
;icon-pause =  icon-pause = 
;icon-next =  icon-next = 
icon-prev = <- #icon-prev = <-
icon-stop = X #icon-stop = X
icon-play-prefix = #f00 #icon-play-prefix = #f00
icon-play = (Paused) #icon-play = (Paused)
icon-pause = #icon-pause =
icon-next = -> #icon-next = ->
;bar-progress-width = 45 ;bar-progress-width = 45
;bar-progress-indicator = | ;bar-progress-indicator = |
;bar-progress-fill = - ;bar-progress-fill = -
;bar-progress-empty = - ;bar-progress-empty = -
label-song = %artist% - %title%
label-song-maxlen = 70 label-song-maxlen = 70
label-song-ellipsis = true label-song-ellipsis = true
@ -213,7 +220,7 @@ type = internal/cpu
interval = 2 interval = 2
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000 format-underline = ${xrdb:color1}
label = %percentage%% label = %percentage%%
[module/memory] [module/memory]
@ -221,16 +228,16 @@ type = internal/memory
interval = 2 interval = 2
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc format-underline = ${xrdb:color6}
label = %percentage_used%% label = %percentage_used%%
[module/wlan] [module/wlan]
type = internal/network type = internal/network
interface = wlp3s0 interface = wlp2s0
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1 format-connected-underline = ${xrdb:color5}
;format-connected-underline = #9f78e1 ;format-connected-underline = #9f78e1
label-connected = %essid% label-connected = %essid%
@ -252,8 +259,8 @@ type = internal/network
interface = enp0s25 interface = enp0s25
interval = 3.0 interval = 3.0
format-connected-underline = #5ab738 format-connected-underline = ${xrdb:color2}
;format-connected-underline = #55aa55 ;format-connected-underline = ${xrdb:color10}
format-connected-prefix = " " format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt} format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip% label-connected = %local_ip%
@ -278,7 +285,7 @@ time = " at %I:%M%p"
format-prefix =  format-prefix = 
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #407ee7 format-underline = ${xrdb:color12}
;format-underline = #0a6cf5 ;format-underline = #0a6cf5
label = %date% %time% label = %date% %time%
@ -295,13 +302,13 @@ format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted label-muted = sound muted
bar-volume-width = 10 bar-volume-width = 10
bar-volume-foreground-0 = #55aa55 bar-volume-foreground-0 = ${xrdb:color10}
bar-volume-foreground-1 = #55aa55 bar-volume-foreground-1 = ${xrdb:color10}
bar-volume-foreground-2 = #55aa55 bar-volume-foreground-2 = ${xrdb:color10}
bar-volume-foreground-3 = #55aa55 bar-volume-foreground-3 = ${xrdb:color10}
bar-volume-foreground-4 = #55aa55 bar-volume-foreground-4 = ${xrdb:color10}
bar-volume-foreground-5 = #f5a70a bar-volume-foreground-5 = ${xrdb:color11}
bar-volume-foreground-6 = #ff5555 bar-volume-foreground-6 = ${xrdb:color1}
bar-volume-gradient = false bar-volume-gradient = false
bar-volume-indicator = | bar-volume-indicator = |
bar-volume-indicator-font = 2 bar-volume-indicator-font = 2
@ -319,7 +326,7 @@ full-at = 98
format-charging = Charging... <label-charging> format-charging = Charging... <label-charging>
#format-charging = <animation-charging> <label-charging> #format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a format-charging-underline = ${xrdb:color3}
format-discharging = <label-discharging> format-discharging = <label-discharging>
#format-discharging = <ramp-capacity> <label-discharging> #format-discharging = <ramp-capacity> <label-discharging>
@ -346,7 +353,7 @@ thermal-zone = 0
warn-temperature = 60 warn-temperature = 60
format = <ramp> <label> format = <ramp> <label>
format-underline = #f22c40 format-underline = ${xrdb:color1}
;format-underline = #f50a4d ;format-underline = #f50a4d
format-warn = <ramp> <label-warn> format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline} format-warn-underline = ${self.format-underline}

View File

@ -1,174 +0,0 @@
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
; Gotham theme ==========
; background = #0a0f14
; foreground = #99d1ce
; alert = #d26937
; volume-min = #2aa889
; volume-med = #edb443
; volume-max = #c23127
; =======================
; Nord theme ============
background = #000000
foreground = #f3f4f5
alert = #d08770
volume-min = #a3be8c
volume-med = #ebcb8b
volume-max = #bf616a
; =======================
[bar/default]
width = 100%
height = 28
radius = 0
fixed-center = false
bottom = false
background = ${colors.background}
foreground = ${colors.foreground}
module-margin-left = 1
module-margin-right = 1
font-0 = Input Mono:style=Regular:size=9;4
font-1 = FontAwesome:style=Regular:size=9;4
modules-left = i3
modules-center =
modules-right = eth memory cpu volume date powermenu
tray-position = right
tray-padding = 4
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
ws-icon-1 = "Shell;"
ws-icon-2 = "Firefox;"
ws-icon-3 = "Chat;"
ws-icon-4 = "Work;"
ws-icon-5 = "Dev;"
ws-icon-0 = "Music;"
label-mode-padding = 1
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.background}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.alert}
label-focused-background = ${colors.background}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.background}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/cpu]
type = internal/cpu
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage%%
[module/memory]
type = internal/memory
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage_used%%
[module/eth]
type = internal/network
interface = enp0s25
interval = 5
label-connected = "%downspeed% %upspeed%"
format-disconnected = <label-disconnected>
label-disconnected = " NETWORK DOWN"
label-disconnected-foreground = ${colors.alert}
[module/date]
type = internal/date
interval = 1
date = "%m/%d/%Y"
date-alt = "%Y/%m/%d"
time = %H:%M:%S
time-alt = %H:%M
format = " <label>"
format-foreground = ${colors.foreground}
label = %date% %time%
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
label-volume = ""
label-volume-foreground = ${root.foreground}
label-muted = " MUTED"
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.volume-min}
bar-volume-foreground-1 = ${colors.volume-min}
bar-volume-foreground-2 = ${colors.volume-min}
bar-volume-foreground-3 = ${colors.volume-med}
bar-volume-foreground-4 = ${colors.volume-med}
bar-volume-foreground-5 = ${colors.volume-max}
bar-volume-foreground-6 = ${colors.volume-max}
bar-volume-gradient = false
bar-volume-indicator = │
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground =
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini

View File

@ -0,0 +1,702 @@
# vim: ft=conf
#
# In this config file, qutebrowser's key bindings are configured.
# The format looks like this:
#
# [keymode]
#
# command
# keychain
# keychain2
# ...
#
# All blank lines and lines starting with '#' are ignored.
# Inline-comments are not permitted.
#
# keymode is a comma separated list of modes in which the key binding should be
# active. If keymode starts with !, the key binding is active in all modes
# except the listed modes.
#
# For special keys (can't be part of a keychain), enclose them in `<`...`>`.
# For modifiers, you can use either `-` or `+` as delimiters, and these names:
#
# * Control: `Control`, `Ctrl`
# * Meta: `Meta`, `Windows`, `Mod4`
# * Alt: `Alt`, `Mod1`
# * Shift: `Shift`
#
# For simple keys (no `<>`-signs), a capital letter means the key is pressed
# with Shift. For special keys (with `<>`-signs), you need to explicitly add
# `Shift-` to match a key pressed with shift.
#
# Note that default keybindings are always bound, and need to be explicitly
# unbound if you wish to remove them:
#
# <unbound>
# keychain
# keychain2
# ...
[!normal]
leave-mode
<escape>
<ctrl-[>
[normal]
# Keybindings for normal mode.
spawn youtube-dl -ic {url}
ytv
spawn youtube-dl -xic {url}
yta
#spawn youtube-dl -xic {url}
#;a
spawn mpv {url}
m
clear-keychain ;; search
<escape>
set-cmd-text -s :open
o
set-cmd-text :open {url:pretty}
go
set-cmd-text -s :open -t
O
set-cmd-text :open -t {url:pretty}
gO
set-cmd-text -s :open -b
xo
set-cmd-text :open -b {url:pretty}
xO
set-cmd-text -s :open -w
wo
set-cmd-text :open -w {url:pretty}
wO
open -t
ga
<ctrl-t>
open -w
<ctrl-n>
tab-close
<ctrl-w>
tab-close -o
D
tab-only
co
tab-focus
J
<ctrl-pgdown>
tab-move
gm
tab-move -
gl
tab-move +
gr
tab-prev
K
<ctrl-pgup>
tab-clone
gC
reload
r
<f5>
reload -f
R
<ctrl-f5>
back
H
back -t
th
back -w
wh
forward
L
forward -t
tl
forward -w
wl
fullscreen
<f11>
hint
f
hint all tab
F
hint all window
wf
#hint all tab-bg
#;b
#hint all tab-fg
#;f
hint images
;i
hint images tab
;I
hint images tab-bg
.i
#hint links fill :open {hint-url}
#;o
hint links fill :open -t {hint-url}
;O
hint links fill :open -b {hint-url}
.o
#hint links yank
#;y
hint links yank-primary
;Y
hint --rapid links tab-bg
;r
#hint --rapid links window
#;R
#hint links download
#;d
hint links spawn mpv --loop {hint-url}
;v
hint links spawn transmission-remote -a {hint-url}
gt
scroll left
h
scroll down
j
scroll up
k
scroll right
l
undo
U
<ctrl-shift-t>
scroll-perc 0
gg
scroll-perc
G
search-next
n
search-prev
N
enter-mode insert
i
enter-mode caret
v
enter-mode set_mark
`
enter-mode jump_mark
'
yank
yy
yank -s
yY
yank title -s
yT
yank domain
yd
yank domain -s
yD
yank pretty-url
yp
yank pretty-url -s
yP
open -- {clipboard}
pp
open -- {primary}
pP
open -t -- {clipboard}
Pp
open -t -- {primary}
PP
open -w -- {clipboard}
wp
open -w -- {primary}
wP
set-cmd-text -s :quickmark-load
b
set-cmd-text -s :quickmark-load -t
B
set-cmd-text -s :quickmark-load -w
wb
bookmark-add
M
set-cmd-text -s :bookmark-load
gb
set-cmd-text -s :bookmark-load -t
gB
set-cmd-text -s :bookmark-load -w
wB
save
sf
set-cmd-text -s :set
ss
set-cmd-text -s :set -t
sl
set-cmd-text -s :bind
sk
zoom-out
-
zoom-in
+
zoom
=
navigate prev
[[
navigate next
]]
navigate prev -t
{{
navigate next -t
}}
navigate up
gu
navigate up -t
gU
navigate increment
<ctrl-a>
navigate decrement
<ctrl-x>
inspector
wi
set storage download-directory ~/Downloads ;; download
gd
download-cancel
ad
download-clear
cd
view-source
gf
#set-cmd-text -s :buffer
#gt
tab-focus last
<ctrl-tab>
enter-mode passthrough
<ctrl-v>
quit
<ctrl-q>
scroll-page 0 1
<ctrl-f>
scroll-page 0 -1
<ctrl-b>
scroll-page 0 0.5
<ctrl-d>
d
scroll-page 0 -0.5
<ctrl-u>
u
tab-focus 1
<alt-1>
tab-focus 2
<alt-2>
tab-focus 3
<alt-3>
tab-focus 4
<alt-4>
tab-focus 5
<alt-5>
tab-focus 6
<alt-6>
tab-focus 7
<alt-7>
tab-focus 8
<alt-8>
tab-focus 9
<alt-9>
home
<ctrl-h>
stop
<ctrl-s>
print
<ctrl-alt-p>
open qute:settings
Ss
follow-selected
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
follow-selected -t
<ctrl-return>
<ctrl-enter>
hint inputs
;p
repeat-command
.
set-cmd-text /
/
set-cmd-text ?
?
set-cmd-text :
:
record-macro
q
run-macro
@
[insert]
# Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `open-editor`: Open a texteditor with the focused field.
# * `paste-primary`: Paste primary selection at cursor position.
open-editor
<ctrl-e>
insert-text {primary}
<shift-ins>
[hint]
# Keybindings for hint mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `follow-hint`: Follow the currently selected hint.
follow-hint
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
hint --rapid links tab-bg
<ctrl-r>
hint links
<ctrl-f>
hint all tab-bg
<ctrl-b>
[command]
# Keybindings for command mode.
# Since normal keypresses are passed through, only special keys are
# supported in this mode.
# Useful hidden commands to map in this section:
# * `command-history-prev`: Switch to previous command in history.
# * `command-history-next`: Switch to next command in history.
# * `completion-item-focus`: Select another item in completion.
# * `command-accept`: Execute the command currently in the commandline.
command-history-prev
<ctrl-p>
command-history-next
<ctrl-n>
completion-item-focus prev
<shift-tab>
<up>
completion-item-focus next
<tab>
<down>
completion-item-del
<ctrl-d>
command-accept
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
completion-item-focus next-category
<ctrl-tab>
completion-item-focus prev-category
<ctrl-shift-tab>
[prompt]
# Keybindings for prompts in the status line.
# You can bind normal keys in this mode, but they will be only active
# when a yes/no-prompt is asked. For other prompt modes, you can only
# bind special keys.
# Useful hidden commands to map in this section:
# * `prompt-accept`: Confirm the entered value.
# * `prompt-accept yes`: Answer yes to a yes/no question.
# * `prompt-accept no`: Answer no to a yes/no question.
prompt-accept
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
prompt-accept yes
y
prompt-accept no
n
prompt-open-download
<ctrl-x>
prompt-item-focus prev
<shift-tab>
<up>
prompt-item-focus next
<tab>
<down>
[command,prompt]
rl-backward-char
<ctrl-b>
rl-forward-char
<ctrl-f>
rl-backward-word
<alt-b>
rl-forward-word
<alt-f>
rl-beginning-of-line
<ctrl-a>
rl-end-of-line
<ctrl-e>
rl-unix-line-discard
<ctrl-u>
rl-kill-line
<ctrl-k>
rl-kill-word
<alt-d>
rl-unix-word-rubout
<ctrl-w>
<alt-backspace>
rl-yank
<ctrl-y>
rl-delete-char
<ctrl-?>
rl-backward-delete-char
<ctrl-h>
[caret]
toggle-selection
v
<space>
drop-selection
<ctrl-space>
enter-mode normal
c
move-to-next-line
j
move-to-prev-line
k
move-to-next-char
l
move-to-prev-char
h
move-to-end-of-word
e
move-to-next-word
w
move-to-prev-word
b
move-to-start-of-next-block
]
move-to-start-of-prev-block
[
move-to-end-of-next-block
}
move-to-end-of-prev-block
{
move-to-start-of-line
0
move-to-end-of-line
$
move-to-start-of-document
gg
move-to-end-of-document
G
yank selection -s
Y
yank selection
y
<return>
<ctrl-m>
<ctrl-j>
<shift-return>
<enter>
<shift-enter>
scroll left
H
scroll down
J
scroll up
K
scroll right
L
[normal]
#Download commands

File diff suppressed because it is too large Load Diff

0
.config/ranger/scope.sh Normal file → Executable file
View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 6.9 MiB

View File

@ -82,7 +82,8 @@ mpd_music_dir = "~/Music"
## ##
visualizer_type = spectrum visualizer_type = spectrum
# #
#visualizer_look = ●▮ #visualizer_look = ●卐
#visualizer_look = 卐
# #
#visualizer_color = blue, cyan, green, yellow, magenta, red #visualizer_color = blue, cyan, green, yellow, magenta, red
# #
@ -512,7 +513,7 @@ use_console_editor = yes
# #
empty_tag_color = magenta empty_tag_color = magenta
# #
header_window_color = blue #header_window_color = magenta
# #
#volume_color = default #volume_color = default
# #
@ -520,7 +521,7 @@ header_window_color = blue
# #
#state_flags_color = default:b #state_flags_color = default:b
# #
main_window_color = green #main_window_color = white
# #
#color1 = white #color1 = white
# #

34
.newsbeuter/config Normal file
View File

@ -0,0 +1,34 @@
auto-reload yes
browser iceweasel
bind-key j down feedlist
bind-key k up feedlist
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key j down article
bind-key k up article
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key l open
bind-key h quit
bind-key n next-unread
bind-key N prev-unread
bind-key D pb-download
color listnormal cyan default
color listfocus black magenta standout bold
color listnormal_unread blue default
color listfocus_unread yellow default bold
color info red black bold
color article cyan default
macro w set browser "i3 exec mpv"; open-in-browser ; set browser iceweasel
macro y set browser "i3 exec youtube-dl -ic"; open-in-browser ; set browser iceweasel
macro d set browser "wget -P Downloads"; open-in-browser ; set browser iceweasel
macro c set browser "echo -n %u | xclip -selection clipboard"; open-in-browser ; set browser iceweasel
macro k set browser "i3 urxvt -e curl -o ~/dl.html "; open-in-browser ; set browser iceweasel
macro o set browser "w3m"; open-in-browser ; set browser iceweasel
macro o open-in-browser

1
.newsbeuter/urls Normal file
View File

@ -0,0 +1 @@
http://lukesmith.xyz/rss.xml

View File

@ -1,8 +1,8 @@
# Luke's Void Linux Rice # Luke's GNU/Linux Rice
![pic2](pic2.png) ![pic2](pic2.png)
These are the files to my Void Linux Rice. There are my dotfiles! The name of the repo, "voidrice", came from the fact they were originally on my Void Linux machine, but these files are distro-independent. In fact, I now push changes from my X200 running Parabola.
## Programs whose configs can be found here ## Programs whose configs can be found here
@ -11,8 +11,10 @@ These are the files to my Void Linux Rice.
+ vim + vim
+ bash + bash
+ ranger + ranger
+ qutebrowser
+ mutt/msmtp/offlineimap (For offline syncing of email, with configs easy to change to a gmail account) + mutt/msmtp/offlineimap (For offline syncing of email, with configs easy to change to a gmail account)
+ calcurse + calcurse
+ ncmpcpp and mpd (my main music player)
+ Music on Console (moc and mocp) + Music on Console (moc and mocp)
+ mpv + mpv
+ neofetch + neofetch
@ -47,13 +49,6 @@ Each of these programs have shortcuts to edit config files and to go to or move
Then simply remove the line in the i3 config that runs `shortcuts.py` and then edit configs as usual. Then simply remove the line in the i3 config that runs `shortcuts.py` and then edit configs as usual.
## Differences from my Arch and Parabola Rices
+ **Since Void is more or less my main distro now, this repo is more likely to get updates over time.** The Arch and Parabola repos may get some, changes, but will remain mostly the same.
+ Void uses a different pacakge manager and init system than Arch/Parabola, thus some of the relevant shortcuts have been changed.
+ This rice uses ALSA only, and **not** PulseAudio. This makes for a more minimal system, but there is some functionality of the Parabola rice not present here yet, specifically, I don't have a way of recording system sounds yet, or using music visualizers. If you have more experience than me in getting these to work, please email me your solution! [luke@lukesmith.xyz](mailto:lukesmith.xyz)
+ I use only Firefox on my Void Machine, not qutebrowser, so there are no qutebrowser configs here.
## Like my rice? ## Like my rice?
Feel free to add other suggestions and I may implement them. Feel free to add other suggestions and I may implement them.
@ -68,5 +63,6 @@ I have a job, but every penny I get from followers or subscribers is more incent
+ Lightweight non-terminal apps -- mupdf, feh, rofi, network manager applet, arandr, mpv + Lightweight non-terminal apps -- mupdf, feh, rofi, network manager applet, arandr, mpv
+ Big business programs -- Firefox, GIMP, Blender + Big business programs -- Firefox, GIMP, Blender
With Bumblebee Status: # With Bumblebee Status:
![pic1](pic1.png) ![pic1](pic1.png)

BIN
README.md.pdf Normal file

Binary file not shown.

View File

@ -1,13 +0,0 @@
#!/bin/bash
# I don't think this list is everything, please tell me if you find anything missing.
xbps-install xorg-minimal xorg-fonts xf86-input-synaptics xf86-video-intel base-devel xinit xorg-server rxvt-unicode feh ffmpeg arandr mpv wget curl rofi python-pip python-netifaces python-psutil NetworkManager network-manager-applet vim w3m ranger mediainfo poppler highlight tmux calcurse htop newsbeuter moc firefox qutebrowser ImageMagick transmission-gtk transmission atool libcaca compton transset blender gimp texlive MultiMarkdown mupdf evince audacity rsync youtube-dl openssh syncthing noto-fonts-cjk noto-fonts-emoji cups screenFetch neofetch scrot unzip git lmms p7zip font-tamsyn speedometer neomutt font-awesome mypaint pandoc xdotool unclutter-xfixes
tlmgr info collections | grep -o 'collection-[A-Za-z]*' | xargs tlmgr install
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
git clone https://github.com/ying17zi/vim-live-latex-preview.git
mv vim-live-latex-preview ~/.vim/bundle/