From 75ce979217a02736cfb9d1380cacc8679feb8eb7 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 16 Mar 2020 03:40:11 -0500 Subject: [PATCH] Fixes --- apps/de/polybar/run | 1 + apps/de/x/profile | 1 - env/desktop/x/resources | 1 + env/laptop/x/init | 0 env/laptop/x/profile | 3 +++ 5 files changed, 5 insertions(+), 1 deletion(-) delete mode 100755 env/laptop/x/init create mode 100755 env/laptop/x/profile diff --git a/apps/de/polybar/run b/apps/de/polybar/run index f4f753d..369b8dc 100755 --- a/apps/de/polybar/run +++ b/apps/de/polybar/run @@ -3,6 +3,7 @@ height="$(xrq polybar.height)" margin="$(xrq polybar.margin)" yoffset="$(xrq polybar.offset_y)" +window_margin="$(xrq bspwm.window_gap)" eheight="$((height + margin + yoffset))" bar_monitor="$(xrq polybar.display_monitor)" diff --git a/apps/de/x/profile b/apps/de/x/profile index 3da3436..2dfe1de 100755 --- a/apps/de/x/profile +++ b/apps/de/x/profile @@ -7,7 +7,6 @@ [ -f "$DOTFILES_PATH/apps/de/x/loadresources" ] && "$DOTFILES_PATH/apps/de/x/loadresources" [ -f "$HOME/.xmodmap" ] && xmodmap "$HOME/.xmodmap" -has_command xcape && xcape -e 'Control_L=Escape' & has_command libinput-gestures-setup && libinput-gestures-setup start has_command autorandr && autorandr -c has_command redshift && redshift -r -l 39.1:-94.6 -t 6500K:3000K & diff --git a/env/desktop/x/resources b/env/desktop/x/resources index aa85bb7..d7d71a9 100755 --- a/env/desktop/x/resources +++ b/env/desktop/x/resources @@ -4,3 +4,4 @@ polybar.primary_font: iosevka\-lyte:pixelsize=bar_font_size;1 bspwm.reverse_desktop_ordering: 0 bspwm.reverse_monitor_desktops: 1 polybar.display_monitor: DisplayPort-0 +polybar.height: 40 diff --git a/env/laptop/x/init b/env/laptop/x/init deleted file mode 100755 index e69de29..0000000 diff --git a/env/laptop/x/profile b/env/laptop/x/profile new file mode 100755 index 0000000..5911cfd --- /dev/null +++ b/env/laptop/x/profile @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +has_command xcape && xcape -e 'Control_L=Escape' &