added installing my apps + custom fastfetch + fixes

This commit is contained in:
2026-06-08 23:00:07 -05:00
parent ac0b3447ad
commit ee79809332
9 changed files with 82 additions and 12 deletions
+44
View File
@@ -0,0 +1,44 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"display": {
"color": {
"keys": "38;2;255;255;255",
"title": "38;2;255;255;255",
"separator": "38;2;255;255;255"
}
},
"logo": {
"type": "file",
"source": "~/.config/fastfetch/maka.txt",
"color": {
"1": "38;2;255;255;255"
}
},
"modules": [
"title",
"separator",
"os",
"host",
"kernel",
"uptime",
"shell",
"de",
"wm",
"wmtheme",
"theme",
"icons",
"font",
"cursor",
"terminal",
"terminalfont",
"cpu",
"gpu",
"memory",
"battery",
"break",
"colors"
]
}
+14
View File
@@ -0,0 +1,14 @@
@@ @@
@ @@ @@ @
@ @@@@ @
@ @ @ @
@ . @
@@ @@
@@ @@
@ @@ @
@ @ @ @
@ @ @ @
@@ @@ @ @
@ @ @ @ @
@ @ @ @*@
@@=@@=@ @@@@@@@/
+2 -2
View File
@@ -1,6 +1,6 @@
set $base ~/.config/sway set $base ~/.config/sway/
xwayland enable xwayland enable
include ~/.config/mute/monitors.conf include ~/.config/mute/monitors.conf
exec_always sh -c 'BASE_SWAY="$base" /usr/bin/python $base/main/boot.py' exec_always env BASE_SWAY=$base /usr/bin/python3 $base/main/boot.py
+4 -3
View File
@@ -22,8 +22,7 @@ def apply_safe_config(sway):
def boot(base): def boot(base):
base = os.path.expanduser(base) if base else "" base = os.path.expanduser(base)
with open(Logs, "w") as f: with open(Logs, "w") as f:
return subprocess.run( return subprocess.run(
["python3", os.path.join(base, "main/swayconfig.py")], ["python3", os.path.join(base, "main/swayconfig.py")],
@@ -35,7 +34,9 @@ def boot(base):
def main(): def main():
sway = Swayipc() sway = Swayipc()
base = get_base() base = get_base()
if not base:
print("BASE_SWAY isnt defined correctly. This WILL cause problems with startup.")
return
rc = boot(base) rc = boot(base)
if rc != 0: if rc != 0:
+1 -1
View File
@@ -13,7 +13,7 @@ Recordings = Path.home() / "records"
Tmp = tempfile.gettempdir() Tmp = tempfile.gettempdir()
def run(cmd): def run(cmd):
return subprocess.run(cmd) return subprocess.Popen(c, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
def find_focused_pid(node): def find_focused_pid(node):
if isinstance(node, dict): if isinstance(node, dict):
+5 -5
View File
@@ -31,11 +31,11 @@ def apply_ui_and_environment(sway):
sway.cmd("exec_always gsettings set org.gnome.desktop.interface.desktop-app-info-default-handler 'librewolf.desktop'") sway.cmd("exec_always gsettings set org.gnome.desktop.interface.desktop-app-info-default-handler 'librewolf.desktop'")
run_sh("/usr/lib/xdg-desktop-portal -r") run_sh("/usr/lib/xdg-desktop-portal -r")
os.environ["GTK_USE_PORTAL"] = "0" sway.cmd("setenv GTK_USE_PORTAL 0")
os.environ["XDG_CURRENT_DESKTOP"] = "sway" sway.cmd("setenv XDG_CURRENT_DESKTOP sway")
os.environ["XDG_SESSION_TYPE"] = "wayland" sway.cmd("setenv XDG_SESSION_TYPE wayland")
os.environ["XDG_PORTAL_BACKEND"] = "wlroots" sway.cmd("setenv XDG_PORTAL_BACKEND wlroots")
run_sh(f"swaybg -i {base}/wallpaper/metrowaymaka.png -m fill") run_sh(f"swaybg -i {base}/wallpaper/metrowaymaka.png -m fill")
run_sh("blueman-applet") run_sh("blueman-applet")
run_sh("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1") run_sh("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
+1
View File
@@ -2,6 +2,7 @@
# boot depends on it and if u break it u get no safe mode. # boot depends on it and if u break it u get no safe mode.
from pathlib import Path from pathlib import Path
import os import os
import base64
Vpn_cache = Path("/tmp/vpn_country.cache") Vpn_cache = Path("/tmp/vpn_country.cache")
Media_flag = Path("/tmp/media_active") Media_flag = Path("/tmp/media_active")
+10
View File
@@ -14,6 +14,16 @@ install-aur:
git clone https://aur.archlinux.org/yay.git /tmp/yay git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay && makepkg -si cd /tmp/yay && makepkg -si
install-stabs-apps:
@echo "installing my apps"
flatpak install -y org.vinegarhq.Sober dev.vencord.Vesktop com.valvesoftware.Steam io.gitlab.librewolf-community org.gajim.Gajim
@echo "Permissionizing..."
flatpak override --user --filesystem=home io.gitlab.librewolf-community
flatpak override --user --filesystem=host com.valvesoftware.Steam
flatpak override --user --filesystem=home dev.vencord.Vesktop
flatpak override --user --filesystem=home org.gajim.Gajim
stow: stow:
stow -t ~/.config config stow -t ~/.config config
@echo "Stoweed" @echo "Stoweed"
+1 -1
View File
@@ -29,4 +29,4 @@ stow
python python
just just
git git
vim gvim