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
|
### Variables
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
set $left h
|
set $left h
|
||||||
@@ -9,18 +14,17 @@ set $menu wofi
|
|||||||
|
|
||||||
include /etc/sway/config-vars.d/*
|
include /etc/sway/config-vars.d/*
|
||||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
output * bg ~/.config/configfiles/wallpaper.png fill
|
output * bg ~/.config/configfiles/wallpaper.png fill
|
||||||
exec_always "pkill kanshi; kanshi"
|
exec_always "kanshi"
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
exec_always pkill swayidle
|
|
||||||
exec_always sleep 1
|
|
||||||
exec_always swayidle -w \
|
exec_always swayidle -w \
|
||||||
timeout 300 'swaylock -f' \
|
timeout 300 'swaylock -f' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f'
|
before-sleep 'swaylock -f'
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
|
input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
|
||||||
@@ -29,6 +33,12 @@ input "1267:12573:ELAN0412:00_04F3:311D_Touchpad" {
|
|||||||
middle_emulation enabled
|
middle_emulation enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Notification Daemon
|
||||||
|
exec_always swaync
|
||||||
|
|
||||||
|
# Toggle control center
|
||||||
|
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
|
|
||||||
# Basics:
|
# 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}"
|
"format": "{title}"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "wlp0s20f3",
|
"interface": "wlan0",
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": " {essid}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ required_packages_pacman:
|
|||||||
- swayidle
|
- swayidle
|
||||||
- swaylock
|
- swaylock
|
||||||
- swayimg
|
- swayimg
|
||||||
|
- swaync
|
||||||
- pipewire
|
- pipewire
|
||||||
- pipewire-pulse
|
- pipewire-pulse
|
||||||
- openssh
|
- openssh
|
||||||
@@ -38,6 +39,8 @@ required_packages_pacman:
|
|||||||
- kubectl
|
- kubectl
|
||||||
- terraform
|
- terraform
|
||||||
- podman
|
- podman
|
||||||
|
- grim
|
||||||
|
- slurp
|
||||||
|
|
||||||
flatpak_remote:
|
flatpak_remote:
|
||||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||||
|
|||||||
Reference in New Issue
Block a user