makedeb


chadwm-git 1b5198262022.04.14-5


making dwm as beautiful as possible

Click here to go back to the commit logs for chadwm-git.

Commit:


Hash: 42fcaf4cfe61e4552e2c4c122bc6795536be4c47

Message: added new bars and config.rasi for rofi

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 450ff8e..b40e5ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
 
 pkgbase = chadwm-git
 	pkgdesc = making dwm as beautiful as possible
-	pkgver = 962021.08.29
+	pkgver = 1002021.09.06
 	pkgrel = 2
 	url = https://github.com/siduck76/chadwm
 	arch = any
@@ -18,6 +18,7 @@ pkgbase = chadwm-git
 	makedepends = libimlib2-dev
 	depends = maim
 	depends = stterm
+	depends = xbacklight
 	optdepends = fish: fish keybindings
 	optdepends = fzf-extras: fzf keybindings from junegunn wiki and dotfiles
 	optdepends = tmux: fzf-tmux script for launching fzf in a tmux pane
diff --git a/PKGBUILD b/PKGBUILD
index 0e577d8..4392f71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=chadwm-git
 _pkgname=chadwm
-pkgver=962021.08.29
+pkgver=1002021.09.06
 pkgrel=2
 pkgdesc="making dwm as beautiful as possible"
 arch=('any')
-depends=('maim' 'stterm')
+depends=('maim' 'stterm' 'xbacklight')
 makedepends=('make' 'gcc' 'libx11-dev' 'libxft-dev' 'libxinerama-dev' 'xorg' 'nerd-fonts-jetbrains-mono' 'fonts-material-design-icons-iconfont' 'libimlib2-dev')
 optdepends=('fish: fish keybindings'
             'fzf-extras: fzf keybindings from junegunn wiki and dotfiles'
@@ -33,11 +33,13 @@ package() {
   make DESTDIR="${pkgdir}" install
   install -d "${pkgdir}/$HOME/.dwm"
   #install -Dm755 "${srcdir}/${_pkgname}/.dwm/"* "${pkgdir}/$HOME/.dwm"
-  cp -r "${srcdir}/${_pkgname}/.dwm/bars" "${pkgdir}/$HOME/.dwm"
-  cp -r "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/$HOME/.dwm"
-  cp -r "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/$HOME/.dwm"
+  mkdir -p "${pkgdir}/$HOME/.dwm/bars"
+  install -Dm755 "${srcdir}/${_pkgname}/.dwm/bars/"*.sh "${pkgdir}/$HOME/.dwm/bars/"
+  install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/$HOME/.dwm"
+  install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/$HOME/.dwm"
   install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/usr/local/bin/dwm-autostart"
   install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/usr/local/bin/layoutmenu.sh"
+  install -Dm755 "${srcdir}/${_pkgname}/rofi/config.rasi" "${pkgdir}/$HOME/.config/rofi/config.rasi"
   install -d "${pkgdir}/usr/share/xsessions"
   touch "${pkgdir}/usr/share/xsessions/dwm.desktop"
   echo -e "[Desktop Entry]\nName=dwm\nComment=suckless build of dwm by siduck76\nExec=/usr/local/bin/dwm-autostart\nType=Application" > "${pkgdir}/usr/share/xsessions/dwm.desktop"