[misc] move dunst into gui/install.sh
This commit is contained in:
parent
7358f7588e
commit
ec06dfd729
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
killall -q dunst
|
|
||||||
while pgrep -x dunst >/dev/null; do sleep 1; done
|
|
||||||
dunst &
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
DIR=$(dirname "$(readlink -f "$0")")
|
|
||||||
. "$DIR/../env.sh"
|
|
||||||
|
|
||||||
# install nvim
|
|
||||||
case "$PM" in
|
|
||||||
apt)
|
|
||||||
sudo apt install -y dunst
|
|
||||||
;;
|
|
||||||
pacman)
|
|
||||||
sudo pacman -S --needed dunst
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# symlink configuration
|
|
||||||
lnsf "$DIR/content/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc"
|
|
||||||
sudo cp -f "$DIR/content/dunstdaemon" "$PREFIX/bin"
|
|
||||||
sudo chmod +x "$PREFIX/bin/dunstdaemon"
|
|
|
@ -29,7 +29,7 @@
|
||||||
# the top and down respectively.
|
# the top and down respectively.
|
||||||
# The width can be negative. In this case the actual width is the
|
# The width can be negative. In this case the actual width is the
|
||||||
# screen width minus the width defined in within the geometry option.
|
# screen width minus the width defined in within the geometry option.
|
||||||
geometry = "400x5-30+50"
|
geometry = "400x20+30+50"
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of geometry).
|
# Show how many messages are currently hidden (because of geometry).
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
separator_height = 2
|
separator_height = 0
|
||||||
|
|
||||||
# Padding between text and separator.
|
# Padding between text and separator.
|
||||||
padding = 8
|
padding = 8
|
||||||
|
@ -61,10 +61,10 @@
|
||||||
|
|
||||||
# Defines width in pixels of frame around the notification window.
|
# Defines width in pixels of frame around the notification window.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
frame_width = 0
|
frame_width = 1
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
# Defines color of the frame around the notification window.
|
||||||
frame_color = "#aaaaaa"
|
frame_color = "#666666"
|
||||||
|
|
||||||
# Define a color for the separator.
|
# Define a color for the separator.
|
||||||
# possible values are:
|
# possible values are:
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = Hermit 9
|
font = sans 9
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
|
@ -211,6 +211,12 @@
|
||||||
# layout changes.
|
# layout changes.
|
||||||
force_xinerama = false
|
force_xinerama = false
|
||||||
|
|
||||||
|
mouse_left_click = do_action
|
||||||
|
mouse_middle_click = close_all
|
||||||
|
mouse_right_click = close_current
|
||||||
|
|
||||||
|
dmenu = /usr/local/bin/dmenu
|
||||||
|
|
||||||
# Experimental features that may or may not work correctly. Do not expect them
|
# Experimental features that may or may not work correctly. Do not expect them
|
||||||
# to have a consistent behaviour across releases.
|
# to have a consistent behaviour across releases.
|
||||||
[experimental]
|
[experimental]
|
|
@ -13,6 +13,7 @@ case "$PM" in
|
||||||
fonts-wqy-microhei \
|
fonts-wqy-microhei \
|
||||||
fonts-symbola \
|
fonts-symbola \
|
||||||
fonts-dejavu-core \
|
fonts-dejavu-core \
|
||||||
|
dunst \
|
||||||
gucharmap
|
gucharmap
|
||||||
# network manager
|
# network manager
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
|
@ -36,6 +37,7 @@ case "$PM" in
|
||||||
gsfonts \
|
gsfonts \
|
||||||
ttf-cascadia-code \
|
ttf-cascadia-code \
|
||||||
ttf-dejavu \
|
ttf-dejavu \
|
||||||
|
dunst \
|
||||||
gucharmap
|
gucharmap
|
||||||
# official wqy-microhei package doesn't fix the Korean Glyphs stacking bug
|
# official wqy-microhei package doesn't fix the Korean Glyphs stacking bug
|
||||||
# https://code.google.com/p/chromium/issues/detail?id=233851
|
# https://code.google.com/p/chromium/issues/detail?id=233851
|
||||||
|
@ -104,5 +106,6 @@ sudo systemctl start NetworkManager
|
||||||
sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
|
sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
|
||||||
sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
|
sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
|
||||||
sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
|
sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
|
||||||
sudo cp "$DIR/freetype2.sh" "/etc/profile.d/freetype2.sh"
|
sudo cp "$DIR/content/freetype2.sh" "/etc/profile.d/freetype2.sh"
|
||||||
sudo cp "$DIR/local.conf" "/etc/fonts/local.conf"
|
sudo cp "$DIR/content/local.conf" "/etc/fonts/local.conf"
|
||||||
|
lnsf "$DIR/content/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc"
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
# start compositor daemon
|
# start compositor daemon
|
||||||
picomdaemon
|
picomdaemon
|
||||||
|
|
||||||
# start desktop notification daemon
|
|
||||||
dunstdaemon
|
|
||||||
|
|
||||||
# start dwmbar daemon
|
# start dwmbar daemon
|
||||||
statusbar
|
statusbar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user