update
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
exec_always "pkill kanshi"
|
||||
exec_always "pkill swayidle"
|
||||
exec_always "pkill swaync"
|
||||
exec_always "sleep 1"
|
||||
|
||||
### Variables
|
||||
set $mod Mod4
|
||||
set $left h
|
||||
@@ -9,18 +14,17 @@ set $menu wofi
|
||||
|
||||
include /etc/sway/config-vars.d/*
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
### Output configuration
|
||||
output * bg ~/.config/configfiles/wallpaper.png fill
|
||||
exec_always "pkill kanshi; kanshi"
|
||||
exec_always "kanshi"
|
||||
|
||||
### Idle configuration
|
||||
exec_always pkill swayidle
|
||||
exec_always sleep 1
|
||||
exec_always swayidle -w \
|
||||
timeout 300 'swaylock -f' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
timeout 300 'swaylock -f' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
|
||||
### Input configuration
|
||||
input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
|
||||
@@ -29,6 +33,12 @@ input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
|
||||
middle_emulation enabled
|
||||
}
|
||||
|
||||
# Notification Daemon
|
||||
exec_always swaync
|
||||
|
||||
# Toggle control center
|
||||
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||
|
||||
### Key bindings
|
||||
|
||||
# Basics:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[Unit]
|
||||
Description=sway compositor session
|
||||
Documentation=man:systemd.special(7)
|
||||
BindsTo=graphical-session.target
|
||||
Wants=graphical-session-pre.target
|
||||
After=graphical-session-pre.target
|
||||
@@ -1 +0,0 @@
|
||||
/home/user/.config/systemd/user/swayidle.service
|
||||
@@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=Idle manager for Wayland
|
||||
Documentation=man:swayidle(1)
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/swayidle -w \
|
||||
timeout 300 'swaylock -f -c 000000' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -c 000000'
|
||||
ExecStartPost=/usr/bin/sleep 1
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
||||
@@ -13,7 +13,7 @@
|
||||
"format": "{title}"
|
||||
},
|
||||
"network": {
|
||||
"interface": "wlp0s20f3",
|
||||
"interface": "wlan0",
|
||||
"format-wifi": " {essid}",
|
||||
"format-disconnected": "",
|
||||
"interval": 1
|
||||
|
||||
@@ -21,6 +21,7 @@ required_packages_pacman:
|
||||
- swayidle
|
||||
- swaylock
|
||||
- swayimg
|
||||
- swaync
|
||||
- pipewire
|
||||
- pipewire-pulse
|
||||
- openssh
|
||||
@@ -38,6 +39,8 @@ required_packages_pacman:
|
||||
- kubectl
|
||||
- terraform
|
||||
- podman
|
||||
- grim
|
||||
- slurp
|
||||
|
||||
flatpak_remote:
|
||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
||||
Reference in New Issue
Block a user