From f089998c064cc0d17b31dd5997cb2564e645f7a8 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Thu, 7 Jul 2022 21:39:46 -0400 Subject: [PATCH] modified sway, alacritty conf --- config/alacritty/alacritty.yml | 2 +- config/sway/config | 32 +++++++++++++++++++++++++++----- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index 7511cb2..64e9129 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -19,7 +19,7 @@ font: size: 11 # Opacity -background_opacity: 0.90 +window.opacity: 0.90 # Gruvbox colors: diff --git a/config/sway/config b/config/sway/config index b48b6ed..0a4d6ec 100644 --- a/config/sway/config +++ b/config/sway/config @@ -12,12 +12,28 @@ set $term alacritty set $menu wofi --show run ### Output configuration -output HDMI-A-1 pos 0 0 res 1920x1080 +output DP-1 pos 0 0 res 1920x1080 +output HDMI-A-1 pos -1920 0 res 1920x1080 output DVI-D-1 pos 1920 0 res 1920x1080 -# Wallpaper -output HDMI-A-1 bg ~/.wallpaper.jpeg fill -output DVI-D-1 bg ~/.wallpaper.jpeg fill +### Wallpaper +output HDMI-A-1 bg ~/.wallpaper.png fill +output DVI-D-1 bg ~/.wallpaper.png fill +output DP-1 bg ~/.wallpaper.png fill + +### Workspace binding + +## DP-1 bindings +workspace 1 output DP-1 +workspace 2 output DP-1 +workspace 4 output DP-1 + +## HDMI-A-1 bindings +workspace 3 output HDMI-A-1 + +## DVI-D-1 bindings +workspace 6 output DVI-D-1 +workspace 7 output DVI-D-1 ### Colour options set $bg #40291a @@ -148,6 +164,12 @@ floating_modifier $mod normal # Move focus to the parent container bindsym $mod+a focus parent +### Taking screenshots + # Take a screenshot of all monitors + bindsym Print exec grim -t jpeg ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg + + # Take a screenshot of a given selection + bindsym $mod+Print exec grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpeg ### Resizing containers mode "resize" { bindsym $left resize shrink width 10px @@ -194,8 +216,8 @@ default_border pixel 2 gaps inner 10px # Applications -exec spotifyd exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec mako set $opacity 1.00 for_window [class=".*"] opacity $opacity