From 4195ef4e3aa0ab81504b4adce532c8147c181da8 Mon Sep 17 00:00:00 2001 From: Nate Anderson Date: Sat, 20 Jan 2024 13:34:45 -0700 Subject: [PATCH] Fixed screenshots --- nate/dotfiles/sway/scripts/screenshot.sh | 10 +++++----- nate/modules/home-manager/home.nix | 7 +++++-- nate/modules/sway/sway_conf.nix | 1 + 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/nate/dotfiles/sway/scripts/screenshot.sh b/nate/dotfiles/sway/scripts/screenshot.sh index 878ee12..43d5dab 100755 --- a/nate/dotfiles/sway/scripts/screenshot.sh +++ b/nate/dotfiles/sway/scripts/screenshot.sh @@ -6,13 +6,13 @@ selected=$(printf '%s\n' $entries | wofi --style=$HOME/.config/wofi/style.widget case $selected in active) - /usr/share/sway/scripts/grimshot --notify save active;; + grimshot --notify save active;; screen) - /usr/share/sway/scripts/grimshot --notify save screen;; + grimshot --notify save screen;; output) - /usr/share/sway/scripts/grimshot --notify save output;; + grimshot --notify save output;; area) - /usr/share/sway/scripts/grimshot --notify save area;; + grimshot --notify save area;; window) - /usr/share/sway/scripts/grimshot --notify save window;; + grimshot --notify save window;; esac diff --git a/nate/modules/home-manager/home.nix b/nate/modules/home-manager/home.nix index 321dfad..f2f10b7 100644 --- a/nate/modules/home-manager/home.nix +++ b/nate/modules/home-manager/home.nix @@ -175,8 +175,11 @@ } alias p="fzf_projects source/" - ### Busykid Bash Functions - + alias ls="lsd" + alias l="lsd --almost-all --long" + alias llm="lsd --timesort --long" + alias lS="lsd --oneline --classic" + alias lt="lsd --tree --depth=2" ''; }; diff --git a/nate/modules/sway/sway_conf.nix b/nate/modules/sway/sway_conf.nix index efc8924..2de1143 100644 --- a/nate/modules/sway/sway_conf.nix +++ b/nate/modules/sway/sway_conf.nix @@ -62,6 +62,7 @@ git glib # gsettings grim + sway-contrib.grimshot libnotify mako ncspot