Moved sway to --user service and other fixes

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2020-01-11 18:51:29 +02:00
parent 15210b6e68
commit f6bd12c582
9 changed files with 64 additions and 96 deletions

View file

@ -2,4 +2,4 @@
output * bg $wallpaper fill
output eDP-1 position 0 0
output HDMI-A-1 position 1900 0
output HDMI-A-1 position 1920 0

View file

@ -1,7 +1,7 @@
# vim:ft=sway
# Start applications in specific workspaces
assign [title="Telegram"] workspace 3
assign [app_id="telegramdesktop"] workspace 3
assign [app_id="thunderbird"] workspace 4
# Automatically switch to urgent workspace

View file

@ -39,7 +39,7 @@ bindsym $mod+Backspace exec makoctl invoke
bindsym Control+Escape exec makoctl dismiss
# activate lockscreen
bindsym Control+Shift+Backspace exec loginctl lock-session
bindsym Control+Shift+Backspace exec loginctl lock-session $(loginctl show-user $USER -p Sessions | cut -d'=' -f2)
# Move your focus around
bindsym $mod+h focus left

View file

@ -1,5 +1,3 @@
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'