README.md
This commit is contained in:
parent
5cdda1e86c
commit
6d843133e7
5 changed files with 19 additions and 37 deletions
40
README.md
40
README.md
|
|
@ -1,7 +1,7 @@
|
|||
# ArchAP – Arch Professor
|
||||
|
||||
<p align="center">
|
||||
<img src=https://raw.githubusercontent.com/grayTerminal-sh/archasp/main/.assets/screen.jpg width="600" height="400" alt="screenshot">
|
||||
<img src=https://git.labfytools.com/fy59/Dotfiles_ArchAP/src/branch/main/.assets/screen.jpg width="600" height="400" alt="screenshot">
|
||||
</picture>
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
success:suspend_resume:1780654450
|
||||
success:suspend_resume:1780723898
|
||||
|
|
@ -1 +0,0 @@
|
|||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue