zmiana konfiguracji na wayland i sway :love:
This commit is contained in:
1
.config/systemd/user/default.target.wants/mouse.service
Symbolic link
1
.config/systemd/user/default.target.wants/mouse.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/mouse.service
|
19
.config/systemd/user/mako.service
Normal file
19
.config/systemd/user/mako.service
Normal file
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Lightweight Wayland notification daemon
|
||||
Documentation=man:mako(1)
|
||||
PartOf=sway-session.target
|
||||
After=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.freedesktop.Notifications
|
||||
ExecCondition=/bin/sh -c '[ -n "$WAYLAND_DISPLAY" ]'
|
||||
ExecStart=/usr/bin/mako
|
||||
ExecReload=/usr/bin/makoctl reload
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
8
.config/systemd/user/mouse.service
Normal file
8
.config/systemd/user/mouse.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Mouse Protocol
|
||||
|
||||
[Service]
|
||||
ExecStart=sudo echo -n "elantech" > /sys/bus/serio/devices/serio1/protocol
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
14
.config/systemd/user/polkit-gnome.service
Normal file
14
.config/systemd/user/polkit-gnome.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Legacy polkit authentication agent for GNOME
|
||||
PartOf=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
6
.config/systemd/user/sway-session.target
Normal file
6
.config/systemd/user/sway-session.target
Normal file
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=sway compositor session
|
||||
Documentation=man:systemd.special(7)
|
||||
BindsTo=graphical-session.target
|
||||
Wants=graphical-session-pre.target
|
||||
After=graphical-session-pre.target
|
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/polkit-gnome.service
|
1
.config/systemd/user/sway-session.target.wants/swayidle.service
Symbolic link
1
.config/systemd/user/sway-session.target.wants/swayidle.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/swayidle.service
|
1
.config/systemd/user/sway-session.target.wants/waybar.service
Symbolic link
1
.config/systemd/user/sway-session.target.wants/waybar.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/waybar.service
|
15
.config/systemd/user/swayidle.service
Normal file
15
.config/systemd/user/swayidle.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Idle manager for Wayland
|
||||
Documentation=man:swayidle(1)
|
||||
PartOf=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/swayidle -w timeout 300 '%h/.config/sway/bin/lock.sh' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep '%h/.config/sway/bin/lock.sh'
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
17
.config/systemd/user/waybar.service
Normal file
17
.config/systemd/user/waybar.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=A lightweight Wayland statusbar
|
||||
Documentation=man:waybar(1)
|
||||
PartOf=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="XDG_CURRENT_DESKTOP=Unity"
|
||||
ExecStart=/usr/bin/waybar
|
||||
ExecReload=kill -SIGUSR2 $MAINPID
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
Reference in New Issue
Block a user