Config updates
15d4d488a13584bb3268c669b8622b4988ddaca4
1 parent
c1ac356a
.config/foot/foot.ini
+1 -1
| 53 | 53 | button-color=ffdddddd |
|
| 54 | 54 | button-minimize-color=ff000000 |
|
| 55 | 55 | button-maximize-color=ff000000 |
|
| 56 | 56 | button-close-color=ffb03060 |
|
| 57 | 57 | border-color=ff333333 |
|
| 58 | - | border-width=0 |
|
| 58 | + | border-width=1 |
.config/swm/config.h
+25 -8
| 75 | 75 | { "eDP-1", 2, WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, */ |
|
| 76 | 76 | { nullptr, 2.0, WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, |
|
| 77 | 77 | /* Keep at least one fallback rule. */ |
|
| 78 | 78 | }; |
|
| 79 | 79 | ||
| 80 | - | /* XKB keyboard layout shared by physical keyboards. */ |
|
| 81 | - | static const struct xkb_rule_names xkb_rules = { |
|
| 82 | - | /* XKB layout name. */ |
|
| 83 | - | .layout = "us", |
|
| 84 | - | /* Layout variant; altgr-intl provides international characters via AltGr. */ |
|
| 85 | - | .variant = "altgr-intl", |
|
| 86 | - | /* Comma-separated XKB options, or nullptr for none. */ |
|
| 87 | - | .options = nullptr, |
|
| 80 | + | /* Keyboard rules match the exact device name. The final rule must have a null |
|
| 81 | + | * name and applies to keyboards without a named rule. */ |
|
| 82 | + | static const keyboard_rule_t keyboardrules[] = { |
|
| 83 | + | { |
|
| 84 | + | .name = "AT Translated Set 2 keyboard", |
|
| 85 | + | .xkb = { |
|
| 86 | + | /* XKB layout name. */ |
|
| 87 | + | .layout = "us", |
|
| 88 | + | /* Layout variant; altgr-intl provides international characters via AltGr. */ |
|
| 89 | + | .variant = "altgr-intl", |
|
| 90 | + | /* Comma-separated XKB options, or nullptr for none. */ |
|
| 91 | + | .options = "altwin:swap_alt_win", |
|
| 92 | + | }, |
|
| 93 | + | }, |
|
| 94 | + | { |
|
| 95 | + | .name = nullptr, |
|
| 96 | + | .xkb = { |
|
| 97 | + | /* XKB layout name. */ |
|
| 98 | + | .layout = "us", |
|
| 99 | + | /* Layout variant; altgr-intl provides international characters via AltGr. */ |
|
| 100 | + | .variant = "altgr-intl", |
|
| 101 | + | /* Comma-separated XKB options, or nullptr for none. */ |
|
| 102 | + | .options = nullptr, |
|
| 103 | + | }, |
|
| 104 | + | }, |
|
| 88 | 105 | }; |
|
| 89 | 106 | ||
| 90 | 107 | /* Repeat a held key this many times per second. */ |
|
| 91 | 108 | static const int repeat_rate = 40; |
|
| 92 | 109 | /* Wait this many milliseconds before a held key starts repeating. */ |
.config/uwsm/env
added
+1 -0
| 1 | + | export PATH="$HOME/bin:$PATH" |
.config/waybar/config-common
+1 -1
| 6 | 6 | "fixed-center": true, |
|
| 7 | 7 | "modules-left": [ "ext/workspaces" ], |
|
| 8 | 8 | "modules-center": [ "custom/swm-window" ], |
|
| 9 | 9 | "modules-right": [ "cpu", "memory", "disk", "pulseaudio", "battery", "network", "custom/screenshot", "custom/clipboard", "tray", "clock" ], |
|
| 10 | 10 | "custom/swm-window": { |
|
| 11 | - | "exec": "tail -n 1 -F -s 0.05 ${XDG_RUNTIME_DIR}/swm-title 2>/dev/null", |
|
| 11 | + | "exec": "swmctl events --filter=active-window", |
|
| 12 | 12 | "max-length": 80, |
|
| 13 | 13 | "tooltip": false |
|
| 14 | 14 | }, |
|
| 15 | 15 | "ext/workspaces": { |
|
| 16 | 16 | "format": "{name}", |
.config/wireplumber/wireplumber.conf.d/50-framework-disable-ucm.conf
added
+3 -0
| 1 | + | monitor.alsa.properties = { |
|
| 2 | + | alsa.use-ucm = false |
|
| 3 | + | } |
.gitconfig
+4 -0
| 102 | 102 | colorMoved = dimmed-zebra |
|
| 103 | 103 | colorMovedWs = allow-indentation-change |
|
| 104 | 104 | ||
| 105 | 105 | [fetch] |
|
| 106 | 106 | prune = true |
|
| 107 | + | ||
| 107 | 108 | [branch] |
|
| 108 | 109 | sort = committerdate |
|
| 110 | + | ||
| 111 | + | [rebase] |
|
| 112 | + | updateRefs = true |
bin/waybar-screenshot
+2 -1
| 7 | 7 | ;; |
|
| 8 | 8 | full) |
|
| 9 | 9 | grim -c - | wl-copy |
|
| 10 | 10 | ;; |
|
| 11 | 11 | window) |
|
| 12 | - | geometry=$(slurp -r < "${XDG_RUNTIME_DIR:?}/swm-windows") || exit |
|
| 12 | + | regions=$(swmctl window regions) || exit |
|
| 13 | + | geometry=$(printf '%s\n' "$regions" | slurp -r) || exit |
|
| 13 | 14 | grim -c -g "$geometry" - | wl-copy |
|
| 14 | 15 | ;; |
|
| 15 | 16 | edit) |
|
| 16 | 17 | grim -c - | |
|
| 17 | 18 | satty --filename - --fullscreen current-screen --initial-tool crop \ |
images/wallpaper.png
+0 -0
Binary file changed.