sway/readme: add wofi, update auto-locking, update readme
This commit is contained in:
29
README.md
29
README.md
@@ -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 \
|
||||
kitty git vim tmux ripgrep fd-find fzf stow \
|
||||
sway waybar \
|
||||
brightnessctl \
|
||||
wofi \
|
||||
pasystray \
|
||||
brave \
|
||||
sway waybar wofi \
|
||||
brightnessctl wireplumber pasystray \
|
||||
network-manager network-manager-applet \
|
||||
nextcloud \
|
||||
keepassxc \
|
||||
fcitx5 fcitx5-configtool fcitx5-anthy \
|
||||
fcitx5 fcitx5-configtool fcitx5-anthy fcitx5-* \
|
||||
nextcloud keepassxc
|
||||
```
|
||||
|
||||
- https://github.com/ErikReider/SwayNotificationCenter
|
||||
- https://github.com/moverest/sway-interactive-screenshot
|
||||
- https://github.com/bjesus/wttrbar
|
||||
- https://github.com/Ferdi265/wl-mirror
|
||||
- notification daemon + popup: https://github.com/ErikReider/SwayNotificationCenter
|
||||
- screenshot: https://github.com/moverest/sway-interactive-screenshot (checked in as `files/sway/.config/sway/screenshot`)
|
||||
- weather info in bar: https://github.com/bjesus/wttrbar
|
||||
- screen mirror for live presentations: https://github.com/Ferdi265/wl-mirror
|
||||
- vpn: https://netbird.io/
|
||||
@@ -19,3 +19,4 @@ display-inlay-hints = true
|
||||
[keys.normal]
|
||||
"_" = ["extend_line_up", "extend_to_line_bounds"]
|
||||
"+" = ["extend_line_down", "extend_to_line_bounds"]
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
set $lock swaylock -f -c 3D484D
|
||||
exec swayidle -w \
|
||||
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' \
|
||||
before-sleep '$lock'
|
||||
|
||||
@@ -61,8 +61,10 @@ bindgesture swipe:4:left focus left
|
||||
|
||||
# Run applications
|
||||
bindsym $mod+Return exec kitty
|
||||
bindsym $mod+d exec wofi --show drun -I -i -a
|
||||
bindsym $mod+Shift+d exec wofi --show run -i -a
|
||||
#bindsym $mod+d exec wofi --show drun -I -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
|
||||
|
||||
# Moving around
|
||||
@@ -111,7 +113,7 @@ bindgesture swipe:4:left focus left
|
||||
|
||||
# Layout stuff
|
||||
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
|
||||
|
||||
# Scratchpad
|
||||
|
||||
@@ -150,10 +150,20 @@
|
||||
"sway/workspaces": {
|
||||
"all-outputs": false,
|
||||
"disable-scroll": true,
|
||||
"format": "{icon} {name}",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"1": "一",
|
||||
"2": "二",
|
||||
"3": "三",
|
||||
"4": "四",
|
||||
"5": "五",
|
||||
"6": "六",
|
||||
"7": "七",
|
||||
"8": "八",
|
||||
"9": "九",
|
||||
"10": "十",
|
||||
// "urgent": "",
|
||||
// "focused": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
@@ -203,6 +213,7 @@
|
||||
"custom/power": {
|
||||
"exec": "echo 💻 $(cat /sys/firmware/acpi/platform_profile)",
|
||||
"interval": 10,
|
||||
"on-click": "kitty -e 'htop'"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user