chore: small updates
d4508d90
2 file(s) · +17 −18
| 22 | 22 | local modkey = "Mod4" |
|
| 23 | 23 | ||
| 24 | 24 | -- Terminal emulator command (defaults to alacritty) |
|
| 25 | - | local terminal = "wezterm" |
|
| 25 | + | local terminal = "st" |
|
| 26 | 26 | ||
| 27 | 27 | -- Color palette - customize these to match your theme |
|
| 28 | 28 | -- Alternatively you can import other files in here, such as |
|
| 68 | 68 | color = colors.green, |
|
| 69 | 69 | underline = false, |
|
| 70 | 70 | }), |
|
| 71 | - | -- oxwm.bar.block.shell({ |
|
| 72 | - | -- format = "{}", |
|
| 73 | - | -- command = "uname -r", |
|
| 74 | - | -- interval = 999999999, |
|
| 75 | - | -- color = colors.red, |
|
| 76 | - | -- underline = true, |
|
| 77 | - | -- }), |
|
| 78 | - | -- oxwm.bar.block.static({ |
|
| 79 | - | -- text = "│", |
|
| 80 | - | -- interval = 999999999, |
|
| 81 | - | -- color = colors.lavender, |
|
| 82 | - | -- underline = false, |
|
| 83 | - | -- }), |
|
| 71 | + | oxwm.bar.block.shell({ |
|
| 72 | + | format = "{}", |
|
| 73 | + | command = "/home/stevedylandev/scripts/weather.sh -h", |
|
| 74 | + | interval = 999999999, |
|
| 75 | + | color = colors.red, |
|
| 76 | + | underline = true, |
|
| 77 | + | }), |
|
| 78 | + | oxwm.bar.block.static({ |
|
| 79 | + | text = "│", |
|
| 80 | + | interval = 999999999, |
|
| 81 | + | color = colors.green, |
|
| 82 | + | underline = false, |
|
| 83 | + | }), |
|
| 84 | 84 | oxwm.bar.block.datetime({ |
|
| 85 | 85 | format = "{}", |
|
| 86 | 86 | date_format = "%a, %b %d - %-I:%M %P", |
|
| 111 | 111 | oxwm.set_tags(tags) |
|
| 112 | 112 | ||
| 113 | 113 | -- Set default layout (tiling by default) |
|
| 114 | - | -- oxwm.set_layout("tiling") |
|
| 114 | + | oxwm.set_layout("dwindle") |
|
| 115 | 115 | ||
| 116 | 116 | ------------------------------------------------------------------------------- |
|
| 117 | 117 | -- Layouts |
|
| 144 | 144 | ||
| 145 | 145 | -- Where floating windows spawn: "top-left", "top-center", "top-right", |
|
| 146 | 146 | -- "center-left", "center", "center-right", "bottom-left", "bottom-center", "bottom-right" |
|
| 147 | - | oxwm.set_floating_position("top-right") |
|
| 147 | + | oxwm.set_floating_position("center") |
|
| 148 | 148 | ||
| 149 | 149 | -- Smart Enabled = No border if 1 window |
|
| 150 | 150 | oxwm.gaps.set_smart(false) |
|
| 219 | 219 | ||
| 220 | 220 | oxwm.key.bind({ modkey }, "Return", oxwm.spawn_terminal()) |
|
| 221 | 221 | -- Launch Dmenu |
|
| 222 | - | oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "sh", "-c", "dmenu_run -l 10" })) |
|
| 222 | + | oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "sh", "-c", "dmenu_run -c -l 10" })) |
|
| 223 | 223 | -- Save screenshot to ~/Downloads |
|
| 224 | 224 | oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "sh", "-c", "maim -s ~/Downloads/screenshot-$(date +%Y%m%d-%H%M%S).png" })) |
|
| 225 | 225 | oxwm.key.bind({ modkey }, "O", oxwm.spawn({ "sh", "-c", "helium.AppImage --no-sandbox" })) |
|
| 1 | 1 | set -g default-terminal "xterm-256color" |
|
| 2 | 2 | set-option -ga terminal-overrides ",xterm-256color:Tc" |
|
| 3 | 3 | set -ga terminal-overrides ",xterm-256color:Tc" |
|
| 4 | - | set-option -g default-shell /usr/bin/nu |
|
| 5 | 4 | set -g extended-keys on |
|
| 6 | 5 | set -g extended-keys-format csi-u |
|
| 7 | 6 |