Some changes to sway config

This commit is contained in:
Cheri 2022-09-20 19:21:07 +03:00 committed by vib
parent f4142c4e89
commit d7902c56f1
3 changed files with 18 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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:
#