From 8ebf039d3a708f439d7347a5b1090a30dc1906f0 Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 9 Jun 2023 12:42:32 -0500 Subject: use sixel image preview lf --- lf/preview | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lf/preview b/lf/preview index e24c381..6140cf7 100755 --- a/lf/preview +++ b/lf/preview @@ -1,12 +1,8 @@ #!/bin/sh image() { - if [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then - printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$5" "$(($2-1))" "$(($3-1))" "$1" > "$FIFO_UEBERZUG" - exit 1 - else - chafa "$1" -s "$4x" - fi + geometry="$(($2-2))x$3" + chafa "$1" -f sixel -s "$geometry" --animate false | fold -w 65535 } batorcat() { -- cgit v1.2.3 From 7d313bf6525d0dc8540de891aa0836b362e4a52c Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 11 Jun 2023 15:22:56 -0500 Subject: run bemenu case insensitive --- hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index cf7a604..9bbb25e 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -263,7 +263,7 @@ submap = reset #{{{ Menu bindings bind = $mainMod, R, exec, exec j4-dmenu-desktop --dmenu="bemenu -i -l 10 -p \"Run:\"" -bind = $mainMod, D, exec, exec bemenu-run -l 15 -p "Run:" +bind = $mainMod, D, exec, exec bemenu-run -i -l 15 -p "Run:" bind = $mainMod $secdMod, Q, exec, qbc bind = $mainMod $secdMod, W, exec, lwc bind = $mainMod $secdMod, E, exec, mbc -- cgit v1.2.3 From c43084fe9903160c49a3140ba40bee3e53f3c168 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 11 Jun 2023 15:23:33 -0500 Subject: Only add portmaster-start env if command exists --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index d397cf3..d11c091 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -96,4 +96,4 @@ bindkey -- '^[[B' down-line-or-beg [[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char #eval "$(starship init zsh)" -eval "$(portmaster-start --data=/opt/safing/portmaster completion zsh)" +type portmaster-start 2>&1 >/dev/null && eval "$(portmaster-start --data=/opt/safing/portmaster completion zsh)" -- cgit v1.2.3 From fc7f66dca9780df52ddeb98467907654ba6a360e Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 12 Jun 2023 00:18:31 -0500 Subject: Swallow foot terminals --- hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 9bbb25e..6debbc6 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -54,7 +54,7 @@ general { #{{{ Misc options misc { enable_swallow = true - swallow_regex = ^(St)$ + swallow_regex = ^(foot)$ vfr = false } #}}} -- cgit v1.2.3 From a2599c76042edf7e6e8020012c83cb7ab1171aab Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 16 Jun 2023 23:39:42 -0500 Subject: Add hdmi-a-2 to hyprpaper --- hypr/hyprpaper.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 1b8480c..65bc2e3 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -6,6 +6,7 @@ preload = ~/background.jpg #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used wallpaper = eDP-1,~/background.jpg wallpaper = HDMI-A-1,~/background.jpg +wallpaper = HDMI-A-2,~/background.jpg wallpaper = DP-1,~/background.jpg #if more than one monitor in use, can load a 2nd image #wallpaper = monitor2,~/background.jpg -- cgit v1.2.3 From 48f2a6c21882f673f4c6df2dfb1deab0c2c04b47 Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 16 Jun 2023 23:42:13 -0500 Subject: Ignore more stuff --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 4f34bf9..03e3093 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ zsh/hist zsh/zcompdump zsh/.zsh_theme +zsh/.zcompdump zoomus.conf zirless/ zec-qt-wallet-org/ @@ -12,6 +13,7 @@ xmonad/stack.yaml.lock xmonad/xmonad-x86_64-linux xmonad/xmonad.o xmonad/xmonad.hi +whoozle.github.io/ weechat/ waybar/config-Hyprland-* waybar/config-river-* @@ -176,6 +178,7 @@ amsynth/ aIR Impulse RackEX.settings abook/ VirtualBox/ +VeraCrypt/ UNDERTALE*/ The Crown EXEX.settings SUPERHOT/ -- cgit v1.2.3 From 2b156c64dcf0d509b8a229cd1aad3b746b9fe79a Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 19 Jun 2023 00:33:15 -0500 Subject: Use swaylock and not waylock --- swayidle/config | 4 ++-- swaylock/config | 2 ++ waylock/config | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 swaylock/config delete mode 100644 waylock/config diff --git a/swayidle/config b/swayidle/config index fb741b3..210ff01 100644 --- a/swayidle/config +++ b/swayidle/config @@ -1,3 +1,3 @@ -timeout 600 waylockd -before-sleep waylockd +timeout 600 swaylockd +before-sleep swaylockd lock waylockd diff --git a/swaylock/config b/swaylock/config new file mode 100644 index 0000000..55ca360 --- /dev/null +++ b/swaylock/config @@ -0,0 +1,2 @@ +ignore-empty-password +color=000000 diff --git a/waylock/config b/waylock/config deleted file mode 100644 index d25aa13..0000000 --- a/waylock/config +++ /dev/null @@ -1 +0,0 @@ --init-color 0x000000 -input-color 0x39C1ED -fail-color 0xCC342B -- cgit v1.2.3 From 9581e412a805190ac03649998665c868dce1dee4 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 19 Jun 2023 12:04:56 -0500 Subject: Fix layout change holding keys hyprland --- hypr/hyprland.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 6debbc6..df2d591 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -159,10 +159,11 @@ bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER -bindr = $mainMod, J, layoutmsg, cyclenext -bindr = $mainMod, K, layoutmsg, cycleprev -bindr = $mainMod, H, splitratio, -0.01 #MASTER -bindr = $mainMod, L, splitratio, +0.01 #MASTER +binde = $mainMod, J, layoutmsg, cyclenext #MASTER +binde = $mainMod, K, layoutmsg, cycleprev #MASTER +binde = $mainMod, H, splitratio, -0.01 #MASTER +binde = $mainMod, L, splitratio, +0.01 #MASTER +bind = $mainMod+SHIFT, O, splitratio, exact 0.5 #MASTER bind = $mainMod, O, splitratio, exact 0.69 #MASTER #}}} -- cgit v1.2.3