From c4207f913c4f42719cafd72471d8d66f4b48cb46 Mon Sep 17 00:00:00 2001 From: 2ndbeam <2ndbeam@disroot.org> Date: Thu, 27 Nov 2025 00:51:58 +0300 Subject: [PATCH] bump --- .config/sway/config | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 196bd21..8ad9622 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -12,6 +12,8 @@ set $term kitty # Your preferred application launcher set $menu wofi --show drun +font FantasqueSansMNerdFont Regular 12 + ### Output configuration # output * bg /home/secondbeam/Pictures/wallpaper/wof.jpg fill @@ -19,20 +21,20 @@ output * bg /home/secondbeam/Pictures/wallpaper/wof.jpg fill output eDP-1 { adaptive_sync on mode 1920x1080@144Hz - pos 0 0 + pos 1920 0 } # Secondary output output HDMI-A-1 { mode 1920x1080@60Hz - pos -1920 0 + pos 0 0 } ### Idle configuration # -exec swayidle -w \ - timeout 300 'swaylock -f -c 000000' \ - timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - before-sleep 'swaylock -f -c 000000' +#exec swayidle -w \ +# timeout 600 'swaylock -f -c 000000' \ +# timeout 1200 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ +# before-sleep 'swaylock -f -c 000000' ### Input configuration # @@ -192,11 +194,13 @@ bindsym $mod+r mode "resize" bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle + bindsym --locked XF86AudioNext exec mpc next + bindsym --locked XF86AudioPlay exec mpc toggle # Special keys to adjust brightness via brightnessctl bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ # Special key to take a screenshot with grim - bindsym Print exec slurp -o | grim -g - - | wl-copy + bindsym Print exec grim -g '1920,0 1920x1080' - | wl-copy bindsym $mod+Shift+s exec slurp | grim -g - - | wl-copy # @@ -208,7 +212,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while echo "\|$(mpc current | tr -d '\n')\| \|$(date +'%Y-%m-%d| |%X')\|"; do sleep 1; done + status_command while echo "$(mpc current | tr -d '\n') / A $(pactl get-sink-volume @DEFAULT_SINK@ | cut -d ' ' -f 6) / B $(brightnessctl -m | cut -d , -f 4) / $(date +'D %Y-%m-%d / T %T /')"; do sleep 1; done colors { statusline #ffffff