Move Sway to systemd
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
7b5b1019cc
commit
2c3d93ebee
26 changed files with 264 additions and 131 deletions
|
@ -1,6 +0,0 @@
|
|||
# vim:ft=sway
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
output eDP-1
|
||||
}
|
|
@ -10,7 +10,7 @@ seat * hide_cursor 4000
|
|||
###### Borders ######
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #8AC6F2 #8AC6F2 #292D3E #8AC6F2 #8AC6F2
|
||||
client.focused_active #292D3E #FFFFFF #FFFFFF #292D3E #292D3E
|
||||
client.focused_inactive #292D3E #FFFFFF #FFFFFF #292D3E #292D3E
|
||||
client.unfocused #292D3E #292D3E #FFFFFF #282828 #292D3E
|
||||
|
||||
for_window [app_id="^.*"] border pixel 4
|
15
home/.config/sway/conf.d/07-exec.conf
Normal file
15
home/.config/sway/conf.d/07-exec.conf
Normal file
|
@ -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'
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
XDG_SESSION_TYPE=wayland
|
||||
|
||||
# Fix java on wayland
|
||||
_JAVA_AWT_WM_NONREPARENTING=1
|
||||
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
|
||||
|
@ -15,5 +17,5 @@ MOZ_WEBRENDER=1
|
|||
# Fix redshift on wlroots
|
||||
WLR_DRM_NO_ATOMIC=1
|
||||
|
||||
# Make clutter programs use wayland
|
||||
CLUTTER_BACKEND=wayland
|
||||
# Use wayland in SDL2
|
||||
SDL_VIDEODRIVER=wayland
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue