wip
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
static const unsigned int borderpx = 2;
|
||||
static const unsigned int gappx = 5;
|
||||
static const unsigned int gappx = 3;
|
||||
static const int showbar = 0;
|
||||
static const int topbar = 1;
|
||||
|
||||
@@ -40,7 +40,6 @@ static const Key keys[] = {
|
||||
{ MODKEY, XK_space, spawn, SHCMD("dmenu_run -l 6") },
|
||||
{ MODKEY, XK_f, spawn, SHCMD("librewolf") },
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("steam") },
|
||||
{ MODKEY, XK_t, spawn, SHCMD("/home/andrew/.local/bin/dmenu-sessionizer.sh") },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||
@@ -50,8 +49,8 @@ static const Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
||||
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
|
||||
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +2%") },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -2%") },
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%") },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5%") },
|
||||
|
||||
TAGKEYS(XK_1, 0) TAGKEYS(XK_2, 1) TAGKEYS(XK_3, 2)
|
||||
};
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
sessions=$(tmux ls -F '#S' 2>/dev/null)
|
||||
count=$(echo "$sessions" | wc -l)
|
||||
|
||||
# Clamp to max 10
|
||||
[ "$count" -gt 10 ] && count=10
|
||||
|
||||
tmux=$(tmux ls -F '#S' | dmenu -c -l $count -p "Sessions:")
|
||||
[ -z "$tmux" ] && exit 0
|
||||
ghostty -e tmux attach -t $tmux
|
||||
Reference in New Issue
Block a user