Mess
This commit is contained in:
@@ -29,9 +29,12 @@ set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
output * pos 1920 0 res 1920 1080
|
||||
#output eDP-1 pos 0 300 res 3840 2160 scale 1
|
||||
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 3840 0 res 2560 1440
|
||||
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 2560 1440
|
||||
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 0 res 1920 1080
|
||||
output HDMI-A-3 pos 1920 0 res 1920 1080
|
||||
output * bg ~/wallpapers/filianore-u.jpg fill
|
||||
focus output eDP-1
|
||||
@@ -125,6 +128,7 @@ input "1739:0:Synaptics_TM3276-031" {
|
||||
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
|
||||
#bindsym Shift+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - > /home/rhiobet/screenshots/$(date +%s).png
|
||||
|
||||
#
|
||||
# Moving around:
|
||||
@@ -277,9 +281,11 @@ include /etc/sway/config.d/*
|
||||
assign [class="discord"] workspace 3
|
||||
assign [class="Spotify"] workspace 3
|
||||
for_window [class="Spotify"] opacity 0.8
|
||||
for_window [app_id="boop-gtk"] floating enable
|
||||
|
||||
#exec redshift -O 4500 -m wayland
|
||||
exec nm-applet --indicator
|
||||
exec wlanthy -i pass
|
||||
|
||||
# exec ~/.local/start-jack.sh
|
||||
|
||||
|
||||
@@ -9,11 +9,12 @@ good_bg = "#859900cc"
|
||||
warning_bg = "#b58900cc"
|
||||
critical_bg = "#dc322fcc"
|
||||
alternating_tint_bg = "#00000000"
|
||||
separator = ""
|
||||
separator = "<span font='12'>\ue0b2</span>"
|
||||
#separator = ""
|
||||
|
||||
[[block]]
|
||||
block = "focused_window"
|
||||
max_width = 100
|
||||
#[[block]]
|
||||
#block = "focused_window"
|
||||
#max_width = 100
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
@@ -25,19 +26,22 @@ marquee = true
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
driver = "alsa"
|
||||
#device = "hw:0"
|
||||
driver = "auto"
|
||||
show_volume_when_muted = true
|
||||
headphones_indicator = true
|
||||
step_width = 3
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "{Mum}MB"
|
||||
format_mem = "{mem_used;M}"
|
||||
clickable = false
|
||||
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
|
||||
|
||||
#[[block]]
|
||||
#block = "sound"
|
||||
@@ -46,6 +50,23 @@ interval = 1
|
||||
block = "battery"
|
||||
interval = 10
|
||||
|
||||
[[block]]
|
||||
block = "pacman"
|
||||
interval = 600
|
||||
format = "{both} updates available"
|
||||
format_singular = "{both} update available"
|
||||
format_up_to_date = "up to date"
|
||||
hide_when_uptodate = true
|
||||
critical_updates_regex = "(^(linux-|sway|wl)|pipewire)"
|
||||
aur_command = "yay -Qua"
|
||||
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf zsh -i -c update"
|
||||
|
||||
[[block]]
|
||||
block = "networkmanager"
|
||||
on_click = "networkmanager_dmenu"
|
||||
device_format = "{icon}{ap}"
|
||||
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 60
|
||||
|
||||
@@ -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" ] || [ "$app_name" = "Chromium" ]; then
|
||||
elif [[ "$app_name" == *"chrom"* ]] || [[ "$app_name" == *"Chrom"* ]]; then
|
||||
case "$(jq -r '.container.name' <<< $event)" in
|
||||
*YouTube*)
|
||||
app_name=""
|
||||
|
||||
Reference in New Issue
Block a user