Compare commits
1 commit
03c671307b
...
5a1f8d3754
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a1f8d3754 |
4 changed files with 18 additions and 1 deletions
3
.config/setup/04-install-sway-session.sh
Executable file
3
.config/setup/04-install-sway-session.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /usr/bin/sh
|
||||||
|
|
||||||
|
sudo cp "$(systemd-path user-configuration)"/setup/sway.desktop /usr/share/wayland-sessions/
|
||||||
7
.config/setup/sway.desktop
Normal file
7
.config/setup/sway.desktop
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=0.1
|
||||||
|
Name=Sway
|
||||||
|
Comment=An i3-compatible Wayland compositor
|
||||||
|
Exec=/home/ohad/.local/bin/run-sway
|
||||||
|
Type=Application
|
||||||
|
DesktopNames=sway
|
||||||
7
.local/bin/run-sway
Executable file
7
.local/bin/run-sway
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#! /usr/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
|
||||||
|
source "$(systemd-path user)"/.profile
|
||||||
|
exec /usr/bin/sway
|
||||||
2
.profile
2
.profile
|
|
@ -37,7 +37,7 @@ fi
|
||||||
|
|
||||||
umask 0007
|
umask 0007
|
||||||
|
|
||||||
for filename in "$(systemd-path user-configuration)"/environment/*; do
|
for filename in $(systemd-path user-configuration)/environment/*; do
|
||||||
. "$filename"
|
. "$filename"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue