parent
7b5b1019cc
commit
2c3d93ebee
@ -1,6 +0,0 @@
|
||||
# vim:ft=sway
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
output eDP-1
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
# vim:ft=sway
|
||||
|
||||
exec {
|
||||
systemctl --user import-environment
|
||||
systemctl --user start sway-session.target
|
||||
}
|
||||
|
||||
exec_always {
|
||||
gsettings set $gnome-schema gtk-theme 'vimix-dark-doder'
|
||||
gsettings set $gnome-schema icon-theme 'Numix'
|
||||
gsettings set $gnome-schema cursor-theme 'Breeze'
|
||||
gsettings set $gnome-schema font-name 'Overpass 12'
|
||||
gsettings set $gnome-schema document-font-name 'Overpass 12'
|
||||
gsettings set $gnome-schema monospace-font-name 'Hack Nerd Font Mono 12'
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# vim:ft=sway
|
||||
|
||||
exec {
|
||||
{%@@ if profile == "Mirkwood" @@%}
|
||||
nm-applet --indicator
|
||||
redshift-gtk -m wayland
|
||||
mpDris2
|
||||
evolution
|
||||
telegram-desktop
|
||||
syncthing-gtk -m
|
||||
mako
|
||||
$HOME/Scripts/swayidle.sh
|
||||
{%@@ elif profile == "Rivendell" @@%}
|
||||
kodi
|
||||
{%@@ endif @@%}
|
||||
/usr/lib/kdeconnectd
|
||||
kdeconnect-indicator
|
||||
/usr/bin/gnome-keyring-daemon --start --components=secrets
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
ydotoold
|
||||
wl-paste -t text --watch clipman store
|
||||
autotiling
|
||||
$HOME/Scripts/autorotate.sh
|
||||
squeekboard
|
||||
thunderbird
|
||||
mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||
}
|
||||
|
||||
exec_always {
|
||||
{%@@ if profile == "Mirkwood" @@%}
|
||||
bash $HOME/.config/sway/randr/laptop.sh
|
||||
{%@@ endif @@%}
|
||||
gsettings set $gnome-schema gtk-theme 'vimix-dark-doder'
|
||||
gsettings set $gnome-schema icon-theme 'Numix'
|
||||
gsettings set $gnome-schema cursor-theme 'Breeze'
|
||||
gsettings set $gnome-schema font-name 'Overpass 12'
|
||||
gsettings set $gnome-schema document-font-name 'Overpass 12'
|
||||
gsettings set $gnome-schema monospace-font-name 'Hack Nerd Font Mono 12'
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Script for automatically rotating screen
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/Scripts/autorotate.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Script for sway and i3 to automatically switch the horizontal / vertical window split orientation
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/autotiling
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Stores passwords and encryption keys
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/gnome-keyring-daemon --start --components=secrets
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Indicator and UI for KDE Connect
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/kdeconnect-indicator
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=KDE Connect daemon
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/lib/kdeconnectd
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=MPRIS2 support for MPD
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/mpDris2
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Legacy polkit authentication agent for GNOME
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Adjusts the color temperature of your screen according to your surroundings.
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/redshift-gtk -m wayland
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -1,17 +1,31 @@
|
||||
[Unit]
|
||||
Description=sway - SirCmpwn's Wayland window manager
|
||||
Documentation=man:sway(5)
|
||||
BindsTo=graphical-session.target
|
||||
Wants=graphical-session-pre.target
|
||||
After=graphical-session-pre.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=-%h/.config/sway/env
|
||||
ExecStart=/usr/bin/sway
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
ExecStartPre=/usr/bin/chvt %I
|
||||
ExecStart=/usr/bin/dbus-launch --exit-with-session /usr/bin/sway
|
||||
TTYPath=/dev/tty%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
TTYVTDisallocate=yes
|
||||
PAMName=login
|
||||
User=<user>
|
||||
WorkingDirectory=/home/<user>
|
||||
Environment=XDG_RUNTIME_DIR=/run/user/1000
|
||||
Environment=QT_WAYLAND_FORCE_DPI=100
|
||||
Environment=QT_PLUGIN_PATH=/usr/lib/kde4/plugins/
|
||||
Environment=QT_QPA_PLATFORM=wayland
|
||||
Environment=QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||
Environment=QT_QPA_PLATFORMTHEME=gtk3
|
||||
Environment=QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
Environment=GDK_BACKEND=wayland
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
StandardInput=tty
|
||||
StandardError=journal
|
||||
StandardOutput=journal
|
||||
Nice=-5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=graphical.target
|
||||
Alias=display-manager.service
|
||||
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Official Telegram Desktop client
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/telegram-desktop
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Standalone mail and news reader from mozilla.org
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/thunderbird
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=A lightweight overlay volume/backlight/progress/anything bar for Wayland
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/bin/mkfifo /tmp/sway.wob
|
||||
ExecStart=/usr/bin/tail -f /tmp/sway.wob | wob
|
||||
ExecStop=/usr/bin/rm /tmp/sway.wob
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Generic command-line automation tool
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/ydotoold
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=sway - SirCmpwn's Wayland window manager
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/chvt %I
|
||||
ExecStart=/usr/bin/dbus-launch --exit-with-session /usr/bin/sway
|
||||
TTYPath=/dev/tty%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
TTYVTDisallocate=yes
|
||||
PAMName=login
|
||||
User=frodo
|
||||
WorkingDirectory=/home/frodo
|
||||
Environment=XDG_RUNTIME_DIR=/run/user/1000
|
||||
Environment=QT_PLUGIN_PATH=/usr/lib/kde4/plugins/
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
StandardInput=tty
|
||||
StandardError=journal
|
||||
StandardOutput=journal
|
||||
Nice=-5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
Alias=display-manager.service
|
Loading…
Reference in New Issue