From 59a9c7e82a140da5a4713632164e25c7c0cad46e Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 26 Jun 2025 21:45:51 +0400 Subject: feat(dunst): new config added --- Makefile | 1 + config/dunst/dunstrc | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 config/dunst/dunstrc diff --git a/Makefile b/Makefile index a94e08b..78396b3 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3 From dc664c589e48b0587de749709ff5b5b3e207c377 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 26 Jun 2025 21:49:39 +0400 Subject: feat(dep.sh): add ssh to optional dependencies --- dep.sh | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/dep.sh b/dep.sh index b862f06..d659a77 100755 --- a/dep.sh +++ b/dep.sh @@ -31,27 +31,28 @@ 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 \ -- cgit v1.2.3 From bae49ac742736d0f49a9ff645055c62a6b0ff5fb Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 26 Jun 2025 21:53:12 +0400 Subject: feat(dep.sh): add libnotify to dependencies - decapitalize output message of missing packages --- dep.sh | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/dep.sh b/dep.sh index d659a77..0e65741 100755 --- a/dep.sh +++ b/dep.sh @@ -32,13 +32,13 @@ retval=0 # Optional Dependencies, skip QEMU and lualatex check [ "${1}" = "--optional" ] && check \ cmus \ - latex,pdflatex:"Latex is missing" \ + latex,pdflatex:"latex is missing" \ neomutt,mutt \ pamus \ pandoc \ shellcheck \ ssh \ - trans:"Translate shell is missing" \ + trans:"translate shell is missing" \ abook \ acpi \ cmus \ @@ -50,27 +50,28 @@ retval=0 python3 \ rsync \ sudo \ - tldr:"A tldr implementation is missing" \ + 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 -- cgit v1.2.3 From 5954b4938ff0b019e88ed5e44db90196aee8fbf0 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 26 Jun 2025 21:55:59 +0400 Subject: fix: correct program check message to require libnotify instead of dunst --- scripts/nsend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3 From 7fdbedfce3faaa0b27eeb179f240ee8f901c1f97 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 26 Jun 2025 21:59:19 +0400 Subject: feat(aliasrc): alias sxiv to nsxiv if sxiv is not installed --- config/shell/aliasrc | 4 ++++ 1 file changed, 4 insertions(+) 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 \ -- cgit v1.2.3