notification settings stuffs

This commit is contained in:
Rick van Lieshout 2017-12-06 19:10:41 +01:00
parent 77b96c3749
commit fb90e90e07
4 changed files with 38 additions and 3 deletions

2
dependencies/aur.txt vendored Normal file
View File

@ -0,0 +1,2 @@
notify-osd-customizable
notifyconf

View File

@ -17,3 +17,4 @@ xorg-xrandr
networkmanager networkmanager
notify-osd notify-osd
eog eog
yaourt

View File

@ -28,12 +28,14 @@ function install_rice {
# install other configs # install other configs
function install_config { function install_config {
rm ~/.notify-osd && mv notify-osd/notify-osd ~/.notify-osd
rsync -av ./config ~/.config rsync -av ./config ~/.config
} }
# Installs the dependencies on Arch Linux # Installs the dependencies on Arch Linux
function install_dependencies { function install_dependencies {
sudo pacman -S $(cat dependencies.txt | sed ':a;N;$!ba;s/\n/ /g') sudo pacman -S $(cat dependencies/pacman.txt | sed ':a;N;$!ba;s/\n/ /g')
yaourt -S --noconfirm $(cat dependencies/aur.txt | sed ':a;N;$!ba;s/\n/ /g')
} }
# list the dependencies file # list the dependencies file
@ -41,7 +43,8 @@ function list_dependencies {
echo "" echo ""
echo "==========================" echo "=========================="
echo "" echo ""
cat dependencies.txt cat dependencies/pacman.txt
cat dependencies/aur.txt
echo "" echo ""
echo "==========================" echo "=========================="
echo "" echo ""
@ -60,9 +63,14 @@ function intro {
# Run the intro function # Run the intro function
intro intro
yes_or_no "Do you want to continue?" &&
# Ask for dependency installation # Ask for dependency installation
list_dependencies list_dependencies
yes_or_no "Do you want to install the list of applications above?" && install_dependencies yes_or_no "Do you want to install the list of applications above? (might prompt for password)" && install_dependencies
# Ask for config installation
yes_or_no "Do you want to install the config files?" && install_config
# Ask for font installation # Ask for font installation
yes_or_no "Do you want to install the fonts?" && install_fonts yes_or_no "Do you want to install the fonts?" && install_fonts

24
notify-osd/notify-osd Normal file
View File

@ -0,0 +1,24 @@
slot-allocation = dynamic
bubble-expire-timeout = 5sec
bubble-vertical-gap = 25px
bubble-horizontal-gap = 9px
bubble-corner-radius = 45px
bubble-icon-size = 30px
bubble-gauge-size = 6px
bubble-width = 240px
bubble-background-color = 131313
bubble-background-opacity = 80%
text-margin-size = 10px
text-title-size = 100%
text-title-weight = bold
text-title-color = ffffff
text-title-opacity = 100%
text-body-size = 90%
text-body-weight = normal
text-body-color = eaeaea
text-body-opacity = 100%
text-shadow-opacity = 100%
location = 1
bubble-prevent-fade = 0
bubble-close-on-click = 1
bubble-as-desktop-bg = 0