diff --git a/README.md b/README.md index ab3e5709..ff112f52 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ArchAP – Arch Professor
-
+
Personal Arch Linux configuration focused on:
@@ -167,8 +167,6 @@ Configuration for the Yazi terminal file manager:
Custom key mappings for navigation and actions.
- `package.toml`
Package metadata for the configuration.
-- `flavors/tokyo-night.yazi/`
- Additional theme flavor based on Tokyo Night, with its own README, flavor definition and preview.
---
@@ -223,7 +221,7 @@ Sway configuration is split into multiple modular files for clarity:
Screenshot or background asset.
- `scripts/`
Helper scripts:
- - `cliphist-wofi-img` to integrate clipboard history with Wofi and images
+ - `copypast` to integrate clipboard history with Wofi and images
- `inactive-windows-transparency.py` for window transparency effects
- `README.md`
Local documentation for the Sway setup.
@@ -417,6 +415,7 @@ rm -r ~/archasp
```shell
cd &&\
mkdir ~/.config/config_backup &&\
+mv ~/.config/atuin ~/.config/config_backup &&\
mv ~/.config/bat ~/.config/config_backup &&\
mv ~/.config/btop ~/.config/config_backup &&\
mv ~/.config/calcure ~/.config/config_backup &&\
@@ -459,7 +458,7 @@ yay -S \
gtk3 gtk4 catppuccin-gtk-theme-mocha \
catppuccin-cursors-mocha swaylock-effects \
swayidle greetd greetd-tuigreet grim slurp \
- snapper brtfs-progs grub-snapper
+ snapper brtfs-progs grub-snapper uwsm
```
### greetd-tuigreet config
@@ -476,7 +475,7 @@ vt = 1
# The default session, also known as the greeter.
[default_session]
-command = "tuigreet tuigreet --time --greeting 'Welcome to ArchASP' --theme 'container=brightblack;border=magenta;text=white;greet=brightmagenta;prompt=cyan;input=brightcyan;time=brightyellow;error=red;button=green;action=green' --cmd mango --power-shutdown 'shutdown -h now' --power-reboot 'reboot'"
+command = "tuigreet tuigreet --time --greeting 'Welcome to ArchASP' --theme 'container=brightblack;border=magenta;text=white;greet=brightmagenta;prompt=cyan;input=brightcyan;time=brightyellow;error=red;button=green;action=green' --cmd 'uwsm start default' --power-shutdown 'shutdown -h now' --power-reboot 'reboot'"
# The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be
@@ -495,7 +494,7 @@ Encoding=UTF-8
Name=Mango
DesktopNames=mango;wlroots
Comment=mango WM
-Exec=/home/fy59/.local/bin/mango-session.sh
+Exec=mango
Icon=mango
Type=Application
@@ -503,26 +502,6 @@ Type=Application
---
-```sh
-# /etc/greetd/sway-config
-
-exec "regreet; swaymsg exit"
-include /etc/sway/config.d/*
-
-### Keyboard (modify it)
-input * {
- xkb_layout fr
- xkb_variant oss
-}
-
-### Touchpad
-input "type:touchpad" {
- tap enabled
- tap_button_map lrm
-}
-```
----
-
```sh
#!/bin/sh
@@ -532,10 +511,6 @@ systemctl --user start wayland-session.target
exec mango
```
-```bash
-chmod +x ~/.local/bin/mango-session.sh
-```
-
---
```shell
@@ -548,12 +523,15 @@ sudo systemctl enable --now greetd.service
sudo snapper -c root create-config /\
sudo snapper -c root create-config /@
```
+
```shell
sudo systemctl enable --now grub-btrfsd.service grub-btrfs.path
```
+
```shell
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
+
```config
# /etc/snapper/configs/root
# subvolume to snapshot
diff --git a/bin/.local/bin/tlp-profile.sh b/bin/.local/bin/tlp-profile.sh
index e4377ecb..d4b66547 100755
--- a/bin/.local/bin/tlp-profile.sh
+++ b/bin/.local/bin/tlp-profile.sh
@@ -1,10 +1,15 @@
#!/bin/sh
# Récupère la ligne "TLP profile = balanced/BAT" et isole "balanced/BAT"
-profile=$(tlp-stat -s 2>/dev/null | awk -F'= ' '/TLP profile/ {print $2}')
+# profile=$(tlp-stat -s 2>/dev/null | awk -F'= ' '/TLP profile/ {print $2}')
# Optionnel : ne garder que le profil logique (performance/balanced/power-saver)
# profile=$(printf "%s" "$profile" | cut -d'/' -f1)
-[ -z "$profile" ] && profile="unknown"
-printf " %s\n" "$profile"
+# [ -z "$profile" ] && profile="unknown"
+# printf " %s\n" "$profile"
+
+tlp=$(tlp-stat -s 2>/dev/null | awk -F'= ' '/TLP profile/ {print $2}')
+platform=$(cat /sys/firmware/acpi/platform_profile 2>/dev/null)
+
+printf " %s | %s\n" "$tlp" "$platform"
diff --git a/hyprwhspr/.config/hyprwhspr/recovery_result b/hyprwhspr/.config/hyprwhspr/recovery_result
index 3259324e..ca848678 100644
--- a/hyprwhspr/.config/hyprwhspr/recovery_result
+++ b/hyprwhspr/.config/hyprwhspr/recovery_result
@@ -1 +1 @@
-success:suspend_resume:1780654450
\ No newline at end of file
+success:suspend_resume:1780723898
\ No newline at end of file
diff --git a/sway/.config/sway/layout b/sway/.config/sway/layout
deleted file mode 100644
index 8b137891..00000000
--- a/sway/.config/sway/layout
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sway/.config/sway/style b/sway/.config/sway/style
index da16bad0..d0068bc8 100644
--- a/sway/.config/sway/style
+++ b/sway/.config/sway/style
@@ -4,7 +4,7 @@
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/.wallpapers/sway.png fill
- output eDP-1 mode 3200x2000 pos 3200 0 scale 1.5
+ output eDP-1 mode 3200x2000@60Hz pos 3200 0 scale 1.5
#
# Style