Updates
This commit is contained in:
@@ -31,6 +31,7 @@ set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
|
||||
output * pos 1920 0 res 1920 1080
|
||||
output eDP-1 pos 0 300 res 3840 2160
|
||||
output "Goldstar Company Ltd M2080D 0x00000101" pos 1920 0 res 1920 1080
|
||||
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 2560 1440
|
||||
output HDMI-A-3 pos 1920 0 res 1920 1080
|
||||
output * bg ~/wallpapers/filianore-u.jpg fill
|
||||
focus output eDP-1
|
||||
@@ -121,7 +122,10 @@ input "1739:0:Synaptics_TM3276-031" {
|
||||
'swaymsg exit'
|
||||
|
||||
# Screenshot
|
||||
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy -t image/png
|
||||
bindsym Print exec slurp -d | grim -g - - | wl-copy -t image/png
|
||||
bindsym Ctrl+Print exec swaymsg -t get_tree | jq -r 'recurse(.nodes[], .floating_nodes[]) | select(.focused and .pid).rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - - | wl-copy -t image/png
|
||||
bindsym Shift+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
||||
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
@@ -277,7 +281,7 @@ for_window [class="Spotify"] opacity 0.8
|
||||
#exec redshift -O 4500 -m wayland
|
||||
exec nm-applet --indicator
|
||||
|
||||
#exec ~/.local/start-jack.sh
|
||||
# exec ~/.local/start-jack.sh
|
||||
|
||||
exec ~/.config/sway/workspace-rename.sh
|
||||
|
||||
@@ -293,3 +297,6 @@ exec discord
|
||||
exec spotify
|
||||
|
||||
exec xrdb -load ~/.Xresources
|
||||
|
||||
# Application keybinds
|
||||
bindsym Ctrl+m exec mpv $(wl-paste -t text)
|
||||
|
||||
@@ -13,7 +13,7 @@ swaymsg -t subscribe -m '[ "window" ]' | while read -r event ; do
|
||||
|
||||
if [ "$app_name" = "kitty" ] ; then
|
||||
app_name=""
|
||||
elif [ "$app_name" = "chromium" ] ; then
|
||||
elif [ "$app_name" = "chromium" ] || [ "$app_name" = "Chromium" ]; then
|
||||
case "$(jq -r '.container.name' <<< $event)" in
|
||||
*YouTube*)
|
||||
app_name=""
|
||||
|
||||
Reference in New Issue
Block a user