From d7902c56f1ea872d8b25fa3fd60c4d5c8c13dd43 Mon Sep 17 00:00:00 2001 From: Cheri Date: Tue, 20 Sep 2022 19:21:07 +0300 Subject: [PATCH] Some changes to sway config --- sway/config | 5 +++-- sway/config.d/devices.conf | 9 +++++++++ sway/config.d/keybinds.conf | 6 ++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sway/config b/sway/config index ea3b04c..853eed6 100644 --- a/sway/config +++ b/sway/config @@ -17,8 +17,8 @@ exec --no-startup-id dbus-update-activation-environment --systemd DISPLAY WAYLAN ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg ~/Pictures/wallpapers/purple-girl-goo.png fill -output HDMI-A-2 bg ~/Pictures/wallpapers/1659127462058350.jpg fill +output * bg ~/.local/share/wallpapers/bg1 fill +output HDMI-A-2 bg ~/.local/share/wallpapers/bg2 fill # # Example configuration: # @@ -63,6 +63,7 @@ bar { for_window [shell="xwayland"] title_format "%title [XWayland]" for_window [app_id="flameshot"] floating enable, fullscreen disable, move absolute position 0 0, border pixel 0 for_window [app_id="copyq"] floating enable, move position pointer +for_window [class="Nextcloud"] floating enable, move position pointer for_window [app_id="pavucontrol"] floating enable for_window [app_id="galculator"] floating enable diff --git a/sway/config.d/devices.conf b/sway/config.d/devices.conf index 46ba6e0..e425221 100644 --- a/sway/config.d/devices.conf +++ b/sway/config.d/devices.conf @@ -11,6 +11,15 @@ # # 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. +# + +output DP-2 position 0 0 +output HDMI-A-2 position 1920 0 + +input type:keyboard { + xkb_layout "ro" +} + input type:pointer { accel_profile flat pointer_accel -0.15 diff --git a/sway/config.d/keybinds.conf b/sway/config.d/keybinds.conf index fcc86db..8ccc986 100644 --- a/sway/config.d/keybinds.conf +++ b/sway/config.d/keybinds.conf @@ -101,6 +101,12 @@ # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. + # Move a workspace to another monitor + bindsym $mod+comma move workspace to output left + bindsym $mod+period move workspace to output right + + bindsym $mod+tab workspace back_and_forth + # # Layout stuff: #