mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-05-11 17:35:57 +08:00
updated scripts, added configs, new screenshot
Former-commit-id: 80e5a611d9
Former-commit-id: d6d963dd470140b7a955399ff22fec885ddace30
This commit is contained in:
parent
b633e81511
commit
e43cf1ccde
437 changed files with 46670 additions and 22 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Requires wal or pywal (github)
|
||||
|
||||
# Run like this
|
||||
# wally /path/to/wallpaper/or/directory
|
||||
|
|
@ -13,6 +14,7 @@ if [ $# == 0 ]; then
|
|||
exit 0;
|
||||
fi
|
||||
|
||||
# Declare arrays
|
||||
declare -a color
|
||||
declare -a XCOLOR_OLD
|
||||
declare -a XCOLOR_NEW
|
||||
|
|
@ -48,7 +50,8 @@ for (( i = 0; i < 8; i++ )); do
|
|||
done
|
||||
|
||||
# Restart tint2 to reload config file
|
||||
# The grep is to supress tint2 output (doesn't work very well though)
|
||||
# The grep is to supress tint2 output
|
||||
# (doesn't work very well because tint2 is run in the background and can bypass this)
|
||||
tint2restart | grep shutup! &
|
||||
echo "> tint2 has restarted!"
|
||||
|
||||
|
|
@ -57,13 +60,6 @@ echo "> tint2 has restarted!"
|
|||
openbox --reconfigure
|
||||
echo "> Openbox is reconfigured!"
|
||||
|
||||
# Customize login screen: REQUIRES SUDO :(
|
||||
# (needs to happen after oomox has generated a gtk theme with the name wally)
|
||||
#
|
||||
# echo "> Attempting to change login theme (you will be prompted for a password)"
|
||||
# gksu cp -r ~/.themes/oomox-wally /usr/share/themes/wally
|
||||
# gksu lightdm-gtk-greeter-settings
|
||||
|
||||
# Copy new wallpaper path to wally's directory
|
||||
cp ~/.cache/wal/wal ~/.wally/path_to_wallpaper
|
||||
WALLPAPER="$(cat ~/.wally/path_to_wallpaper)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue