aboutsummaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
authorjason2023-09-16 16:51:04 -0600
committerjason2023-09-16 16:51:04 -0600
commit02e04d2d142d9e43881a2f893fcdeec19b461626 (patch)
treed6f805cbab1aea5dd27298d1f1c82d3ab360947f /i3
parent9ce765451ed177619a7220ea8231462306956a12 (diff)
downloaddotfiles-02e04d2d142d9e43881a2f893fcdeec19b461626.tar.gz
dotfiles-02e04d2d142d9e43881a2f893fcdeec19b461626.zip
openbsd updates
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config12
-rw-r--r--i3/.i3status.conf16
2 files changed, 19 insertions, 9 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 59c1f9f..19a60cd 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -161,9 +161,15 @@ bindsym $mod+r mode "resize"
161# system76: apt install brightnessctl 161# system76: apt install brightnessctl
162# bindsym XF86MonBrightnessDown 162# bindsym XF86MonBrightnessDown
163# bindsym XF86MonBrightnessUp 163# bindsym XF86MonBrightnessUp
164bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% 164
165bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% 165# For OpenBSD
166bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob 166bindsym XF86AudioLowerVolume exec sndioctl output.level=-0.5
167bindsym XF86AudioRaiseVolume exec sndioctl output.level=+0.5
168bindsym XF86AudioMute exec sndioctl output.mute=!
169# For Linux/PulseAudio:
170#bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%
171#bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
172#bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob
167bindsym $alt+Shift+4 exec "flameshot gui" 173bindsym $alt+Shift+4 exec "flameshot gui"
168bindsym $alt+$ctrl+v exec "diodon" 174bindsym $alt+$ctrl+v exec "diodon"
169 175
diff --git a/i3/.i3status.conf b/i3/.i3status.conf
index 9af020b..5a91729 100644
--- a/i3/.i3status.conf
+++ b/i3/.i3status.conf
@@ -1,15 +1,19 @@
1general { 1general {
2# output_format = "xmobar" 2# output_format = "xmobar"
3 output_format = "i3bar"
4 color_good = "#468f3d"
5 color_degraded = "#E5871F"
6 color_bad = "#C83839"
3 colors = true 7 colors = true
4 interval = 5 8 interval = 5
5} 9}
6 10
7order += "ipv6" 11# order += "ipv6"
8order += "disk /" 12# order += "disk /"
9order += "run_watch DHCP" 13# order += "run_watch DHCP"
10order += "run_watch VPN" 14order += "run_watch VPN"
11order += "wireless _first_" 15order += "wireless _first_"
12order += "ethernet _first_" 16# order += "ethernet _first_"
13order += "battery 0" 17order += "battery 0"
14order += "load" 18order += "load"
15order += "volume master" 19order += "volume master"
@@ -30,10 +34,10 @@ ethernet _first_ {
30battery 0 { 34battery 0 {
31 format = "%status %percentage %remaining" 35 format = "%status %percentage %remaining"
32 format_down = "No battery" 36 format_down = "No battery"
33 status_chr = " CHR" 37 status_chr = "🔌 CHR"
34 status_bat = "🔋 BAT" 38 status_bat = "🔋 BAT"
35 status_unk = "? UNK" 39 status_unk = "? UNK"
36 status_full = " FULL" 40 status_full = "🔌 FULL"
37 path = "/sys/class/power_supply/BAT%d/uevent" 41 path = "/sys/class/power_supply/BAT%d/uevent"
38 low_threshold = 10 42 low_threshold = 10
39} 43}