diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | config/dunst/dunstrc | 27 | ||||
-rw-r--r-- | config/shell/aliasrc | 4 | ||||
-rwxr-xr-x | dep.sh | 74 | ||||
-rwxr-xr-x | scripts/nsend | 2 |
5 files changed, 71 insertions, 37 deletions
@@ -42,6 +42,7 @@ config: $(CONFDIR) mkdir -p $(CONFDIR)/sites touch $(ZCACHE) $(COPY) config/bash/bashrc $(BASHRC) + $(COPY) config/dunst $(CONFDIR) $(COPY) config/lf $(CONFDIR) $(COPY) config/mimeapps.list $(CONFDIR) $(COPY) config/mpv $(CONFDIR) diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc new file mode 100644 index 0000000..81dba80 --- /dev/null +++ b/config/dunst/dunstrc @@ -0,0 +1,27 @@ +[global] +font = "Liberation Mono 12" +frame_width = 1 +gap_size = 8 +gaps = true +offset = 12 +origin = bottom-right +padding = 12 +separator_color = "auto" + +[urgency_low] +frame_color = "#434C5E" # Polar Night (dim) +foreground = "#D8DEE9" # Frost white (soft text) +background = "#2E3440" # Polar Night (dark bg) +timeout = 5 + +[urgency_normal] +frame_color = "#81A1C1" # Frost Blue (accent) +foreground = "#E5E9F0" # Arctic White (text) +background = "#3B4252" # Polar Night (slightly lighter bg) +timeout = 10 + +[urgency_critical] +frame_color = "#BF616A" # Aurora Red (error) +foreground = "#ECEFF4" # Bright Frost (text) +background = "#3B4252" +timeout = 0 diff --git a/config/shell/aliasrc b/config/shell/aliasrc index 41a2395..2de3313 100644 --- a/config/shell/aliasrc +++ b/config/shell/aliasrc @@ -5,6 +5,10 @@ [ -x "$(command -v nvim)" ] && alias vi="nvim" [ -x "$(command -v neomutt)" ] && alias mutt="neomutt" +if [ -x "$(command -v nsxiv)" ] && ! [ -x "$(command -v sxiv)" ]; then + alias sxiv="nsxiv" +fi + # TODO: Deal with the flags that are not supported on BSD # Older versions of ip doesn't support -color flg, so don't use it alias \ @@ -31,45 +31,47 @@ retval=0 # Optional Dependencies, skip QEMU and lualatex check [ "${1}" = "--optional" ] && check \ - cmus \ - latex,pdflatex:"Latex is missing" \ - neomutt,mutt \ - pamus \ - pandoc \ - shellcheck \ - trans:"Translate shell is missing" \ - abook \ - acpi \ - cmus \ - dash \ - docker \ - ffmpeg \ - less \ - pass \ - python3 \ - rsync \ - sudo \ - tldr:"A tldr implementation is missing" \ - unclutter:"unclutter-xfixes is missing" \ - yt-dlp + cmus \ + latex,pdflatex:"latex is missing" \ + neomutt,mutt \ + pamus \ + pandoc \ + shellcheck \ + ssh \ + trans:"translate shell is missing" \ + abook \ + acpi \ + cmus \ + dash \ + docker \ + ffmpeg \ + less \ + pass \ + python3 \ + rsync \ + sudo \ + tldr:"a tldr implementation is missing" \ + unclutter:"unclutter-xfixes is missing" \ + yt-dlp # Programs check \ - Xorg \ - dunst \ - fzf \ - git \ - lf \ - mpv \ - nsxiv,sxiv \ - nvim,vim \ - picom \ - qutebrowser \ - scrot \ - setxkbmap \ - startx:"xorg-xinit is missing" \ - xclip \ - zathura \ + Xorg \ + dunst \ + fzf \ + git \ + lf \ + mpv \ + notify-send:"libnotify is missing" \ + nsxiv,sxiv \ + nvim,vim \ + picom \ + qutebrowser \ + scrot \ + setxkbmap \ + startx:"xorg-xinit is missing" \ + xclip \ + zathura \ zsh,bash # Script dependencies diff --git a/scripts/nsend b/scripts/nsend index ae5a382..80e1764 100755 --- a/scripts/nsend +++ b/scripts/nsend @@ -14,7 +14,7 @@ EOF exit 0 } -check_program "notify-send" "dunst must be installed" +check_program "notify-send" "libnotify must be installed" case "${1}" in "-s") |