Browse Source

Align more wth xdg base directories

master
Micah Halter 11 months ago
parent
commit
f22907fa5e
14 changed files with 17 additions and 16 deletions
  1. +1
    -1
      scripts/.config/Scripts/bemenulatex
  2. +1
    -1
      scripts/.config/Scripts/bemenuunicode
  3. +1
    -1
      scripts/.config/Scripts/displayselect
  4. +1
    -1
      scripts/.config/Scripts/dunstbar
  5. +1
    -1
      scripts/.config/Scripts/dunstcolor
  6. +1
    -1
      scripts/.config/Scripts/lock
  7. +1
    -1
      scripts/.config/Scripts/nowplaying
  8. +3
    -3
      scripts/.config/Scripts/setbackground
  9. +1
    -1
      scripts/.config/Scripts/statusbar/fullbar
  10. +3
    -2
      scripts/.config/Scripts/statusbar/mail
  11. +2
    -2
      scripts/.config/Scripts/statusbar/music
  12. +1
    -1
      scripts/.config/Scripts/statusbar/network
  13. +0
    -0
      scripts/.local/share/emoji
  14. +0
    -0
      scripts/.local/share/unicode

+ 1
- 1
scripts/.config/Scripts/bemenulatex View File

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


+ 1
- 1
scripts/.config/Scripts/bemenuunicode View File

@ -2,7 +2,7 @@
xclip -h >/dev/null || exit
chosen=$(grep -v "#" -h $HOME/.config/Scripts/emoji $HOME/.config/Scripts/unicode | bemenucolor -i -l 20)
chosen=$(grep -v "#" -h $XDG_DATA_HOME/emoji $XDG_DATA_HOME/unicode | bemenucolor -i -l 20)
[ "$chosen" != "" ] || exit


+ 1
- 1
scripts/.config/Scripts/displayselect View File

@ -5,7 +5,7 @@
# User may also select "manual selection" which opens arandr.
# I plan on adding a routine from multi-monitor setups later.
layoutloc=$HOME/.screenlayout
layoutloc=$XDG_CONFIG_HOME/screenlayout
twoscreen() { # If multi-monitor is selected and there are two screens.


+ 1
- 1
scripts/.config/Scripts/dunstbar View File

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


+ 1
- 1
scripts/.config/Scripts/dunstcolor View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
. "$HOME/.cache/wal/colors.sh"
. "$XDG_CACHE_HOME/wal/colors.sh"
dunst \
-lb "${background:-#FFFFFF}" \


+ 1
- 1
scripts/.config/Scripts/lock View File

@ -6,7 +6,7 @@ if [ $? -eq 0 ]; then
fi
lock() {
. $HOME/.cache/wal/colors.sh
. $XDG_CACHE_HOME/wal/colors.sh
killall -SIGUSR1 dunst


+ 1
- 1
scripts/.config/Scripts/nowplaying View File

@ -1,7 +1,7 @@
#!/bin/bash
# SETTINGS
NOW_PLAYING_PIPE="$HOME/.cache/nowplaying"
NOW_PLAYING_PIPE="$XDG_CACHE_HOME/nowplaying"
title=""


+ 3
- 3
scripts/.config/Scripts/setbackground View File

@ -5,11 +5,11 @@ base="${file##*/}"
if [ ! -z "$2" ]; then
wpg -a "$1"
file="$HOME/.config/wpg/wallpapers/${base//\ /_}"
file="$XDG_CONFIG_HOME/wpg/wallpapers/${base//\ /_}"
fi
[ ! -z "$file" ] && cp "$file" ~/.config/wall && notify-send "Wallpaper changed"
[ ! -z "$file" ] && cp "$file" $XDG_CONFIG_HOME/wall && notify-send "Wallpaper changed"
xwallpaper --zoom "$HOME/.config/wall"
xwallpaper --zoom "$XDG_CONFIG_HOME/wall"
[ ! -z "$2" ] && wpg -s "${base//\ /_}"

+ 1
- 1
scripts/.config/Scripts/statusbar/fullbar View File

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


+ 3
- 2
scripts/.config/Scripts/statusbar/mail View File

@ -1,7 +1,8 @@
#!/bin/bash
if [[ -d $HOME/.Mail ]]; then
out=$(find $HOME/.Mail/Gatech/INBOX/new $HOME/.Mail/Gmail/INBOX/new -type f|wc -l)
MAILHOME="$XDG_DATA_HOME/Mail"
if [[ -d $MAILHOME ]]; then
out=$(find $MAILHOME/Gatech/INBOX/new $MAILHOME/Gmail/INBOX/new -type f|wc -l)
if [ -f /tmp/mailsync ]; then
echo " $(cat /tmp/mailsync)"


+ 2
- 2
scripts/.config/Scripts/statusbar/music View File

@ -1,5 +1,5 @@
#!/bin/bash
if [[ -f $HOME/.cache/nowplaying ]]; then
echo " $(cat $HOME/.cache/nowplaying)"
if [[ -f $XDG_CACHE_HOME/nowplaying ]]; then
echo " $(cat $XDG_CACHE_HOME/nowplaying)"
fi

+ 1
- 1
scripts/.config/Scripts/statusbar/network View File

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

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


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


Loading…
Cancel
Save