chore: update readme

This commit is contained in:
2025-02-01 19:28:11 +01:00
parent 81341f1fc8
commit 1f9f0c11f7
3 changed files with 33 additions and 28 deletions

View File

@@ -1,34 +1,36 @@
# my dotfiles # my dotfiles
Everything is managed via `stow(1)`. Everything is managed via `stow(1)`:
```bash ```bash
$ ./stow.sh $ ./stow.sh
Unknown option, exiting.
Use ./stow.sh --stow <folder_name> to deploy configuration Use ./stow.sh --stow <folder_name> to deploy configuration
Use ./stow.sh --unstow <folder_name> to remove configuration Use ./stow.sh --unstow <folder_name> to remove configuration
``` ```
Remove CSD for browser, etc.: ### Quirks
```bash
$ gsettings get org.gnome.desktop.wm.preferences button-layout
'icon:close'
$ gsettings set org.gnome.desktop.wm.preferences button-layout ''
```
### Dependencies (and quirks)
#### General
- Install based on Fedora Workstation with GNOME - Install based on Fedora Workstation with GNOME
- Font: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip - Font: [JetBrains Mono](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip)
- `keepassxc(1)` should use `/run/user/1000/keyring/ssh` as SSH Auth Socket - Keyboard Layout: EurKey
- Env Vars exported via `systemd` in `files/environment/.config/environment.d/envvars.conf` - Keepass should use `/run/user/1000/keyring/ssh` as SSH Auth Socket
- Toogle conservation without root: `%wheel ALL=(ALL) NOPASSWD: /usr/bin/tee /sys/bus/platform/drivers/ideapad_acpi/VPC????\:??/conservation_mode` - Keyring provided by GNOME and started with sway
- Brave Flags for Wayland: `/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4 --enable-wayland-ime --enable-features=TouchpadOverscrollHistoryNavigation` - Environment Vairables exported using systemd in [envvars.conf](files/environment/.config/environment.d/envvars.conf)
- Lenovo Conservation Mode without root
```bash
%wheel ALL=(ALL) NOPASSWD: /usr/bin/tee /sys/bus/platform/drivers/ideapad_acpi/VPC????\:??/conservation_mode
```
- Brave Flags for Wayland
```bash
/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4 --enable-wayland-ime --enable-features=TouchpadOverscrollHistoryNavigation
```
- Remove Client Side Decorations
```bash
$ gsettings get org.gnome.desktop.wm.preferences button-layout
'icon:close'
$ gsettings set org.gnome.desktop.wm.preferences button-layout ''
```
#### Sway ### Software via dnf
- Keyring provided by GNOME and started with `sway(1)`
``` ```
sudo dnf install \ sudo dnf install \
@@ -41,9 +43,10 @@ sudo dnf install \
nextcloud keepassxc nextcloud keepassxc
``` ```
- sway fork: https://github.com/WillPower3309/swayfx ### Software via GitHub
- application launcher: https://github.com/philj56/tofi
- notification daemon + popup: https://github.com/ErikReider/SwayNotificationCenter - [sway fork - swayfx](https://github.com/WillPower3309/swayfx)
- screenshot: https://github.com/moverest/sway-interactive-screenshot (checked in as `files/sway/.config/sway/screenshot`) - [notification daemon + popup - swaync](https://github.com/ErikReider/SwayNotificationCenter)
- screen mirror for live presentations: https://github.com/Ferdi265/wl-mirror - [application launcher - tofi](https://github.com/philj56/tofi)
- vpn: https://netbird.io/ - [screenshot tool](https://github.com/moverest/sway-interactive-screenshot) (checked in [here](files/sway/.config/sway/screenshot))
- [screen mirror for live presentations](https://github.com/Ferdi265/wl-mirror)

View File

@@ -4,9 +4,12 @@ alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'
alias fixagent='eval $(tmux show-env -s | grep "^SSH_")' alias fixagent='eval $(tmux show-env -s | grep "^SSH_")'
alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash' alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash'
alias whatsmyip='curl https://ipinfo.io/ip; echo' alias whatsmyip='curl https://ipinfo.io/ip; echo'
alias mirror='wl-mirror eDP-1' alias mirror='wl-mirror eDP-1'
### zfs (just saved commands)
# zfs send pool/path/to/zvol@snapshot| gzip -c >/mnt/some/location/zvol@20230302.gz
# gzip -dc /mnt/some/location/zvol@20230302.gz | zfs receive pool/path/to/zvol
### Always ask first when moving files ### Always ask first when moving files
alias cp='cp -i' alias cp='cp -i'
alias mv='mv -i' alias mv='mv -i'

View File

@@ -16,7 +16,6 @@ case $i in
stow -D -v -d files -t $HOME $2 stow -D -v -d files -t $HOME $2
;; ;;
*) *)
echo "Unknown option, exiting."
echo "Use $0 --stow <folder_name> to deploy configuration" echo "Use $0 --stow <folder_name> to deploy configuration"
echo "Use $0 --unstow <folder_name> to remove configuration" echo "Use $0 --unstow <folder_name> to remove configuration"
exit -1 exit -1