diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-12 18:23:50 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-13 09:16:47 -0500 |
| commit | 38605cfc3a6e9f09c1b0d2f815a7f7d54f9f6621 (patch) | |
| tree | 1d2e849a6838f528dda5bd05bc4e3d0ece6b32ee /x/.xinitrc | |
| parent | Sync every 5m and re-enable gmail (diff) | |
| download | dotfiles-38605cfc3a6e9f09c1b0d2f815a7f7d54f9f6621.zip | |
Replace openbsd with debian
Diffstat (limited to 'x/.xinitrc')
| -rw-r--r-- | x/.xinitrc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/x/.xinitrc b/x/.xinitrc deleted file mode 100644 index 0f8407d..0000000 --- a/x/.xinitrc +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -set -e - -main() { - export MOZ_ACCELERATED=1 - export MOZ_WEBRENDER=1 - - xrdb -merge ~/.Xresources - setxkbmap -option caps:ctrl_modifier - setxkbmap -option altwin:swap_lalt_lwin - xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 1.0 - - ~/.fehbg & - start_lemonbar - ~/.local/bin/sct-daemon & - - exec cwm -} - -start_lemonbar() { - _lemonbar_fontsize="10" - _lemonbar_width="48" - if is_laptop; then - _lemonbar_fontsize="12" - _lemonbar_width="24" - fi - ~/.config/lemonbar-xft/bar.sh | - lemonbar-xft \ - -f "Hack:size=${_lemonbar_fontsize}" \ - -g x${_lemonbar_width} \ - -B "#1c1c1c" -F "#d0d0d0" & -} - -is_laptop() { - [ "$(hostname -s)" = "openbsd-laptop" ] -} - -main |