diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/i3/config | 21 | ||||
| -rw-r--r-- | .config/i3status/config | 12 | ||||
| -rwxr-xr-x | .config/mpd/mpd.conf | 5 | ||||
| -rw-r--r-- | .config/pipewire/pipewire.conf | 28 | ||||
| -rw-r--r-- | .config/shell/aliasrc | 11 |
5 files changed, 38 insertions, 39 deletions
diff --git a/.config/i3/config b/.config/i3/config index 21c0928..a8743f5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -8,7 +8,8 @@ set $mod Mod4 # is used in the bar {} block below. font pango:Iosevka Term Custom 10 -for_window [class="floating"] floating enable +for_window [class="Tk"] floating enable +for_window [class="MVis"] floating enable # no_focus [all] # focus_on_window_activation none @@ -60,24 +61,12 @@ bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right -# # alternatively, you can use the cursor keys: -# bindsym $mod+Left focus left -# bindsym $mod+Down focus down -# bindsym $mod+Up focus up -# bindsym $mod+Right focus right - # move focused window bindsym $mod+Shift+H move left bindsym $mod+Shift+J move down bindsym $mod+Shift+K move up bindsym $mod+Shift+L move right -# # alternatively, you can use the cursor keys: -# bindsym $mod+Shift+Left move left -# bindsym $mod+Shift+Down move down -# bindsym $mod+Shift+Up move up -# bindsym $mod+Shift+Right move right - # split in horizontal orientation bindsym $mod+s split v @@ -143,12 +132,6 @@ mode "resize" { bindsym k resize shrink height 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt - # # same bindings, but for the arrow keys - # bindsym Left resize shrink width 10 px or 10 ppt - # bindsym Down resize grow height 10 px or 10 ppt - # bindsym Up resize shrink height 10 px or 10 ppt - # bindsym Right resize grow width 10 px or 10 ppt - # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" diff --git a/.config/i3status/config b/.config/i3status/config index 1af1927..c3c1691 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -32,21 +32,21 @@ ethernet wg0 { } cpu_temperature 0 { - format = "Tea: %degrees °C" -# path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input" - path = "/sys/devices/pci0000:00/0000:00:03.1/0000:2d:00.0/0000:2e:00.0/0000:2f:00.0/hwmon/hwmon2/temp1_input" + format = "temp: %degrees °C" + path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input" +# path = "/sys/devices/pci0000:00/0000:00:03.1/0000:2d:00.0/0000:2e:00.0/0000:2f:00.0/hwmon/hwmon2/temp1_input" } disk "/" { - format = "Porn: %used" + format = "root: %used" } load { - format = "Load: %1min" + format = "load: %1min" } memory { - format = "Memory: %used/%total" + format = "memory: %used/%total" threshold_degraded = "3GB" format_degraded = "MEMORY < %available" } diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 9d41600..234d6ce 100755 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -14,6 +14,11 @@ audio_output { name "Default" } +audio_output { + type "alsa" + name "ALSA" +} + # http streaming audio_output { type "httpd" diff --git a/.config/pipewire/pipewire.conf b/.config/pipewire/pipewire.conf index 3a622a0..0a71217 100644 --- a/.config/pipewire/pipewire.conf +++ b/.config/pipewire/pipewire.conf @@ -220,13 +220,13 @@ context.objects = [ # This creates a single PCM source device for the given # alsa device path hw:0. You can change source to sink # to make a sink in the same way. - #{ factory = adapter - # args = { - # factory.name = api.alsa.pcm.source - # node.name = "alsa-source" - # node.description = "PCM Source" - # media.class = "Audio/Source" - # api.alsa.path = "hw:0" + # { factory = adapter + # args = { + # factory.name = api.alsa.pcm.source + # node.name = "alsa-source" + # node.description = "PCM Source" + # media.class = "Audio/Source" + # api.alsa.path = "hw:Creative,0" # api.alsa.period-size = 1024 # api.alsa.headroom = 0 # api.alsa.disable-mmap = false @@ -235,8 +235,18 @@ context.objects = [ # audio.rate = 48000 # audio.channels = 2 # audio.position = "FL,FR" - # } - #} + # } + # } + + # { factory = adapter + # args = { + # factory.name = api.alsa.pcm.sink + # node.name = "alsa-dmix-internal" + # node.description = "PCM Internal" + # media.class = "Audio/Sink" + # api.alsa.path = "dmix:Creative,0" + # } + # } ] context.exec = [ diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index e65741a..a40c376 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -16,7 +16,6 @@ alias cam='mpv --profile=low-latency --untimed /dev/video0' alias df='df -h' alias tma='tmux a -t' alias tmn='tmux new-session -s' -alias sxiv='~/.local/bin/iv' alias wgu='sudo wg-quick up /etc/wireguard/wg0.conf' alias wgd='sudo wg-quick down /etc/wireguard/wg0.conf' alias zzz='sudo zzz' @@ -27,7 +26,7 @@ alias clang='clang -march=native -O3 -flto=thin' # rename files in cwd in their current order to 4-digit numbers alias ofn='/bin/ls | cat -n | while read n f; do rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' -# restart pipewire after suspend bug +# restart pipewire after suspend if it stops working alias pw-restart='pkill pipewire && sleep 3s && setsid pipewire &>/dev/null' # set preferred keyboard options @@ -104,6 +103,8 @@ alias dcomm='dfiles commit -m' alias dpush='dfiles push' # package management -alias xin='sudo xbps-install -S' -alias xup='sudo xbps-install -Su' -alias xqr='xbps-query -Rs' +alias xbin='sudo xbps-install -S' +alias xbup='sudo xbps-install -Su' +alias xbrm='sudo xbps-remove -R' +alias xbqr='xbps-query -Rs' +alias xbqm='xbps-query --list-manual-pkg' |
