commit 6178d04fc0b3a756bdec200aee9fb39c9a37cef3
parent 28fca62ea5010564263986f719fb814851ba0571
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date: Wed, 20 May 2026 20:51:43 +0200
FIx sway next/prev, add :e and crun
Diffstat:
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/scripts/.local/bin/:e b/scripts/.local/bin/:e
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec $EDITOR "$@"
diff --git a/scripts/.local/bin/crun b/scripts/.local/bin/crun
@@ -0,0 +1,3 @@
+#!/usr/bin/bash
+CLANG_VERSION=${CLANG_VERSION:-$(clang -dumpversion | cut -d. -f1)}
+tail -n+2 "$1" | clang-$CLANG_VERSION -S -emit-llvm -x c -o - - | exec lli-$CLANG_VERSION --fake-argv0 "$1" - "${@:2}"
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
@@ -118,9 +118,9 @@ bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_AUDIO_SINK@ t
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioStop exec --no-startup-id playerctl stop
bindsym XF86AudioNext exec --no-startup-id playerctl next
-bindsym XF86AudioPrev exec --no-startup-id playerctl prev
+bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym Ctrl+XF86AudioRaiseVolume exec --no-startup-id playerctl next
-bindsym Ctrl+XF86AudioLowerVolume exec --no-startup-id playerctl next
+bindsym Ctrl+XF86AudioLowerVolume exec --no-startup-id playerctl previous
bindsym $mod+c exec mlterm-wl -g 100x30 -N com.sub.tui -e tmux new-session -A -s subtui SubTUI