This commit is contained in:
Stephan Raabe 2023-04-25 15:39:48 +02:00
parent 1bb2a72602
commit 3c61336429
5 changed files with 11 additions and 53 deletions

View File

@ -13,6 +13,13 @@
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
# -----------------------------------------------------
# SCREEN RESOLUTINS
# -----------------------------------------------------
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
# -----------------------------------------------------
# ALIASES
# -----------------------------------------------------

View File

@ -23,9 +23,11 @@ Please also see the script folder how I setup my system.
Included is a pywal configuration that changes the color scheme based on a randomly selected wallpaper. Just type w in a terminal (or SuperKey + Shift + w). SuperKey + Ctrl + w opens rofi with a list of installed wallpapers for individual selection. See also the .bashrc for more alias definitions.
## Screenshot
## Screenshots & Video
![Screenshots](screenshots/screenshot_20230406_2.png "Screenshot")
<a href="http://www.youtube.com/watch?feature=player_embedded&v=WHxgeWzGoBY" target="_blank"><img src="screenshots/screenshot_play_button.png" alt="Click to watch on YouTube" /></a>
![Screenshots](screenshots/screenshot_play_button.png "Click to watch the video on YouTube")
You can find more screenshots in the screenshots folder.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@ -1,28 +0,0 @@
#!/bin/bash
# _ _ _ _
# | | | |_ __ __| | __ _| |_ ___ ___
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
# | |_| | |_) | (_| | (_| | || __/\__ \
# \___/| .__/ \__,_|\__,_|\__\___||___/
# |_|
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
format() {
if [ "$1" -eq 0 ]; then
echo '-'
else
echo "$1"
fi
}
if ! updates_arch="$(pacman -Qm >/dev/null | wc -l)"; then
updates_arch=0
fi
if ! updates_aur="$(yay -Qum 2>/dev/null | wc -l)"; then
updates_aur=0
fi
echo "($(format $updates_arch)/$(format $updates_aur))"

View File

@ -1,23 +0,0 @@
#!/bin/bash
# _ _ _ _
# | | | |_ __ __| | __ _| |_ ___ ___
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
# | |_| | |_) | (_| | (_| | || __/\__ \
# \___/| .__/ \__,_|\__,_|\__\___||___/
# |_|
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
pacmanUpdates=$(pacman -Syup | grep http:// | wc -l)
aurUpdates=$(yaourt -Qua | grep aur | wc -l)
if [ "$pacmanUpdates" -gt 0 ]; then
updateCount="$pacmanUpdates"
elif [ "$aurUpdates" -gt 0 ]; then
updateCount="A$aurUpdates"
else
updateCount=0
fi
echo "$updateCount" > /tmp/updateCount