Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37525178
en ru br
ALT Linux repos
S:1.8.1-alt1

Group :: Graphical desktop/Other
RPM: sway

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0001-Change-config.patch
Download


From 8c4477e882ff1dde9bd7ba6cc250efd0c5dfd453 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Sat, 25 Dec 2021 19:35:40 +0300
Subject: Change config
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 config.in | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/config.in b/config.in
index 3eda7ac7..fb487945 100644
--- a/config.in
+++ b/config.in
@@ -18,7 +18,7 @@ set $term foot
 # Your preferred application launcher
 # Note: pass the final command to swaymsg so that the resulting window can be opened
 # on the original workspace that the command was run on.
-set $menu dmenu_path | dmenu | xargs swaymsg exec --
+set $menu dmenu-wl_path | dmenu-wl | xargs swaymsg exec --
 
 ### Output configuration
 #
@@ -58,6 +58,13 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
 # You can get the names of your inputs by running: swaymsg -t get_inputs
 # Read `man 5 sway-input` for more information about this section.
 
+# set $input "1452:594:Apple_Inc._Apple_Internal_Keyboard_/_Trackpad"
+#
+# input "$input" {
+#    xkb_layout  us,ru
+#    xkb_options grp:caps_toggle
+# }
+
 ### Key bindings
 #
 # Basics:
@@ -202,6 +209,15 @@ bindsym $mod+r mode "resize"
 # Read `man 5 sway-bar` for more information about this section.
 bar {
     position top
+    swaybar_command swaybar
+
+    # Highly customizable Wayland bar for Sway
+    # Requires: waybar
+    #swaybar_command env \
+    #    -u DISPLAY \
+    #    GDK_BACKEND=wayland \
+    #    XDG_SESSION_TYPE=wayland \
+    #    waybar
 
     # When the status_command prints a new line to stdout, swaybar updates.
     # The default just shows the current date and time.
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin