Browse Source

Moved scripts

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

+ 2
- 0
CHANGELOG.md View File

@ -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


+ 1
- 1
Makefile View File

@ -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


+ 2
- 2
dunst/.config/dunst/dunstrc View File

@ -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


+ 1
- 1
dunst/.config/systemd/user/dunst.service View File

@ -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

+ 1
- 1
etc/systemd/system/wakelock.service View File

@ -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

+ 1
- 1
i3blocks/.config/i3blocks/config View File

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


+ 1
- 1
mutt/.config/mutt/gatechrc View File

@ -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"


+ 1
- 1
mutt/.config/mutt/gmailrc View File

@ -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


+ 0
- 3
mutt/.config/mutt/mailto View File

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

+ 7
- 7
mutt/.config/mutt/muttrc View File

@ -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


+ 1
- 1
mutt/.local/share/applications/mutt.desktop View File

@ -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

+ 2
- 2
neovim/.config/nvim/init.vim View File

@ -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


+ 1
- 1
ranger/.config/ranger/pinrunner.sh View File

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

+ 4
- 4
ranger/.config/ranger/rc.conf View File

@ -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


+ 2
- 2
rtv/.mailcap View File

@ -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"


+ 0
- 3
scripts/.config/Scripts/bemenui3 View File

@ -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)"

+ 0
- 12
scripts/.config/Scripts/configs.shortcuts View File

@ -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
- 0
scripts/.config/configs View File

@ -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

scripts/.config/Scripts/folders.shortcuts → scripts/.config/folders View File

@ -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

scripts/.config/Scripts/MIMEmbellish → scripts/.local/bin/MIMEmbellish View File

@ -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)

scripts/.config/Scripts/autocomp → scripts/.local/bin/autocomp View File


scripts/.config/Scripts/bemenubluetooth → scripts/.local/bin/bemenubluetooth View File


scripts/.config/Scripts/bemenucolor → scripts/.local/bin/bemenucolor View File


scripts/.config/Scripts/bemenuexpand → scripts/.local/bin/bemenuexpand View File


+ 3
- 0
scripts/.local/bin/bemenui3 View File

@ -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)"

scripts/.config/Scripts/bemenulatex → scripts/.local/bin/bemenulatex View File

@ -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

scripts/.config/Scripts/bemenumount → scripts/.local/bin/bemenumount View File


scripts/.config/Scripts/bemenupass → scripts/.local/bin/bemenupass View File


scripts/.config/Scripts/bemenushutdown → scripts/.local/bin/bemenushutdown View File


scripts/.config/Scripts/bemenuumount → scripts/.local/bin/bemenuumount View File


scripts/.config/Scripts/bemenuunicode → scripts/.local/bin/bemenuunicode View File


scripts/.config/Scripts/bemenuwpg → scripts/.local/bin/bemenuwpg View File


scripts/.config/Scripts/compiler → scripts/.local/bin/compiler View File


scripts/.config/Scripts/criticalbattery → scripts/.local/bin/criticalbattery View File


scripts/.config/Scripts/displayctrl → scripts/.local/bin/displayctrl View File


scripts/.config/Scripts/displayselect → scripts/.local/bin/displayselect View File


scripts/.config/Scripts/dunstbar → scripts/.local/bin/dunstbar View File

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

scripts/.config/Scripts/dunstcolor → scripts/.local/bin/dunstcolor View File


scripts/.config/Scripts/extract → scripts/.local/bin/extract View File


scripts/.config/Scripts/genshortcuts → scripts/.local/bin/genshortcuts View File

@ -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"

scripts/.config/Scripts/getbib → scripts/.local/bin/getbib View File


scripts/.config/Scripts/gohome → scripts/.local/bin/gohome View File


scripts/.config/Scripts/i3-camtoggle → scripts/.local/bin/i3-camtoggle View File


scripts/.config/Scripts/i3-cliprog → scripts/.local/bin/i3-cliprog View File


scripts/.config/Scripts/i3-maim → scripts/.local/bin/i3-maim View File


scripts/.config/Scripts/i3-powersaver → scripts/.local/bin/i3-powersaver View File


scripts/.config/Scripts/i3-resize → scripts/.local/bin/i3-resize View File


scripts/.config/Scripts/i3-runner → scripts/.local/bin/i3-runner View File


scripts/.config/Scripts/i3-workspaceswap → scripts/.local/bin/i3-workspaceswap View File


scripts/.config/Scripts/limitlog → scripts/.local/bin/limitlog View File


scripts/.config/Scripts/linkhandler → scripts/.local/bin/linkhandler View File


scripts/.config/Scripts/lmount → scripts/.local/bin/lmount View File


scripts/.config/Scripts/lock → scripts/.local/bin/lock View File


scripts/.config/Scripts/lofi → scripts/.local/bin/lofi View File


scripts/.config/Scripts/lumount → scripts/.local/bin/lumount View File


scripts/.config/Scripts/magnet2torrent → scripts/.local/bin/magnet2torrent View File


+ 3
- 0
scripts/.local/bin/mailto View File

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

scripts/.config/Scripts/msmtpq → scripts/.local/bin/msmtpq View File


scripts/.config/Scripts/nowplaying → scripts/.local/bin/nowplaying View File


scripts/.config/Scripts/nvimdiff → scripts/.local/bin/nvimdiff View File


scripts/.config/Scripts/opout → scripts/.local/bin/opout View File


scripts/.config/Scripts/pins → scripts/.local/bin/pins View File


scripts/.config/Scripts/qutebrowser_reload → scripts/.local/bin/qutebrowser_reload View File


scripts/.config/Scripts/rangerpicker → scripts/.local/bin/rangerpicker View File


scripts/.config/Scripts/remaps → scripts/.local/bin/remaps View File


scripts/.config/Scripts/screencast → scripts/.local/bin/screencast View File


scripts/.config/Scripts/sendmail → scripts/.local/bin/sendmail View File


scripts/.config/Scripts/setbackground → scripts/.local/bin/setbackground View File


scripts/.config/Scripts/statusbar/battery → scripts/.local/bin/statusbar/battery View File


scripts/.config/Scripts/statusbar/clock → scripts/.local/bin/statusbar/clock View File


scripts/.config/Scripts/statusbar/date → scripts/.local/bin/statusbar/date View File


scripts/.config/Scripts/statusbar/ethernet → scripts/.local/bin/statusbar/ethernet View File


scripts/.config/Scripts/statusbar/fullbar → scripts/.local/bin/statusbar/fullbar View File

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

scripts/.config/Scripts/statusbar/i3 → scripts/.local/bin/statusbar/i3 View File


scripts/.config/Scripts/statusbar/layout → scripts/.local/bin/statusbar/layout View File


scripts/.config/Scripts/statusbar/mail → scripts/.local/bin/statusbar/mail View File


scripts/.config/Scripts/statusbar/music → scripts/.local/bin/statusbar/music View File


scripts/.config/Scripts/statusbar/network → scripts/.local/bin/statusbar/network View File

@ -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' ' ')"

scripts/.config/Scripts/statusbar/powersaver → scripts/.local/bin/statusbar/powersaver View File


scripts/.config/Scripts/statusbar/volume → scripts/.local/bin/statusbar/volume View File


scripts/.config/Scripts/statusbar/vpn → scripts/.local/bin/statusbar/vpn View File


scripts/.config/Scripts/statusbar/wifi → scripts/.local/bin/statusbar/wifi View File


scripts/.config/Scripts/statusbar/workspaces → scripts/.local/bin/statusbar/workspaces View File


scripts/.config/Scripts/stopwatch → scripts/.local/bin/stopwatch View File


scripts/.config/Scripts/sxiveh → scripts/.local/bin/sxiveh View File


scripts/.config/Scripts/tasks → scripts/.local/bin/tasks View File


scripts/.config/Scripts/texclear → scripts/.local/bin/texclear View File


scripts/.config/Scripts/tmpopen → scripts/.local/bin/tmpopen View File


scripts/.config/Scripts/tmuxiplex → scripts/.local/bin/tmuxiplex View File


scripts/.config/Scripts/toggleservice → scripts/.local/bin/toggleservice View File


scripts/.config/Scripts/toggletrackpad → scripts/.local/bin/toggletrackpad View File


scripts/.config/Scripts/transfer → scripts/.local/bin/transfer View File


scripts/.config/Scripts/ufetch → scripts/.local/bin/ufetch View File


scripts/.config/Scripts/vim-anywhere → scripts/.local/bin/vim-anywhere View File


scripts/.config/Scripts/vpnc-script → scripts/.local/bin/vpnc-script View File


scripts/.config/Scripts/wal-set → scripts/.local/bin/wal-set View File


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


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


scripts/.config/Scripts/latexchars → scripts/.local/share/latexchars View File


+ 3
- 4
sxiv/.config/sxiv/exec/key-handler View File

@ -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