diff --git a/oxwm/.config/oxwm/config.lua b/oxwm/.config/oxwm/config.lua index a8769b9..1394c38 100644 --- a/oxwm/.config/oxwm/config.lua +++ b/oxwm/.config/oxwm/config.lua @@ -36,10 +36,14 @@ local blocks = { }), oxwm.bar.block.shell({ format = "{}", - command = "uname -r", - interval = 999999999, + command = "nmcli -t -f STATE general", color = colors.red, - underline = true, + underline = false, + interval = 5, + click = { + command = "st -e nmtui", + floating = true, + } }), oxwm.bar.block.static({ text = "│", @@ -54,7 +58,6 @@ local blocks = { color = colors.cyan, underline = true, }), - -- Uncomment to add battery status (useful for laptops) oxwm.bar.block.battery({ format = "Bat: {}%", charging = "⚡ Bat: {}%", @@ -63,9 +66,7 @@ local blocks = { interval = 30, color = colors.green, underline = true, - -- click: run a command when the block is clicked click = { command = "st -e btop", floating = true }, - -- click = { command = "bluetui", floating = true }, }), }; @@ -132,7 +133,7 @@ oxwm.key.bind({ modkey }, "XF86AudioLowerVolume", oxwm.spawn({ "wpctl set-volume oxwm.key.bind({ }, "XF86MonBrightnessUp", oxwm.spawn({ "brightnessctl set +10%" })) oxwm.key.bind({ }, "XF86MonBrightnessDown", oxwm.spawn({ "brightnessctl set 10%-" })) oxwm.key.bind({ modkey }, "XF86MonBrightnessUp", oxwm.spawn({ "brightnessctl set 100%" })) -oxwm.key.bind({ modkey }, "XF86MonBrightnessDown", oxwm.spawn({ "brightnessctl set 10%" })) +oxwm.key.bind({ modkey }, "XF86MonBrightnessDown", oxwm.spawn({ "brightnessctl set 0%" })) oxwm.key.bind({ modkey }, "1", oxwm.tag.view(0)) oxwm.key.bind({ modkey }, "2", oxwm.tag.view(1)) diff --git a/zsh/.zshrc b/zsh/.zshrc index f1e1e01..5314051 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -28,7 +28,7 @@ setopt auto_param_slash setopt dot_glob setopt extended_glob -export PATH="$HOME/.local/bin:$HOME/.local/go/bin:$HOME/opt/bin:$PATH" +export PATH="$HOME/.local/bin:$HOME/.local/go/bin:$HOME/opt/bin:$HOME/.cargo/bin:$PATH" export LD_LIBRARY_PATH="$HOME/opt/lib:${LD_LIBRARY_PATH:-}" alias ls='ls --color=auto'