head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.38 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.36 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.34 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.32 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.30 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.28 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.26 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.24 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.22 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.20 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.18 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.16 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.14 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.12 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.10 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.8 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.6 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.4 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.2 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.1.0.8 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.6 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.4 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.2 pkgsrc-2020Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2021.09.12.07.22.47; author nia; state Exp; branches; next 1.1; commitid NB7MeTX5XWFRvD8D; 1.1 date 2020.09.25.12.35.48; author nia; state Exp; branches; next ; commitid D7CQQbdGlNzIyqpC; desc @@ 1.2 log @i3: update to 4.19.2 ┌────────────────────────────┐ │ Changes in i3 v4.19 │ └────────────────────────────┘ • userguide: explain button6 and button7 (scroll wheel right/left) • ipc: always include the marks property (even if empty) • ipc: introduce GET_BINDING_STATE command • ipc: clarify workspace name field semantics • ipc: document parse_error COMMAND reply field • i3bar: launch using exec to avoid leaving useless shell process • i3bar: make dock client order deterministic (sorted by class/instance) as a side effect, i3bars without an explicit bar-id will be sorted according to their definition order in the config file • i3bar: update config when necessary (reduces redraws on bar mode changes) • i3bar: add coordinates relative to the current output in i3bar click events • i3bar: add “nonprimary” output option • i3bar: set WM_CLASS instance to bar id • i3-input: add different exit codes for when i3-input fails • i3-dmenu-desktop: Support symlinks in search path • pod2html: render without stylesheet by default • introduce “tiling_from” and ”floating_from” criteria • mention rofi in default config file • allow ppt values in move direction and move position commands • allow matching on empty properties like class, title, etc. @ text @$NetBSD: patch-etc_config,v 1.1 2020/09/25 12:35:48 nia Exp $ Useful default volume controls for NetBSD. --- etc/config.orig 2021-02-27 09:37:58.746645500 +0000 +++ etc/config @@@@ -22,18 +22,22 @@@@ font pango:monospace 8 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec --no-startup-id nm-applet +#exec --no-startup-id nm-applet -# Use pactl to adjust volume in PulseAudio. +# Use mixerctl to adjust volume in NetBSD. set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @@DEFAULT_SINK@@ +10% && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @@DEFAULT_SINK@@ -10% && $refresh_i3status -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @@DEFAULT_SINK@@ toggle && $refresh_i3status -bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @@DEFAULT_SOURCE@@ toggle && $refresh_i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id mixerctl -w outputs.master+=15 && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id mixerctl -w outputs.master-=15 && $refresh_i3status + +# Use pactl to adjust volume in PulseAudio. +#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @@DEFAULT_SINK@@ +10% && $refresh_i3status +#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @@DEFAULT_SINK@@ -10% && $refresh_i3status +#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @@DEFAULT_SINK@@ toggle && $refresh_i3status +#bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @@DEFAULT_SOURCE@@ toggle && $refresh_i3status # use these keys for focus, movement, and resize directions when reaching for # the arrows is not convenient @ 1.1 log @i3: improve default config - do not attempt to start networkmanager etc - make volume buttons useful on netbsd bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- etc/config.orig 2020-07-26 08:11:37.000000000 +0000 d7 1 a7 1 @@@@ -22,18 +22,24 @@@@ font pango:monospace 8 a27 2 +bindsym XF86AudioMute exec --no-startup-id mixerctl -w outputs.master=0 && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id mixerctl -w inputs.reclevel=0 && $refresh_i3status @