From 6cd5093db481b94868b3cbfc9068f0d8b1446636 Mon Sep 17 00:00:00 2001 From: atagen Date: Thu, 22 Jun 2023 16:38:02 +1000 Subject: [PATCH] fix zsh highlight on laptop --- home/dots/hyprland/hyprland.conf | 2 +- system/adrift.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home/dots/hyprland/hyprland.conf b/home/dots/hyprland/hyprland.conf index 472bd2d..28e575a 100644 --- a/home/dots/hyprland/hyprland.conf +++ b/home/dots/hyprland/hyprland.conf @@ -122,7 +122,7 @@ bind=SUPER,minus,togglespecialworkspace bind=SUPER_SHIFT,minus,movetoworkspace,special bind=SUPER_SHIFT,S,exec,grim -g "$(slurp)" -t png -o "$HOME/Pictures/$(date +%F_%H-%m-%S).png" && notify-send "Screenshot taken." -bind=SUPER_SHIFT_CTRL,S,exec,if [[ $(pgrep wf-recorder; echo $?) -eq 0 ]]; then wf-recorder -a -f "$HOME/Videos/recording_$(date +%F_%H-%m-%S).mp4" & notify-send "Recording desktop.."; else pkill wf-recorder && notify-send "Recording complete."; fi +bind=SUPER_SHIFT_CTRL,S,exec,if [[ $(pgrep wf-recorder; echo $?) -eq 1 ]]; then wf-recorder -a -f "$HOME/Videos/recording_$(date +%F_%H-%m-%S).mp4" & notify-send "Recording desktop.."; else pkill wf-recorder && notify-send "Recording complete."; fi bind=SUPER_SHIFT,E,exec,wlogout bind=,XF86AudioMute,exec,swayosd --output-volume mute-toggle bind=,XF86AudioRaiseVolume,exec,swayosd --output-volume raise diff --git a/system/adrift.nix b/system/adrift.nix index 95cce93..ebbef38 100644 --- a/system/adrift.nix +++ b/system/adrift.nix @@ -55,6 +55,7 @@ services.tlp.enable = true; environment.sessionVariables = rec { + ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=5"; EDITOR = "hx"; };