diff --git a/README.md b/README.md index 67a21ce..3fedacb 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,36 @@ # my dotfiles -Everything is managed via `stow(1)`. +Everything is managed via `stow(1)`: ```bash $ ./stow.sh -Unknown option, exiting. Use ./stow.sh --stow to deploy configuration Use ./stow.sh --unstow to remove configuration ``` -Remove CSD for browser, etc.: -```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 +### Quirks - Install based on Fedora Workstation with GNOME -- Font: 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 -- Env Vars exported via `systemd` in `files/environment/.config/environment.d/envvars.conf` -- Toogle conservation without root: `%wheel ALL=(ALL) NOPASSWD: /usr/bin/tee /sys/bus/platform/drivers/ideapad_acpi/VPC????\:??/conservation_mode` -- Brave Flags for Wayland: `/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4 --enable-wayland-ime --enable-features=TouchpadOverscrollHistoryNavigation` - -#### Sway -- Keyring provided by GNOME and started with `sway(1)` +- Font: [JetBrains Mono](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip) +- Keyboard Layout: EurKey +- Keepass should use `/run/user/1000/keyring/ssh` as SSH Auth Socket +- Keyring provided by GNOME and started with sway +- 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 '' + ``` + +### Software via dnf ``` sudo dnf install \ @@ -41,9 +43,10 @@ sudo dnf install \ nextcloud keepassxc ``` -- sway fork: https://github.com/WillPower3309/swayfx -- application launcher: https://github.com/philj56/tofi -- notification daemon + popup: https://github.com/ErikReider/SwayNotificationCenter -- screenshot: https://github.com/moverest/sway-interactive-screenshot (checked in as `files/sway/.config/sway/screenshot`) -- screen mirror for live presentations: https://github.com/Ferdi265/wl-mirror -- vpn: https://netbird.io/ \ No newline at end of file +### Software via GitHub + +- [sway fork - swayfx](https://github.com/WillPower3309/swayfx) +- [notification daemon + popup - swaync](https://github.com/ErikReider/SwayNotificationCenter) +- [application launcher - tofi](https://github.com/philj56/tofi) +- [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) diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 8d6f221..8a5f293 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -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 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 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 alias cp='cp -i' alias mv='mv -i' diff --git a/stow.sh b/stow.sh index 53cd709..dada2cc 100755 --- a/stow.sh +++ b/stow.sh @@ -16,7 +16,6 @@ case $i in stow -D -v -d files -t $HOME $2 ;; *) - echo "Unknown option, exiting." echo "Use $0 --stow to deploy configuration" echo "Use $0 --unstow to remove configuration" exit -1