Compare commits

...

5 commits

8 changed files with 44 additions and 34 deletions

View file

@ -16,11 +16,10 @@ swaymsg workspace "2"
swaymsg exec browser
sleep 2
swaymsg workspace "5"
swaymsg exec foot -- bash -c "~/bin/somafm-picker"
sleep 0.3
swaymsg workspace "1"
swaymsg exec foot
sleep 0.3
swaymsg exec foot "${HOME}/bin/music-picker"
sleep 0.3 swaymsg workspace "1"
swaymsg exec foot sleep 0.3
swaymsg workspace "3"
swaymsg layout tabbed
swaymsg exec start-comms

View file

@ -1,11 +1,4 @@
# Set up the system, user profile, and related variables.
# /etc/profile will be sourced by bash automatically
# Set up the home environment profile.
if [ -f ~/.profile ]; then source ~/.profile; fi
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
source ~/.bashrc
while read -r l; do
eval export $l

View file

@ -1,7 +1,9 @@
font=MonaspiceNe Nerd Font:size=12,JetBrainsMono Nerd Font:pixelsize=14:weight=Regular,OpenMoji Color:size=14
initial-window-size-chars=80x40
pad=15x15
notify=notify-send -a foot -i foot ${title} ${body}
[desktop-notifications]
command=notify-send -a foot -i foot ${title} ${body}
[tweak]
font-monospace-warn=no

View file

@ -1,5 +1,5 @@
[Install]
WantedBy=graphical-session.target
WantedBy=sway-session.target
[Service]
Type=notify
@ -10,7 +10,6 @@ Environment=COLORTERM=truecolor
[Unit]
Description=Emacs comacs daemon
After=graphical-session.target
Requires=graphical-session.target
PartOf=graphical-session.target
After=sway-session.target
PartOf=sway-session.target
X-RestartIfChanged=false

View file

@ -1,15 +1,15 @@
[Install]
WantedBy=graphical-session.target
WantedBy=sway-session.target
[Service]
Type=notify
ExecStart=/usr/bin/emacs --fg-daemon=emacs
Restart=on-failure
Environment=COLORTERM=truecolor
SuccessExitStatus=15
[Unit]
Description=Emacs emacs daemon
After=graphical-session.target
Requires=graphical-session.target
PartOf=graphical-session.target
After=sway-session.target
PartOf=sway-session.target
X-RestartIfChanged=false

View file

@ -1,13 +1,13 @@
[Install]
WantedBy=graphical-session.target
WantedBy=sway-session.target
[Service]
ExecStart=/home/bascht/bin/alfaview-sway-event-bus
#ExecCondition=/bin/sh -c '[ -n "$WAYLAND_DISPLAY" ]'
Restart=on-failure
RestartSec=5
#RestartSec=5
[Unit]
Description=Launch the my own alfaview event bus
After=graphical-session.target
PartOf=graphical-session.target
Requires=graphical-session.target
After=sway-session.target
PartOf=sway-session.target

View file

@ -0,0 +1,19 @@
# This file is mostly from https://github.com/swaywm/sway/wiki/Systemd-integration
[Unit]
Description=sway - SirCmpwn's Wayland window manager
Documentation=man:sway(5)
BindsTo=sway-session.target
Wants=sway-session-pre.target
After=sway-session-pre.target
Before=sway-session.target
[Service]
Type=notify
EnvironmentFile=-%h/.config/sway/env
ExecStart=/usr/bin/sway-nvidia
Restart=on-failure
RestartSec=1
TimeoutStopSec=10
NotifyAccess=all
ExecStopPost=/usr/bin/systemctl --user unset-environment SWAYSOCK DISPLAY I3SOCK WAYLAND_DISPLAY

View file

@ -1,17 +1,15 @@
[Install]
WantedBy=graphical-session.target
WantedBy=sway-session.target
[Service]
Type=simple
Type=notify
ExecStart=/usr/bin/emacs --fg-daemon=workmacs
ExecStop=/usr/bin/emacsclient -s workmacs --no-wait --eval '(progn (setq kill-emacs-hook nil) (kill emacs))'
Restart=on-failure
Environment=COLORTERM=truecolor
Environment=DOOMPROFILE=workmacs
SuccessExitStatus=15
[Unit]
Description=Emacs workmacs daemon
After=graphical-session.target
Requires=graphical-session.target
PartOf=graphical-session.target
After=sway-session.target
PartOf=sway-session.target
X-RestartIfChanged=false