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
|
# ArchAP – Arch Professor
|
||||||
|
|
||||||
<p align="center">
|
<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>
|
</picture>
|
||||||
|
|
||||||
Personal Arch Linux configuration focused on:
|
Personal Arch Linux configuration focused on:
|
||||||
|
|
@ -167,8 +167,6 @@ Configuration for the Yazi terminal file manager:
|
||||||
Custom key mappings for navigation and actions.
|
Custom key mappings for navigation and actions.
|
||||||
- `package.toml`
|
- `package.toml`
|
||||||
Package metadata for the configuration.
|
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.
|
Screenshot or background asset.
|
||||||
- `scripts/`
|
- `scripts/`
|
||||||
Helper 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
|
- `inactive-windows-transparency.py` for window transparency effects
|
||||||
- `README.md`
|
- `README.md`
|
||||||
Local documentation for the Sway setup.
|
Local documentation for the Sway setup.
|
||||||
|
|
@ -417,6 +415,7 @@ rm -r ~/archasp
|
||||||
```shell
|
```shell
|
||||||
cd &&\
|
cd &&\
|
||||||
mkdir ~/.config/config_backup &&\
|
mkdir ~/.config/config_backup &&\
|
||||||
|
mv ~/.config/atuin ~/.config/config_backup &&\
|
||||||
mv ~/.config/bat ~/.config/config_backup &&\
|
mv ~/.config/bat ~/.config/config_backup &&\
|
||||||
mv ~/.config/btop ~/.config/config_backup &&\
|
mv ~/.config/btop ~/.config/config_backup &&\
|
||||||
mv ~/.config/calcure ~/.config/config_backup &&\
|
mv ~/.config/calcure ~/.config/config_backup &&\
|
||||||
|
|
@ -459,7 +458,7 @@ yay -S \
|
||||||
gtk3 gtk4 catppuccin-gtk-theme-mocha \
|
gtk3 gtk4 catppuccin-gtk-theme-mocha \
|
||||||
catppuccin-cursors-mocha swaylock-effects \
|
catppuccin-cursors-mocha swaylock-effects \
|
||||||
swayidle greetd greetd-tuigreet grim slurp \
|
swayidle greetd greetd-tuigreet grim slurp \
|
||||||
snapper brtfs-progs grub-snapper
|
snapper brtfs-progs grub-snapper uwsm
|
||||||
```
|
```
|
||||||
|
|
||||||
### greetd-tuigreet config
|
### greetd-tuigreet config
|
||||||
|
|
@ -476,7 +475,7 @@ vt = 1
|
||||||
|
|
||||||
# The default session, also known as the greeter.
|
# The default session, also known as the greeter.
|
||||||
[default_session]
|
[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
|
# 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
|
# on the greeter. A graphical greeter may for example require the user to be
|
||||||
|
|
@ -495,7 +494,7 @@ Encoding=UTF-8
|
||||||
Name=Mango
|
Name=Mango
|
||||||
DesktopNames=mango;wlroots
|
DesktopNames=mango;wlroots
|
||||||
Comment=mango WM
|
Comment=mango WM
|
||||||
Exec=/home/fy59/.local/bin/mango-session.sh
|
Exec=mango
|
||||||
Icon=mango
|
Icon=mango
|
||||||
Type=Application
|
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
|
```sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
@ -532,10 +511,6 @@ systemctl --user start wayland-session.target
|
||||||
exec mango
|
exec mango
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
|
||||||
chmod +x ~/.local/bin/mango-session.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
@ -548,12 +523,15 @@ sudo systemctl enable --now greetd.service
|
||||||
sudo snapper -c root create-config /\
|
sudo snapper -c root create-config /\
|
||||||
sudo snapper -c root create-config /@
|
sudo snapper -c root create-config /@
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo systemctl enable --now grub-btrfsd.service grub-btrfs.path
|
sudo systemctl enable --now grub-btrfsd.service grub-btrfs.path
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
```
|
```
|
||||||
|
|
||||||
```config
|
```config
|
||||||
# /etc/snapper/configs/root
|
# /etc/snapper/configs/root
|
||||||
# subvolume to snapshot
|
# subvolume to snapshot
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Récupère la ligne "TLP profile = balanced/BAT" et isole "balanced/BAT"
|
# 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)
|
# Optionnel : ne garder que le profil logique (performance/balanced/power-saver)
|
||||||
# profile=$(printf "%s" "$profile" | cut -d'/' -f1)
|
# profile=$(printf "%s" "$profile" | cut -d'/' -f1)
|
||||||
|
|
||||||
[ -z "$profile" ] && profile="unknown"
|
# [ -z "$profile" ] && profile="unknown"
|
||||||
printf " %s\n" "$profile"
|
# 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/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
output * bg ~/.wallpapers/sway.png fill
|
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
|
# Style
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue