Browse Source

Moved scripts

master
Micah Halter 1 year ago
parent
commit
ccf8753db5
  1. 2
      CHANGELOG.md
  2. 2
      Makefile
  3. 4
      dunst/.config/dunst/dunstrc
  4. 2
      dunst/.config/systemd/user/dunst.service
  5. 2
      etc/systemd/system/wakelock.service
  6. 2
      i3blocks/.config/i3blocks/config
  7. 2
      mutt/.config/mutt/gatechrc
  8. 2
      mutt/.config/mutt/gmailrc
  9. 3
      mutt/.config/mutt/mailto
  10. 14
      mutt/.config/mutt/muttrc
  11. 2
      mutt/.local/share/applications/mutt.desktop
  12. 4
      neovim/.config/nvim/init.vim
  13. 2
      ranger/.config/ranger/pinrunner.sh
  14. 8
      ranger/.config/ranger/rc.conf
  15. 4
      rtv/.mailcap
  16. 3
      scripts/.config/Scripts/bemenui3
  17. 12
      scripts/.config/Scripts/configs.shortcuts
  18. 11
      scripts/.config/configs
  19. 2
      scripts/.config/folders
  20. 3
      scripts/.local/bin/MIMEmbellish
  21. 0
      scripts/.local/bin/autocomp
  22. 0
      scripts/.local/bin/bemenubluetooth
  23. 0
      scripts/.local/bin/bemenucolor
  24. 0
      scripts/.local/bin/bemenuexpand
  25. 3
      scripts/.local/bin/bemenui3
  26. 2
      scripts/.local/bin/bemenulatex
  27. 0
      scripts/.local/bin/bemenumount
  28. 0
      scripts/.local/bin/bemenupass
  29. 0
      scripts/.local/bin/bemenushutdown
  30. 0
      scripts/.local/bin/bemenuumount
  31. 0
      scripts/.local/bin/bemenuunicode
  32. 0
      scripts/.local/bin/bemenuwpg
  33. 0
      scripts/.local/bin/compiler
  34. 0
      scripts/.local/bin/criticalbattery
  35. 0
      scripts/.local/bin/displayctrl
  36. 0
      scripts/.local/bin/displayselect
  37. 2
      scripts/.local/bin/dunstbar
  38. 0
      scripts/.local/bin/dunstcolor
  39. 0
      scripts/.local/bin/extract
  40. 4
      scripts/.local/bin/genshortcuts
  41. 0
      scripts/.local/bin/getbib
  42. 0
      scripts/.local/bin/gohome
  43. 0
      scripts/.local/bin/i3-camtoggle
  44. 0
      scripts/.local/bin/i3-cliprog
  45. 0
      scripts/.local/bin/i3-maim
  46. 0
      scripts/.local/bin/i3-powersaver
  47. 0
      scripts/.local/bin/i3-resize
  48. 0
      scripts/.local/bin/i3-runner
  49. 0
      scripts/.local/bin/i3-workspaceswap
  50. 0
      scripts/.local/bin/limitlog
  51. 0
      scripts/.local/bin/linkhandler
  52. 0
      scripts/.local/bin/lmount
  53. 0
      scripts/.local/bin/lock
  54. 0
      scripts/.local/bin/lofi
  55. 0
      scripts/.local/bin/lumount
  56. 0
      scripts/.local/bin/magnet2torrent
  57. 3
      scripts/.local/bin/mailto
  58. 0
      scripts/.local/bin/msmtpq
  59. 0
      scripts/.local/bin/nowplaying
  60. 0
      scripts/.local/bin/nvimdiff
  61. 0
      scripts/.local/bin/opout
  62. 0
      scripts/.local/bin/pins
  63. 0
      scripts/.local/bin/qutebrowser_reload
  64. 0
      scripts/.local/bin/rangerpicker
  65. 0
      scripts/.local/bin/remaps
  66. 0
      scripts/.local/bin/screencast
  67. 0
      scripts/.local/bin/sendmail
  68. 0
      scripts/.local/bin/setbackground
  69. 0
      scripts/.local/bin/statusbar/battery
  70. 0
      scripts/.local/bin/statusbar/clock
  71. 0
      scripts/.local/bin/statusbar/date
  72. 0
      scripts/.local/bin/statusbar/ethernet
  73. 2
      scripts/.local/bin/statusbar/fullbar
  74. 0
      scripts/.local/bin/statusbar/i3
  75. 0
      scripts/.local/bin/statusbar/layout
  76. 0
      scripts/.local/bin/statusbar/mail
  77. 0
      scripts/.local/bin/statusbar/music
  78. 2
      scripts/.local/bin/statusbar/network
  79. 0
      scripts/.local/bin/statusbar/powersaver
  80. 0
      scripts/.local/bin/statusbar/volume
  81. 0
      scripts/.local/bin/statusbar/vpn
  82. 0
      scripts/.local/bin/statusbar/wifi
  83. 0
      scripts/.local/bin/statusbar/workspaces
  84. 0
      scripts/.local/bin/stopwatch
  85. 0
      scripts/.local/bin/sxiveh
  86. 0
      scripts/.local/bin/tasks
  87. 0
      scripts/.local/bin/texclear
  88. 0
      scripts/.local/bin/tmpopen
  89. 0
      scripts/.local/bin/tmuxiplex
  90. 0
      scripts/.local/bin/toggleservice
  91. 0
      scripts/.local/bin/toggletrackpad
  92. 0
      scripts/.local/bin/transfer
  93. 0
      scripts/.local/bin/ufetch
  94. 0
      scripts/.local/bin/vim-anywhere
  95. 0
      scripts/.local/bin/vpnc-script
  96. 0
      scripts/.local/bin/wal-set
  97. 0
      scripts/.local/bin/zsh-completions/_pg
  98. 0
      scripts/.local/bin/zsh-completions/_td
  99. 0
      scripts/.local/share/latexchars
  100. 7
      sxiv/.config/sxiv/exec/key-handler

2
CHANGELOG.md

@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- Made as compatible with XDG base directories as possible
- Moved `Scripts` to `~/.local/bin`
- Fixed `mailto` action to pull up `mutt` with `termite`
- Fixed `neomutt`'s behavior when opening attachments
- Removed GT Tribe calendar

2
Makefile

@ -247,7 +247,7 @@ stow-pre:
stow-post:
# shortcuts initialization
sudo -u $(USER) /home/$(USER)/.config/Scripts/genshortcuts
sudo -u $(USER) /home/$(USER)/.local/bin/genshortcuts
# neovim vim-plug initialization
sudo -u $(USER) nvim +'PlugInstall --sync' +qa
# set wallpaper and run wpgtk

4
dunst/.config/dunst/dunstrc

@ -179,10 +179,10 @@
### Misc/Advanced ###
# dmenu path.
dmenu = /home/micah/.config/Scripts/dmenucolor
dmenu = bemenucolor
# Browser for opening urls in context menu.
browser = /home/micah/.config/Scripts/linkhandler
browser = linkhandler
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true

2
dunst/.config/systemd/user/dunst.service

@ -3,7 +3,7 @@ Description=dunst notifications
[Service]
Type=simple
ExecStart=/home/micah/.config/Scripts/dunstcolor
ExecStart=/home/micah/.local/bin/dunstcolor
[Install]
WantedBy=default.target

2
etc/systemd/system/wakelock.service

@ -6,7 +6,7 @@ Before=suspend.target
User=micah
Type=forking
Environment=DISPLAY=:0
ExecStart=/home/micah/.config/Scripts/lock
ExecStart=/home/micah/.local/bin/lock
[Install]
WantedBy=suspend.target

2
i3blocks/.config/i3blocks/config

@ -1,4 +1,4 @@
command=~/.config/Scripts/statusbar/$BLOCK_NAME
command=~/.local/bin/statusbar/$BLOCK_NAME
separator=false
separator_block_width=15
markup=pango

2
mutt/.config/mutt/gatechrc

@ -4,7 +4,7 @@ set realname = "Micah Halter"
set from = "mehalter@gatech.edu"
set mbox_type = Maildir
set sendmail = "/bin/sh sendmail gatech"
set folder = "$HOME/.Mail/Gatech"
set folder = "$XDG_DATA_HOME/Mail/Gatech"
set spoolfile = "+INBOX"

2
mutt/.config/mutt/gmailrc

@ -4,7 +4,7 @@ set realname = "Micah Halter"
set from = "micah@mehalter.com"
set mbox_type = Maildir
set sendmail = "/bin/sh sendmail gmail"
set folder = "$HOME/.Mail/Gmail"
set folder = "$XDG_DATA_HOME/Mail/Gmail"
set spoolfile = "+INBOX"
set record = /dev/null

3
mutt/.config/mutt/mailto

@ -1,3 +0,0 @@
#!/usr/bin/zsh
exec $TERMINAL -e "/home/micah/.config/Scripts/i3-runner neomutt \"$@\""

14
mutt/.config/mutt/muttrc

@ -1,19 +1,19 @@
source $HOME/.config/mutt/gmailrc
source $HOME/.config/mutt/muttcol
source $HOME/.config/mutt/aliases
source $XDG_CONFIG_HOME/mutt/gmailrc
source $XDG_CONFIG_HOME/mutt/muttcol
source $XDG_CONFIG_HOME/mutt/aliases
macro index P '<sync-mailbox><enter-command>source $HOME/.config/mutt/gmailrc<enter><change-folder>!<enter>'
macro index S '<sync-mailbox><enter-command>source $HOME/.config/mutt/gatechrc<enter><change-folder>!<enter>'
macro index P '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/gmailrc<enter><change-folder>!<enter>'
macro index S '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/gatechrc<enter><change-folder>!<enter>'
set editor = $EDITOR
set timeout = "5"
set wait_key = no
set markers = no
set mail_check = "10"
set mailcap_path = $HOME/.config/mutt/mailcap
set mailcap_path = $XDG_CONFIG_HOME/mutt/mailcap
set date_format="%m/%d %I:%M"
set index_format="%?M?+& ?%2M %2C %Z %d %-15.15F %s (%-4.4c)"
set signature = $HOME/.config/mutt/signature
set signature = $XDG_CONFIG_HOME/mutt/signature
set sendmail_wait = -1
set fast_reply
set reverse_name

2
mutt/.local/share/applications/mutt.desktop

@ -2,7 +2,7 @@
Name=Mutt
Comment=IRC Client
GenericName=Mutt
Exec=/home/micah/.config/mutt/mailto
Exec=mailto
StartupNotify=true
Terminal=false
Type=Application

4
neovim/.config/nvim/init.vim

@ -43,8 +43,8 @@ call plug#end()
set scrolloff=7
set fileformats=unix,dos,mac
set path+=**
set spellfile=$HOME/.config/nvim/spell/en.utf-8.add
set thesaurus+=$HOME/.config/nvim/spell/mthesaur.txt
set spellfile=$XDG_CONFIG_HOME/nvim/spell/en.utf-8.add
set thesaurus+=$XDG_CONFIG_HOME/nvim/spell/mthesaur.txt
" 1 tab == 2 spaces
set expandtab
set shiftwidth=2

2
ranger/.config/ranger/pinrunner.sh

@ -1,5 +1,5 @@
#!/bin/bash
source $HOME/.config/Scripts/pins.sh
source $HOME/.local/bin/pins.sh
$1 $2 2> /dev/null

8
ranger/.config/ranger/rc.conf

@ -443,7 +443,7 @@ map V console shell $EDITOR%space
map cW bulkrename %s
map mkd console mkdir%space
map D console delete
map X shell $HOME/.config/Scripts/extract %f
map X shell extract %f
map Z shell tar -cvzf %f.tar.gz %s
map <C-f> fzf_select
map <C-l> fzf_locate
@ -454,9 +454,9 @@ map vr shell [ -e /tmp/nvimsocket ] && nvr %f 2>/dev/null &
# Pins
map pg pingo
map pa console shell $HOME/.config/ranger/pinrunner.sh pa%space
map pd shell $HOME/.config/ranger/pinrunner.sh pd "$(cat $HOME/.pins|fzf -n 1|awk '{print $1}')"
map pe shell $HOME/.config/ranger/pinrunner.sh pe "$(cat $HOME/.pins|fzf -n 1|awk '{print $1}')"
map pa console shell $XDG_CONFIG_HOME/ranger/pinrunner.sh pa%space
map pd shell $XDG_CONFIG_HOME/ranger/pinrunner.sh pd "$(cat $XDG_DATA_HOME/pins|fzf -n 1|awk '{print $1}')"
map pe shell $XDG_CONFIG_HOME/ranger/pinrunner.sh pe "$(cat $XDG_DATA_HOME/pins|fzf -n 1|awk '{print $1}')"
# Document
map Mk shell compiler %f

4
rtv/.mailcap

@ -1,6 +1,6 @@
image/x-imgur-album; $HOME/.config/Scripts/sxiveh '%s'; test=test -n "$DISPLAY"
image/x-imgur-album; sxiveh '%s'; test=test -n "$DISPLAY"
image/gif; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"
image/*; $HOME/.config/Scripts/sxiveh '%s'; test=test -n "$DISPLAY"
image/*; sxiveh '%s'; test=test -n "$DISPLAY"
video/x-youtube; mpv --ytdl-format=best '%s' --autofit=640x480; test=test -n "$DISPLAY"
video/*; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"

3
scripts/.config/Scripts/bemenui3

@ -1,3 +0,0 @@
#!/bin/bash
i3-msg "$(cat ~/.config/i3/config | sed -E 's/^bindsym\s*(\S*)\s*(\S.*$)/\1|\2/;t;d'|column -s'|' -t | bemenucolor -l 30 | cut -d' ' -f2- | xargs -0)"

12
scripts/.config/Scripts/configs.shortcuts

@ -1,12 +0,0 @@
cfa ~/.config/zsh/aliases
cfb ~/.bashrc
cfcf ~/.config/Scripts/configs.shortcuts
cfcv ~/Documents/mehalter.com/content.md
cff ~/.config/Scripts/folders.shortcuts
cfi ~/.config/i3/config
cfq ~/.config/qutebrowser/config.py
cfr ~/.config/ranger/rc.conf
cft ~/.tmux.conf
cfv ~/.config/nvim/init.vim
cfw ~/.config/bookmarks
cfz ~/.config/zsh/.zshrc

11
scripts/.config/configs

@ -0,0 +1,11 @@
cfa $XDG_CONFIG_HOME/zsh/aliases
cfcf $XDG_CONFIG_HOME/configs
cfcv $HOME/Documents/mehalter.com/content.md
cff $XDG_CONFIG_HOME/folders
cfi $XDG_CONFIG_HOME/i3/config
cfq $XDG_CONFIG_HOME/qutebrowser/config.py
cfr $XDG_CONFIG_HOME/ranger/rc.conf
cft $XDG_CONFIG_HOME/tmux/tmux.conf
cfv $XDG_CONFIG_HOME/nvim/init.vim
cfw $XDG_CONFIG_HOME/bookmarks
cfz $XDG_CONFIG_HOME/zsh/.zshrc

2
scripts/.config/Scripts/folders.shortcuts → scripts/.config/folders

@ -11,7 +11,7 @@ o /opt
p ~/Pictures
r /
s ~/Documents/School-Work
S ~/.config/Scripts
S ~/.local/bin
u /usr
v ~/Videos
ws ~/Documents/mehalter.com

3
scripts/.config/Scripts/MIMEmbellish → scripts/.local/bin/MIMEmbellish

@ -16,6 +16,7 @@ from email import encoders
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.mime.nonmultipart import MIMENonMultipart
from os import environ
from os.path import basename, splitext, expanduser
@ -38,7 +39,7 @@ def pandoc(from_format, to_format='markdown', plain='markdown', title=None):
if title is not None:
command += ' --variable=pagetitle:{}'.format(shlex.quote(title))
command += ' --webtex --template={}'.format(
expanduser('~/.config/mutt/template.html'))
expanduser(environ["XDG_CONFIG_HOME"]+'/mutt/template.html'))
return command.format(from_format, to_format)

0
scripts/.config/Scripts/autocomp → scripts/.local/bin/autocomp

0
scripts/.config/Scripts/bemenubluetooth → scripts/.local/bin/bemenubluetooth

0
scripts/.config/Scripts/bemenucolor → scripts/.local/bin/bemenucolor

0
scripts/.config/Scripts/bemenuexpand → scripts/.local/bin/bemenuexpand

3
scripts/.local/bin/bemenui3

@ -0,0 +1,3 @@
#!/bin/bash
i3-msg "$(cat $XDG_CONFIG_HOME/i3/config | sed -E 's/^bindsym\s*(\S*)\s*(\S.*$)/\1|\2/;t;d'|column -s'|' -t | bemenucolor -l 30 | cut -d' ' -f2- | xargs -0)"

2
scripts/.config/Scripts/bemenulatex → scripts/.local/bin/bemenulatex

@ -2,7 +2,7 @@
xclip -h >/dev/null || exit
chosen=$(grep -v "#" -h $XDG_CONFIG_HOME/Scripts/latexchars | bemenucolor -l 20)
chosen=$(grep -v "#" -h $XDG_DATA_HOME/latexchars | bemenucolor -l 20)
[ "$chosen" != "" ] || exit

0
scripts/.config/Scripts/bemenumount → scripts/.local/bin/bemenumount

0
scripts/.config/Scripts/bemenupass → scripts/.local/bin/bemenupass

0
scripts/.config/Scripts/bemenushutdown → scripts/.local/bin/bemenushutdown

0
scripts/.config/Scripts/bemenuumount → scripts/.local/bin/bemenuumount

0
scripts/.config/Scripts/bemenuunicode → scripts/.local/bin/bemenuunicode

0
scripts/.config/Scripts/bemenuwpg → scripts/.local/bin/bemenuwpg

0
scripts/.config/Scripts/compiler → scripts/.local/bin/compiler

0
scripts/.config/Scripts/criticalbattery → scripts/.local/bin/criticalbattery

0
scripts/.config/Scripts/displayctrl → scripts/.local/bin/displayctrl

0
scripts/.config/Scripts/displayselect → scripts/.local/bin/displayselect

2
scripts/.config/Scripts/dunstbar → scripts/.local/bin/dunstbar

@ -1,6 +1,6 @@
#!/bin/bash
scripts="$XDG_CONFIG_HOME/Scripts/statusbar"
scripts="$HOME/.local/bin/statusbar"
time=3000
script="$scripts/fullbar"

0
scripts/.config/Scripts/dunstcolor → scripts/.local/bin/dunstcolor

0
scripts/.config/Scripts/extract → scripts/.local/bin/extract

4
scripts/.config/Scripts/genshortcuts → scripts/.local/bin/genshortcuts

@ -1,8 +1,8 @@
#!/bin/bash
# Config locations
folders="$XDG_CONFIG_HOME/Scripts/folders.shortcuts"
configs="$XDG_CONFIG_HOME/Scripts/configs.shortcuts"
folders="$XDG_CONFIG_HOME/folders"
configs="$XDG_CONFIG_HOME/configs"
# Output locations
zsh_shortcuts="$XDG_CONFIG_HOME/zsh/shortcuts"

0
scripts/.config/Scripts/getbib → scripts/.local/bin/getbib

0
scripts/.config/Scripts/gohome → scripts/.local/bin/gohome

0
scripts/.config/Scripts/i3-camtoggle → scripts/.local/bin/i3-camtoggle

0
scripts/.config/Scripts/i3-cliprog → scripts/.local/bin/i3-cliprog

0
scripts/.config/Scripts/i3-maim → scripts/.local/bin/i3-maim

0
scripts/.config/Scripts/i3-powersaver → scripts/.local/bin/i3-powersaver

0
scripts/.config/Scripts/i3-resize → scripts/.local/bin/i3-resize

0
scripts/.config/Scripts/i3-runner → scripts/.local/bin/i3-runner

0
scripts/.config/Scripts/i3-workspaceswap → scripts/.local/bin/i3-workspaceswap

0
scripts/.config/Scripts/limitlog → scripts/.local/bin/limitlog

0
scripts/.config/Scripts/linkhandler → scripts/.local/bin/linkhandler

0
scripts/.config/Scripts/lmount → scripts/.local/bin/lmount

0
scripts/.config/Scripts/lock → scripts/.local/bin/lock

0
scripts/.config/Scripts/lofi → scripts/.local/bin/lofi

0
scripts/.config/Scripts/lumount → scripts/.local/bin/lumount

0
scripts/.config/Scripts/magnet2torrent → scripts/.local/bin/magnet2torrent

3
scripts/.local/bin/mailto

@ -0,0 +1,3 @@
#!/usr/bin/zsh
exec $TERMINAL -e "i3-runner neomutt \"$@\""

0
scripts/.config/Scripts/msmtpq → scripts/.local/bin/msmtpq

0
scripts/.config/Scripts/nowplaying → scripts/.local/bin/nowplaying

0
scripts/.config/Scripts/nvimdiff → scripts/.local/bin/nvimdiff

0
scripts/.config/Scripts/opout → scripts/.local/bin/opout

0
scripts/.config/Scripts/pins → scripts/.local/bin/pins

0
scripts/.config/Scripts/qutebrowser_reload → scripts/.local/bin/qutebrowser_reload

0
scripts/.config/Scripts/rangerpicker → scripts/.local/bin/rangerpicker

0
scripts/.config/Scripts/remaps → scripts/.local/bin/remaps

0
scripts/.config/Scripts/screencast → scripts/.local/bin/screencast

0
scripts/.config/Scripts/sendmail → scripts/.local/bin/sendmail

0
scripts/.config/Scripts/setbackground → scripts/.local/bin/setbackground

0
scripts/.config/Scripts/statusbar/battery → scripts/.local/bin/statusbar/battery

0
scripts/.config/Scripts/statusbar/clock → scripts/.local/bin/statusbar/clock

0
scripts/.config/Scripts/statusbar/date → scripts/.local/bin/statusbar/date

0
scripts/.config/Scripts/statusbar/ethernet → scripts/.local/bin/statusbar/ethernet

2
scripts/.config/Scripts/statusbar/fullbar → scripts/.local/bin/statusbar/fullbar

@ -1,6 +1,6 @@
#!/bin/bash
scripts="$XDG_CONFIG_HOME/Scripts/statusbar"
scripts="$HOME/.local/bin/statusbar"
echo "$({ $scripts/mail;
$scripts/volume;

0
scripts/.config/Scripts/statusbar/i3 → scripts/.local/bin/statusbar/i3

0
scripts/.config/Scripts/statusbar/layout → scripts/.local/bin/statusbar/layout

0
scripts/.config/Scripts/statusbar/mail → scripts/.local/bin/statusbar/mail

0
scripts/.config/Scripts/statusbar/music → scripts/.local/bin/statusbar/music

2
scripts/.config/Scripts/statusbar/network → scripts/.local/bin/statusbar/network

@ -1,5 +1,5 @@
#!/bin/bash
scripts="$XDG_CONFIG_HOME/Scripts/statusbar"
scripts="$HOME/.local/bin/statusbar"
echo "$({ $scripts/vpn; $scripts/wifi; $scripts/ethernet; } | tr '\n' ' ')"

0
scripts/.config/Scripts/statusbar/powersaver → scripts/.local/bin/statusbar/powersaver

0
scripts/.config/Scripts/statusbar/volume → scripts/.local/bin/statusbar/volume

0
scripts/.config/Scripts/statusbar/vpn → scripts/.local/bin/statusbar/vpn

0
scripts/.config/Scripts/statusbar/wifi → scripts/.local/bin/statusbar/wifi

0
scripts/.config/Scripts/statusbar/workspaces → scripts/.local/bin/statusbar/workspaces

0
scripts/.config/Scripts/stopwatch → scripts/.local/bin/stopwatch

0
scripts/.config/Scripts/sxiveh → scripts/.local/bin/sxiveh

0
scripts/.config/Scripts/tasks → scripts/.local/bin/tasks

0
scripts/.config/Scripts/texclear → scripts/.local/bin/texclear

0
scripts/.config/Scripts/tmpopen → scripts/.local/bin/tmpopen

0
scripts/.config/Scripts/tmuxiplex → scripts/.local/bin/tmuxiplex

0
scripts/.config/Scripts/toggleservice → scripts/.local/bin/toggleservice

0
scripts/.config/Scripts/toggletrackpad → scripts/.local/bin/toggletrackpad

0
scripts/.config/Scripts/transfer → scripts/.local/bin/transfer

0
scripts/.config/Scripts/ufetch → scripts/.local/bin/ufetch

0
scripts/.config/Scripts/vim-anywhere → scripts/.local/bin/vim-anywhere

0
scripts/.config/Scripts/vpnc-script → scripts/.local/bin/vpnc-script

0
scripts/.config/Scripts/wal-set → scripts/.local/bin/wal-set

0
scripts/.config/Scripts/zsh-completions/_pg → scripts/.local/bin/zsh-completions/_pg

0
scripts/.config/Scripts/zsh-completions/_td → scripts/.local/bin/zsh-completions/_td

0
scripts/.config/Scripts/latexchars → scripts/.local/share/latexchars

7
sxiv/.config/sxiv/exec/key-handler

@ -1,7 +1,6 @@
#!/bin/sh
while read file
do
dmenu="$HOME/.config/Scripts/dmenucolor"
fullpath="$(pwd)/$file"
case "$1" in
"w")
@ -13,12 +12,12 @@ do
notify-send "Wallpaper changed."
;;
"c")
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.config/Scripts/folders.shortcuts | awk '{print $2}' | $dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" $XDG_CONFIG_HOME/folders | awk '{print $2}' | bemenucolor -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && exit
cp "$file" "$destdir" && notify-send -i "$fullpath" "$file copied to $destdir." &
;;
"m")
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.config/Scripts/folders.shortcuts | awk '{print $2}' | $dmenu -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" $XDG_CONFIG_HOME/folders | awk '{print $2}' | bemenucolor -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && exit
cp "$file" "$destdir" && notify-send -i "$fullpath" "$file moved to $destdir." &
;;
@ -39,7 +38,7 @@ do
echo -n "$fullpath" | xclip -selection clipboard &&
notify-send "$fullpath copied to clipboard" & ;;
"d")
[ "$(printf "No\\nYes" | $dmenu -i -p "Delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
[ "$(printf "No\\nYes" | bemenucolor -i -p "Delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
"G")
gimp "$file" & ;;
esac

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save