Revert "Swtich back from running apps with systemd"

This reverts commit 6b0a66e6be.
This commit is contained in:
Aleksey Samoilov 2023-06-10 22:14:39 +04:00
parent 692e443f9e
commit a41cccb120
10 changed files with 1 additions and 47 deletions

2
debian/control vendored
View file

@ -8,7 +8,7 @@ Homepage: https://github.com/Tile-OS/tileos-settings-sway.git
Rules-Requires-Root: no
Package: tileos-settings-sway
Architecture: all
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: tileos-settings-river
Description: default settings for Sway on TileOS

View file

@ -1,5 +0,0 @@
{
"include": [
"/etc/xdg/xdg-tileos/waybar/config.jsonc"
]
}

View file

@ -1 +0,0 @@
@import "/etc/xdg/xdg-tileos/waybar/style.css";

View file

@ -1,9 +0,0 @@
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
id default
swaybar_command /usr/share/sway/scripts/waybar.sh
position top
}

View file

@ -3,9 +3,7 @@
exec {
$polkit_agent
$idle
$swappy_notify
$dex_autostart
$wlsunset
$autotiling
$term_server
@ -18,10 +16,8 @@ exec_always {
$kanshi
$spice_vdagent
$nwg_drawer_daemon
$poweralertd
$watch_playerctl
$calendar_daemon
$import_gsettings
$update_rofi_theme
$swayr_daemon
}

View file

@ -2,9 +2,6 @@
# from /usr/bin/start-sway script for all users of the system.
# User-specific variables should be placed in $XDG_CONFIG_HOME/sway/environment
# TileOS specific config dir
export XDG_CONFIG_DIRS=/etc/xdg/xdg-tileos:/etc/xdg
# Force Wayland for Mozilla Firefox
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1

View file

@ -113,15 +113,6 @@ set $kanshi '[ -x "$(command -v kanshi)" ] && pkill kanshi; exec kanshi'
# Workaround for applying GTK theme
set $import_gsettings '[ -f /usr/share/sway/scripts/import-gsettings.sh ] && /usr/share/sway/scripts/import-gsettings.sh'
# Dex autostart daemon
set $dex_autostart '[ -x "$(command -v dex)" ] && gdbus wait --session org.kde.StatusNotifierWatcher && dex --autostart'
# Swayr daemon
set $swayr_daemon '[ -x "$(command -v swayrd)" ] && env RUST_BACKTRACE=1 RUST_LOG=swayr=debug swayrd &> /tmp/swayrd.log'
# Power notifications daemon
set $poweralertd '[ -x "$(command -v poweralertd)" ] && pkill poweralertd; poweralertd -s -i "line power" &'
# Start PCmanFM as a daemon
set $pcmanfm_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d'

View file

@ -1,15 +0,0 @@
#!/bin/sh
# wrapper script for waybar with args, see https://github.com/swaywm/sway/issues/5724
USER_CONFIG_PATH=$HOME/.config/waybar/config.jsonc
USER_STYLE_PATH=$HOME/.config/waybar/style.css
if [ -f "$USER_CONFIG_PATH" ]; then
USER_CONFIG=$USER_CONFIG_PATH
fi
if [ -f "$USER_STYLE_PATH" ]; then
USER_STYLE=$USER_STYLE_PATH
fi
waybar -c "${USER_CONFIG:-"/etc/xdg/xdg-tileos/waybar/config.jsonc"}" -s "${USER_STYLE:-"/etc/xdg/xdg-tileos/waybar/style.css"}" &