Added some things, fixed some things, upgrading to 0.1.6
This commit is contained in:
parent
d01578712f
commit
721c1aa758
32 changed files with 234 additions and 29 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Tibo De Peuter <tibo.depeuter@gmail.com>
|
||||
pkgbase=tdpeuter
|
||||
pkgname=(tdpeuter-base tdpeuter-dev tdpeuter-desktop)
|
||||
pkgver=0.1.5
|
||||
pkgver=0.1.6
|
||||
pkgrel=1
|
||||
pkgdesc="Sysconfig for my systems"
|
||||
arch=(any)
|
||||
|
@ -90,14 +90,16 @@ package_tdpeuter-desktop() {
|
|||
|
||||
# Fonts
|
||||
depends+=(
|
||||
awesome-terminal-fonts
|
||||
noto-fonts noto-fonts-cjk noto-fonts-emoji
|
||||
otf-font-awesome
|
||||
)
|
||||
|
||||
# Tools
|
||||
depends+=(
|
||||
duf
|
||||
neofetch
|
||||
vifm
|
||||
wget
|
||||
zathura zathura-pdf-mupdf
|
||||
zellij
|
||||
)
|
||||
|
|
|
@ -29,13 +29,20 @@ pre_remove() {
|
|||
install_apps() {
|
||||
rm /var/lib/pacman/db.lck
|
||||
|
||||
pkgs=" betterbird-bin google-chrome hamsket-bin zenith "
|
||||
pkgs+=" rstudio-desktop-bin sway-git swaylock-effects-git spotify "
|
||||
# Desktop
|
||||
pkgs=" sway-git swaylock-effects-git "
|
||||
|
||||
# Socials & entertainment
|
||||
pkgs+=" betterbird-bin hamsket-bin jellyfin-media-player spotify "
|
||||
pkgs+=" zoom "
|
||||
|
||||
# Coding
|
||||
pkgs+=" intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre "
|
||||
pkgs+=" jetbrains-fleet pycharm-professional rstudio-desktop-bin "
|
||||
pkgs+=" visual-studio-code-bin "
|
||||
|
||||
# Jetbrains
|
||||
pkgs+=" intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre "
|
||||
pkgs+=" pycharm-professional jetbrains-fleet "
|
||||
# Tools
|
||||
pkgs+=" google-chrome zenith "
|
||||
|
||||
# Skip these
|
||||
options="--sudoflags -A --answerclean None --answerdiff None "
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
format = 2
|
||||
pkgname = tdpeuter-base
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgarch = any
|
||||
pkgbuild_sha256sum = 4eb1d3f0d65b95f381b49d64b21931587117b6260668f313d93ea2b629da4a3e
|
||||
pkgbuild_sha256sum = ee8683179f60c20e680fe804ef258257c27af94e35b47554dc3a252379cdd10a
|
||||
packager = Unknown Packager
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
builddir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
startdir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
buildtool = makepkg
|
||||
|
@ -347,6 +347,7 @@ installed = hwloc-2.8.0-1-x86_64
|
|||
installed = iana-etc-20221025-1-any
|
||||
installed = icu-72.1-1-x86_64
|
||||
installed = imath-3.1.5-3-x86_64
|
||||
installed = imlib2-1.9.1-2-x86_64
|
||||
installed = intellij-idea-ultimate-edition-2022.2.3-1-x86_64
|
||||
installed = intellij-idea-ultimate-edition-jre-2022.2.3-1-x86_64
|
||||
installed = iproute2-6.0.0-1-x86_64
|
||||
|
@ -400,6 +401,7 @@ installed = libelf-0.187-2-x86_64
|
|||
installed = libepoxy-1.5.10-1-x86_64
|
||||
installed = libevdev-1.13.0-1-x86_64
|
||||
installed = libevent-2.1.12-2-x86_64
|
||||
installed = libexif-0.6.24-1-x86_64
|
||||
installed = libffi-3.4.3-1-x86_64
|
||||
installed = libfontenc-1.1.6-1-x86_64
|
||||
installed = libgcrypt-1.10.1-1-x86_64
|
||||
|
@ -674,6 +676,7 @@ installed = sway-git-debug-r6980.8aa89dc2-1-x86_64
|
|||
installed = swaybg-git-r123.deed2ed-1-x86_64
|
||||
installed = swayidle-1.7.1-3-x86_64
|
||||
installed = swaylock-effects-git-r403.4b54b85-1-x86_64
|
||||
installed = sxiv-26-1-x86_64
|
||||
installed = sysfsutils-2.1.1-1-x86_64
|
||||
installed = systemd-251.7-1-x86_64
|
||||
installed = systemd-libs-251.7-1-x86_64
|
||||
|
|
Binary file not shown.
|
@ -2,10 +2,10 @@
|
|||
# using fakeroot version 1.29
|
||||
pkgname = tdpeuter-base
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgdesc = Sysconfig for my systems
|
||||
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
packager = Unknown Packager
|
||||
size = 0
|
||||
arch = any
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
format = 2
|
||||
pkgname = tdpeuter-desktop
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgarch = any
|
||||
pkgbuild_sha256sum = 4eb1d3f0d65b95f381b49d64b21931587117b6260668f313d93ea2b629da4a3e
|
||||
pkgbuild_sha256sum = ee8683179f60c20e680fe804ef258257c27af94e35b47554dc3a252379cdd10a
|
||||
packager = Unknown Packager
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
builddir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
startdir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
buildtool = makepkg
|
||||
|
@ -347,6 +347,7 @@ installed = hwloc-2.8.0-1-x86_64
|
|||
installed = iana-etc-20221025-1-any
|
||||
installed = icu-72.1-1-x86_64
|
||||
installed = imath-3.1.5-3-x86_64
|
||||
installed = imlib2-1.9.1-2-x86_64
|
||||
installed = intellij-idea-ultimate-edition-2022.2.3-1-x86_64
|
||||
installed = intellij-idea-ultimate-edition-jre-2022.2.3-1-x86_64
|
||||
installed = iproute2-6.0.0-1-x86_64
|
||||
|
@ -400,6 +401,7 @@ installed = libelf-0.187-2-x86_64
|
|||
installed = libepoxy-1.5.10-1-x86_64
|
||||
installed = libevdev-1.13.0-1-x86_64
|
||||
installed = libevent-2.1.12-2-x86_64
|
||||
installed = libexif-0.6.24-1-x86_64
|
||||
installed = libffi-3.4.3-1-x86_64
|
||||
installed = libfontenc-1.1.6-1-x86_64
|
||||
installed = libgcrypt-1.10.1-1-x86_64
|
||||
|
@ -674,6 +676,7 @@ installed = sway-git-debug-r6980.8aa89dc2-1-x86_64
|
|||
installed = swaybg-git-r123.deed2ed-1-x86_64
|
||||
installed = swayidle-1.7.1-3-x86_64
|
||||
installed = swaylock-effects-git-r403.4b54b85-1-x86_64
|
||||
installed = sxiv-26-1-x86_64
|
||||
installed = sysfsutils-2.1.1-1-x86_64
|
||||
installed = systemd-251.7-1-x86_64
|
||||
installed = systemd-libs-251.7-1-x86_64
|
||||
|
|
|
@ -29,13 +29,20 @@ pre_remove() {
|
|||
install_apps() {
|
||||
rm /var/lib/pacman/db.lck
|
||||
|
||||
pkgs=" betterbird-bin google-chrome hamsket-bin zenith "
|
||||
pkgs+=" rstudio-desktop-bin sway-git swaylock-effects-git spotify "
|
||||
# Desktop
|
||||
pkgs=" sway-git swaylock-effects-git "
|
||||
|
||||
# Socials & entertainment
|
||||
pkgs+=" betterbird-bin hamsket-bin jellyfin-media-player spotify "
|
||||
pkgs+=" zoom "
|
||||
|
||||
# Coding
|
||||
pkgs+=" intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre "
|
||||
pkgs+=" jetbrains-fleet pycharm-professional rstudio-desktop-bin "
|
||||
pkgs+=" visual-studio-code-bin "
|
||||
|
||||
# Jetbrains
|
||||
pkgs+=" intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre "
|
||||
pkgs+=" pycharm-professional jetbrains-fleet "
|
||||
# Tools
|
||||
pkgs+=" google-chrome zenith "
|
||||
|
||||
# Skip these
|
||||
options="--sudoflags -A --answerclean None --answerdiff None "
|
||||
|
|
Binary file not shown.
|
@ -2,10 +2,10 @@
|
|||
# using fakeroot version 1.29
|
||||
pkgname = tdpeuter-desktop
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgdesc = Sysconfig for my systems
|
||||
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
packager = Unknown Packager
|
||||
size = 0
|
||||
arch = any
|
||||
|
@ -28,12 +28,14 @@ depend = firefox
|
|||
depend = qutebrowser
|
||||
depend = nextcloud-client
|
||||
depend = obsidian
|
||||
depend = awesome-terminal-fonts
|
||||
depend = noto-fonts
|
||||
depend = noto-fonts-cjk
|
||||
depend = noto-fonts-emoji
|
||||
depend = otf-font-awesome
|
||||
depend = duf
|
||||
depend = neofetch
|
||||
depend = vifm
|
||||
depend = wget
|
||||
depend = zathura
|
||||
depend = zathura-pdf-mupdf
|
||||
depend = zellij
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
format = 2
|
||||
pkgname = tdpeuter-dev
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgarch = any
|
||||
pkgbuild_sha256sum = 4eb1d3f0d65b95f381b49d64b21931587117b6260668f313d93ea2b629da4a3e
|
||||
pkgbuild_sha256sum = ee8683179f60c20e680fe804ef258257c27af94e35b47554dc3a252379cdd10a
|
||||
packager = Unknown Packager
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
builddir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
startdir = /home/tdpeuter/projects/arch-pkgs/pkg/tdpeuter
|
||||
buildtool = makepkg
|
||||
|
@ -347,6 +347,7 @@ installed = hwloc-2.8.0-1-x86_64
|
|||
installed = iana-etc-20221025-1-any
|
||||
installed = icu-72.1-1-x86_64
|
||||
installed = imath-3.1.5-3-x86_64
|
||||
installed = imlib2-1.9.1-2-x86_64
|
||||
installed = intellij-idea-ultimate-edition-2022.2.3-1-x86_64
|
||||
installed = intellij-idea-ultimate-edition-jre-2022.2.3-1-x86_64
|
||||
installed = iproute2-6.0.0-1-x86_64
|
||||
|
@ -400,6 +401,7 @@ installed = libelf-0.187-2-x86_64
|
|||
installed = libepoxy-1.5.10-1-x86_64
|
||||
installed = libevdev-1.13.0-1-x86_64
|
||||
installed = libevent-2.1.12-2-x86_64
|
||||
installed = libexif-0.6.24-1-x86_64
|
||||
installed = libffi-3.4.3-1-x86_64
|
||||
installed = libfontenc-1.1.6-1-x86_64
|
||||
installed = libgcrypt-1.10.1-1-x86_64
|
||||
|
@ -674,6 +676,7 @@ installed = sway-git-debug-r6980.8aa89dc2-1-x86_64
|
|||
installed = swaybg-git-r123.deed2ed-1-x86_64
|
||||
installed = swayidle-1.7.1-3-x86_64
|
||||
installed = swaylock-effects-git-r403.4b54b85-1-x86_64
|
||||
installed = sxiv-26-1-x86_64
|
||||
installed = sysfsutils-2.1.1-1-x86_64
|
||||
installed = systemd-251.7-1-x86_64
|
||||
installed = systemd-libs-251.7-1-x86_64
|
||||
|
|
Binary file not shown.
|
@ -2,10 +2,10 @@
|
|||
# using fakeroot version 1.29
|
||||
pkgname = tdpeuter-dev
|
||||
pkgbase = tdpeuter
|
||||
pkgver = 0.1.5-1
|
||||
pkgver = 0.1.6-1
|
||||
pkgdesc = Sysconfig for my systems
|
||||
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
|
||||
builddate = 1666994048
|
||||
builddate = 1667142191
|
||||
packager = Unknown Packager
|
||||
size = 0
|
||||
arch = any
|
||||
|
|
Binary file not shown.
BIN
pkg/tdpeuter/tdpeuter-base-0.1.6-1-any.pkg.tar.zst
Normal file
BIN
pkg/tdpeuter/tdpeuter-base-0.1.6-1-any.pkg.tar.zst
Normal file
Binary file not shown.
Binary file not shown.
BIN
pkg/tdpeuter/tdpeuter-desktop-0.1.6-1-any.pkg.tar.zst
Normal file
BIN
pkg/tdpeuter/tdpeuter-desktop-0.1.6-1-any.pkg.tar.zst
Normal file
Binary file not shown.
Binary file not shown.
BIN
pkg/tdpeuter/tdpeuter-dev-0.1.6-1-any.pkg.tar.zst
Normal file
BIN
pkg/tdpeuter/tdpeuter-dev-0.1.6-1-any.pkg.tar.zst
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26
stow/_scripts/.scripts/cleandependencies.sh
Executable file
26
stow/_scripts/.scripts/cleandependencies.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env bash
|
||||
# Remove unused dependencies that are not explicitly installed
|
||||
# Usage: [sudo] cleandependencies
|
||||
|
||||
# Retrieve a list of all packages that are not explicitly installed and are not needed by anything else.
|
||||
# Note that optional dependencies also do not get removed.
|
||||
# function getList () {
|
||||
# grep "Name\|Required By\|Optional For\|Install Reason" <<< $(pacman -Qi) |
|
||||
# tr '\n' ';' | sed "s/$/\n/" |
|
||||
# sed "s/ */ /g" |
|
||||
# sed "s/Name/\nName/g" |
|
||||
# sed "s/\(Name\|Required By\|Optional For\|Install Reason\) : //g" |
|
||||
# grep "Installed as a dependency for another package" |
|
||||
# grep "^[^;]*;None;None" |
|
||||
# cut -f 1 -d ';'
|
||||
# } ; export -f getList
|
||||
|
||||
current_amount=$(pacman -Qdtq | wc -l)
|
||||
# Keep looping while there are unusded dependencies.
|
||||
# Stop when the next amount is the same, probably because the action was canceled.
|
||||
while [[ ${current_amount} -ne 0 && ${current_amount} -ne ${previous_amount:=0} ]] ; do
|
||||
previous_amount=${current_amount}
|
||||
pacman -R $(pacman -Qdtq)
|
||||
current_amount=$(pacman -Qdtq | wc -l)
|
||||
done
|
||||
|
22
stow/_scripts/.scripts/dnd.sh
Executable file
22
stow/_scripts/.scripts/dnd.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
# Script to toggle Do not disturb mode for mako and dunst
|
||||
|
||||
# Permanent memory
|
||||
saved_state=0
|
||||
|
||||
# Toggle
|
||||
if [[ ${saved_state} -eq 0 ]] ; then
|
||||
~/.scripts/notify.sh 'Hiding notifications'
|
||||
sleep 5
|
||||
makoctl set-mode do-not-disturb
|
||||
dunstctl set-paused true
|
||||
else
|
||||
makoctl set-mode default
|
||||
dunstctl set-paused false
|
||||
~/.scripts/notify.sh 'Showing notifications'
|
||||
fi
|
||||
|
||||
# Update status in file
|
||||
new_state=$(( (${saved_state} + 1) % 2 ))
|
||||
sed -i "s/^saved_state=.*$/saved_state=${new_state}/" "${0}"
|
||||
|
16
stow/_scripts/.scripts/focus.sh
Executable file
16
stow/_scripts/.scripts/focus.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
# Script to toggle black background to focus on sway
|
||||
|
||||
# Get instances of swaybg, except for the 'standard' one.
|
||||
list=$( pgrep swaybg | head -n -1 )
|
||||
|
||||
if [ -z "${list}" ] ; then
|
||||
swaybg --mode=solid_color --color=#000000 &
|
||||
# Give the previous command some time to execute
|
||||
sleep .1
|
||||
swaymsg reload
|
||||
else
|
||||
# Clean up if already running
|
||||
kill $( tr ' ' '\n' <<< ${list} )
|
||||
fi
|
||||
|
19
stow/_scripts/.scripts/idle.sh
Executable file
19
stow/_scripts/.scripts/idle.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
# Configuration of swayidle
|
||||
# Just run the script
|
||||
|
||||
# Kill previous instances to avoid clashing
|
||||
pkill swayidle
|
||||
|
||||
swayidle -w \
|
||||
timeout 600 \
|
||||
'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
timeout 1200 \
|
||||
'systemctl suspend' \
|
||||
before-sleep 'swaymsg "output * dpms on"; swaylock'
|
||||
# Screen needs to be turned back on or you will get a black screen after waking up again.
|
||||
|
||||
# timeout 300 \
|
||||
# "~/.scripts/wander.sh" \
|
||||
# resume 'brightnessctl -r' \
|
71
stow/_scripts/.scripts/notify.sh
Executable file
71
stow/_scripts/.scripts/notify.sh
Executable file
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/env bash
|
||||
# Show system status in notification, or your own message
|
||||
# Syntaxis: notify [-vb] [-t <timeout>] [-p <value>] [<title> <message>]
|
||||
|
||||
# Requirements:
|
||||
# - brightnessctl
|
||||
|
||||
panic () {
|
||||
>&2 echo "Syntaxis: notify [-vb] [-t <timeout>] [-p <value>] [<title> <message>]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Get options
|
||||
while getopts ":bvt:p:" options; do
|
||||
case "${options}" in
|
||||
b)
|
||||
value=$( brightnessctl | grep -o "[0-9]*%" | tr -d '%' )
|
||||
title="Brightness: ${value}%"
|
||||
category='sysinfo'
|
||||
;;
|
||||
v)
|
||||
# Get volume (don't use pamixer because that is way slower)
|
||||
value=$( pactl get-sink-volume @DEFAULT_SINK@ \
|
||||
| cut -d '/' -f2 \
|
||||
| grep -o '[0-9]*%' \
|
||||
| tr -d '%' )
|
||||
title="Volume: ${value}%"
|
||||
category='sysinfo'
|
||||
|
||||
# If audio disabled, set value to zero.
|
||||
if [ "$( pactl get-sink-mute @DEFAULT_SINK@ )" == "Mute: yes" ] ; then
|
||||
title="Volume: ${value}% (Disabled)"
|
||||
value=0
|
||||
fi
|
||||
;;
|
||||
t)
|
||||
timeout="${OPTARG}"
|
||||
;;
|
||||
p)
|
||||
value="${OPTARG}"
|
||||
;;
|
||||
*)
|
||||
panic
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
# Check arguments
|
||||
if [ $# -gt 2 ] ; then
|
||||
panic
|
||||
elif [ $# -gt 0 ] ; then
|
||||
title="${1}"
|
||||
message="${2:-}"
|
||||
fi
|
||||
|
||||
# Build command string
|
||||
arguments=""
|
||||
if [[ ! -z "${category}" ]] ; then
|
||||
arguments+=" -c ${category}"
|
||||
fi
|
||||
if [[ ! -z "${timeout}" ]] ; then
|
||||
arguments+=" -t ${timeout}"
|
||||
fi
|
||||
if [[ ! -z "${value}" ]] ; then
|
||||
arguments+=" -h int:value:${value}"
|
||||
fi
|
||||
|
||||
notify-send "${title}" "${message}" ${arguments}
|
||||
|
9
stow/_scripts/.scripts/wander.sh
Executable file
9
stow/_scripts/.scripts/wander.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
# Toggle brightness to 'sleep' or 'awake', since brightnessctl does not support
|
||||
# percentages of current amount.
|
||||
# Just run the script
|
||||
|
||||
current=$( brightnessctl get )
|
||||
# Doesn't have to be accurate so we can use built-in calculator.
|
||||
brightnessctl -sq set $(( current / 10 * 3 ))
|
||||
|
15
stow/_scripts/.scripts/wlsunset.sh
Executable file
15
stow/_scripts/.scripts/wlsunset.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# Script to disable for an hour or immediately continue wlsunset. 'Toggle'
|
||||
|
||||
# Check if wlsunset is still running
|
||||
pid=$(pgrep wlsunset)
|
||||
|
||||
if [[ -z ${pid} ]] ; then
|
||||
# Start wlsunset right away.
|
||||
wlsunset -l 50 -L 4 -t 2500 &
|
||||
else
|
||||
# Currently stop wlsunset but restart in an hour.
|
||||
kill ${pid}
|
||||
~/.scripts/notify.sh 'Stopping sunset' 'Restarting in an hour'
|
||||
at now +1 hours -f ~/.scripts/wlsunset.sh
|
||||
fi
|
|
@ -40,7 +40,7 @@
|
|||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%d/%m/%Y %H:%M}",
|
||||
"timezone": "Europe/Brussels",
|
||||
// "timezone": "Europe/Brussels",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue