sway/readme: add wofi, update auto-locking, update readme

This commit is contained in:
2024-08-20 19:50:29 +02:00
parent f9fe64c02e
commit 17e8714b03
4 changed files with 37 additions and 20 deletions

View File

@@ -17,24 +17,27 @@ $ gsettings set org.gnome.desktop.wm.preferences button-layout ''
``` ```
# Dependencies ### Dependencies
Font: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip - Install based on Fedora Workstation with GNOME (makes everything easier)
- Font: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/JetBrainsMono.zip
- Keyring provided by GNOME and startet in `sway(1)`
- `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`
``` ```
sudo dnf install \ sudo dnf install \
kitty git vim tmux ripgrep fd-find fzf stow \ kitty git vim tmux ripgrep fd-find fzf stow \
sway waybar \ brave \
brightnessctl \ sway waybar wofi \
wofi \ brightnessctl wireplumber pasystray \
pasystray \
network-manager network-manager-applet \ network-manager network-manager-applet \
nextcloud \ fcitx5 fcitx5-configtool fcitx5-anthy fcitx5-* \
keepassxc \ nextcloud keepassxc
fcitx5 fcitx5-configtool fcitx5-anthy \
``` ```
- https://github.com/ErikReider/SwayNotificationCenter - notification daemon + popup: https://github.com/ErikReider/SwayNotificationCenter
- https://github.com/moverest/sway-interactive-screenshot - screenshot: https://github.com/moverest/sway-interactive-screenshot (checked in as `files/sway/.config/sway/screenshot`)
- https://github.com/bjesus/wttrbar - weather info in bar: https://github.com/bjesus/wttrbar
- https://github.com/Ferdi265/wl-mirror - screen mirror for live presentations: https://github.com/Ferdi265/wl-mirror
- vpn: https://netbird.io/

View File

@@ -19,3 +19,4 @@ display-inlay-hints = true
[keys.normal] [keys.normal]
"_" = ["extend_line_up", "extend_to_line_bounds"] "_" = ["extend_line_up", "extend_to_line_bounds"]
"+" = ["extend_line_down", "extend_to_line_bounds"] "+" = ["extend_line_down", "extend_to_line_bounds"]

View File

@@ -17,7 +17,7 @@
set $lock swaylock -f -c 3D484D set $lock swaylock -f -c 3D484D
exec swayidle -w \ exec swayidle -w \
timeout 600 '$lock' \ timeout 600 '$lock' \
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * dpms on"' \ timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 1200 'systemctl suspend' \ timeout 1200 'systemctl suspend' \
before-sleep '$lock' before-sleep '$lock'
@@ -61,8 +61,10 @@ bindgesture swipe:4:left focus left
# Run applications # Run applications
bindsym $mod+Return exec kitty bindsym $mod+Return exec kitty
bindsym $mod+d exec wofi --show drun -I -i -a #bindsym $mod+d exec wofi --show drun -I -i -a
bindsym $mod+Shift+d exec wofi --show run -i -a bindsym $mod+d exec tofi-drun | xargs swaymsg exec --
#bindsym $mod+Shift+d exec wofi --show run -i -a
bindsym $mod+Shift+d exec tofi-run | xargs swaymsg exec --
bindsym $mod+e exec nautilus bindsym $mod+e exec nautilus
# Moving around # Moving around
@@ -111,7 +113,7 @@ bindgesture swipe:4:left focus left
# Layout stuff # Layout stuff
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle, border normal 2
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# Scratchpad # Scratchpad

View File

@@ -150,10 +150,20 @@
"sway/workspaces": { "sway/workspaces": {
"all-outputs": false, "all-outputs": false,
"disable-scroll": true, "disable-scroll": true,
"format": "{icon} {name}", "format": "{icon}",
"format-icons": { "format-icons": {
"urgent": "", "1": "",
"focused": "", "2": "",
"3": "三",
"4": "四",
"5": "五",
"6": "六",
"7": "七",
"8": "八",
"9": "九",
"10": "十",
// "urgent": "",
// "focused": "",
"default": "" "default": ""
} }
}, },
@@ -203,6 +213,7 @@
"custom/power": { "custom/power": {
"exec": "echo 💻 $(cat /sys/firmware/acpi/platform_profile)", "exec": "echo 💻 $(cat /sys/firmware/acpi/platform_profile)",
"interval": 10, "interval": 10,
"on-click": "kitty -e 'htop'"
} }
} }