added .local and .themes

(wallpaper and non-config theming)
This commit is contained in:
martyTF 2025-01-26 13:30:59 +00:00
parent dd1ff06a60
commit 941ffe903c
852 changed files with 50045 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.config/.stfolder
.local/.stfolder
.themes/.stfolder

29
.local/bin/msleep Executable file
View file

@ -0,0 +1,29 @@
#!/usr/bin/env bash
# Get wake up time:
case $# in
1)
HUMANTIMESET=$1
PCTIMESET=$(echo $HUMANTIMESET | awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }')
CHECKTODAY=$(date +%s -d 'today 0:00')
WAKEUPTIMETODAY=$(($PCTIMESET+$CHECKTODAY))
WAKEUPTIMETOMORROW=$(($WAKEUPTIMETODAY+86400))
if [ $WAKEUPTIMETODAY -ge $(date +%s) ]
then
echo "Waking up Today at $HUMANTIMESET ! Good Night!"
sleep 3
sudo rtcwake -m mem -t $WAKEUPTIMETODAY
else
echo Waking up Tomorrow at $HUMANTIMESET ! Good Night!
sleep 3
sudo rtcwake -m mem -t $WAKEUPTIMETOMORROW
fi
;;
*)
systemctl suspend
;;
esac

8
.local/bin/nix-reload Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
if sudo nixos-rebuild switch ; then
notify-send "NixOS rebuild successful"
exit
else
notify-send "NixOS rebuild failed"
fi

10
.local/bin/nix-update Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
sudo nix-channel --update
if sudo nixos-rebuild --upgrade switch ; then
notify-send "NixOS update successful"
exit
else
notify-send "NixOS update failed"
fi

14
.local/bin/notify-log Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
notifylogfile=$1
dbus-monitor "interface='org.freedesktop.Notifications'" |\
grep --line-buffered ' string' |\
grep --line-buffered -v ' string' |\
grep --line-buffered -v 'string ":[1-9]*.[1-9]*' |\
grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\
grep --line-buffered -v '^\s*$' |\
sed -u 's/[^"]$/"/g' |\
sed -u 'N;s/\n/ /' |\
sed -u 'N;s/\n/ /' |\
xargs -I '{}' \
printf "--- $(date | awk '{print $2".",$3,$6,"- "$4}') ---\n{}\n" >> $notifylogfile

77
.local/bin/power-menu Executable file
View file

@ -0,0 +1,77 @@
#! /usr/bin/env bash
entries="Suspend Logout Shutdown Reload"
selected=$(printf '%s\n' $entries | rofi -dmenu -i | awk '{print tolower($1)}')
case $selected in
suspend)
entries_suspend=$(cat ~/.cache/mtfiles/msleep_times | sort)
selected_suspend=$(printf '%s\n' $entries_suspend | rofi -dmenu -i | awk '{print tolower($1)}')
case $selected_suspend in
"")
systemctl suspend
;;
[0-2][0-9]:[0-5][0-9])
grep $selected_suspend ~/.cache/mtfiles/msleep_times || echo $selected_suspend >> ~/.cache/mtfiles/msleep_times
exec ~/.local/bin/msleep $selected_suspend
;;
clear)
echo "clear" > ~/.cache/mtfiles/msleep_times
;;
*)
exit
;;
esac
;;
logout)
entries_logout="Confirm Cancel"
selected_logout=$(printf '%s\n' $entries_logout | rofi -dmenu -i | awk '{print tolower($1)}')
case $selected_logout in
"confirm")
hyprctl dispatch exit
;;
*)
exit
;;
esac
;;
shutdown)
entries_shutdown="Shutdown Reboot"
selected_shutdown=$(printf '%s\n' $entries_shutdown | rofi -dmenu -i | awk '{print tolower($1)}')
case $selected_shutdown in
shutdown)
systemctl poweroff -i
;;
reboot)
systemctl reboot
;;
*)
exit
;;
esac
;;
reload)
entries_reload="Desktop NixOS"
selected_reload=$(printf '%s\n' $entries_reload | rofi -dmenu -i | awk '{print tolower($1)}')
case $selected_reload in
desktop)
hyprctl reload
sway reload
killall .waybar-wrapped
waybar
;;
nixos)
entries_nixos="Reload Update"
selected_nixos=$(printf '%s\n' $entries_nixos | rofi -dmenu -i | awk '{print tolower($1)}')
kitty --class kitty-floating --hold ~/.local/bin/nix-$selected_nixos
;;
*)
exit
;;
esac
;;
*)
exit
;;
esac

58
.local/bin/update Executable file
View file

@ -0,0 +1,58 @@
#!/usr/bin/env bash
ping -q -c 1 marty.tf || exit
for i in pacman apt dnf; do which $i 2> /dev/null && PACKAGEMANAGER=$i; done
case $PACKAGEMANAGER in
pacman)
GETPACMAN="$(curl https://raw.githubusercontent.com/martyTF/dotfiles/main/install-arch.sh | grep "sudo pacman -S --noconfirm git")"
GETYAY="$(curl https://raw.githubusercontent.com/martyTF/dotfiles/main/install-arch.sh | grep "for i in swww")"
yay -Syu --noconfirm
cat ~/.cache/mtfiles/update/yay | grep "$GETYAY" || bash -c "$GETYAY"
sudo pacman -Syu --noconfirm
cat ~/.cache/mtfiles/update/pacman | grep "$GETPACMAN" || bash -c "$GETPACMAN"
echo "$GETPACMAN" > ~/.cache/mtfiles/update/pacman
echo "$GETYAY" > ~/.cache/mtfiles/update/yay
;;
apt)
sudo apt update
sudo apt upgrade -y
;;
dnf)
sudo dnf update -y
;;
*)
echo "none of the supported package managers (so far only arch's pacman/yay) found, won't update any system packages, please do so manually yourself"
;;
esac
flatpak update -y
GETFLATPAK="$(curl https://raw.githubusercontent.com/martyTF/dotfiles/main/install.sh | grep "flatpak install -y flathub org.signal.Signal")"
cat ~/.cache/mtfiles/update/flatpak | grep "$GETFLATPAK" || bash -c "$GETFLATPAK"
echo "$GETFLATPAK" > ~/.cache/mtfiles/update/flatpak
am update
GETAM="$(curl https://raw.githubusercontent.com/martyTF/dotfiles/main/install.sh | grep "am install ")"
cat ~/.cache/mtfiles/update/am | grep "$GETAM" || bash -c "$GETAM"
echo "$GETAM" > ~/.cache/mtfiles/update/am
cd ~/.config/emacs
git pull --rebase
cd
$HOME/.config/emacs/bin/doom sync -u
echo ~/.dotfiles/.*/ | grep ".git/" && DOTFILESGIT=1
if [ $DOTFILESGIT -eq 1 ]
then
cd ~/.dotfiles
git stash
git pull
stow .
cd
else
cd ~/.dotfiles
stow .
cd
fi
bash -c "$(curl https://raw.githubusercontent.com/martyTF/dotfiles/main/configure.sh | grep "chmod +" )"

View file

@ -0,0 +1,37 @@
<!--
SPDX-FileCopyrightText: 2022 Mqisty
SPDX-License-Identifier: CC0-1.0
-->
Catppuccin-Mocha
---
[Catppuccin-Mocha](https://github.com/catppuccin/catppuccin) theme for Prism Launcher.
## Preview
![Catppuccin-Mocha Preview](preview.png)
## License
```
MIT License
Copyright (c) 2021 Catppuccin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Derpitron
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,29 @@
{
"colors": {
"AlternateBase": "#1e1e2e",
"Base": "#181825",
"BrightText": "#bac2de",
"Button": "#313244",
"ButtonText": "#cdd6f4",
"Highlight": "#b4befe",
"HighlightedText": "#1e1e2e",
"Link": "#b4befe",
"Text": "#cdd6f4",
"ToolTipBase": "#dee5fc",
"ToolTipText": "#dee5fc",
"Window": "#1e1e2e",
"WindowText": "#bac2de",
"fadeAmount": 0.5,
"fadeColor": "#6c7086"
},
"logColors": {
"Launcher": "#cba6f7",
"Error": "#f38ba8",
"Warning": "#f9e2af",
"Debug": "#a6e3a1",
"FatalHighlight": "#f38ba8",
"Fatal": "#181825"
},
"name": "Catppuccin Mocha",
"widgets": "Fusion"
}

View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2022 Catppuccin
SPDX-License-Identifier: MIT

View file

@ -0,0 +1,11 @@
/*
* SPDX-FileCopyrightText: 2022 Catppuccin
*
* SPDX-License-Identifier: MIT
*/
QToolTip {
color: #cdd6f4;
background-color: #313244;
border: 1px solid #313244
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

Some files were not shown because too many files have changed in this diff Show more