Add shell updates, reenable prtsc screenshot

This commit is contained in:
askiiart 2024-03-16 14:13:32 -05:00
parent 765108b686
commit 97833d6221
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
4 changed files with 18 additions and 3 deletions

View file

@ -10,6 +10,7 @@ if status is-interactive
# ctrl+backspace (^H in kitty)
# for ctrl+delete: kill-word (unsure about its code in kitty)
bind \cH backward-kill-path-component
bind '[3;5~' kill-word
set -x NIXPKGS_ALLOW_UNFREE 1
set -x NIXPKGS_ALLOW_INSECURE 1
end

View file

@ -2,7 +2,7 @@
exec wl-paste -t text --watch clipman store --no-persist
# Add screenshot and color picker
#bindsym Print exec grim -t png -c
bindsym Print exec grim -t png -c
bindsym Mod4+Shift+P exec "mkdir $HOME/Pictures; export FILENAME=$HOME/Pictures/screenshot_$(date +%F_%H:%M:%S).png; slurp -d | xargs -I % grim -g % -t png -c $FILENAME; wl-copy --type image/png < $FILENAME"
bindsym Mod4+Mod1+Shift+P exec "slurp -p | xargs -I % grim -g % -t png - | convert - -format '%[pixel:p{0,0}]' txt:- | tail --lines 1 | xargs -I % zenity --info --text=% --title='Color picker'"
@ -63,3 +63,8 @@ bindsym Mod4+Mod1+7 exec "brightnessctl set 70%"
bindsym Mod4+Mod1+8 exec "brightnessctl set 80%"
bindsym Mod4+Mod1+9 exec "brightnessctl set 90%"
bindsym Mod4+Mod1+0 exec "brightnessctl set 100%"
# keys for media, volume, etc.
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%

View file

@ -15,5 +15,3 @@ alias nrs-rb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --upgrade-all -
alias nrb-rb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild build --upgrade-all --rollback"
alias hms="NIXPKGS_ALLOW_INSECURE=1 home-manager switch"
alias hmb="NIXPKGS_ALLOW_INSECURE=1 home-manager build"
alias hms-rb="NIXPKGS_ALLOW_INSECURE=1 home-manager switch --rollback"
alias hmb-rb="NIXPKGS_ALLOW_INSECURE=1 home-manager build --rollback"

View file

@ -0,0 +1,11 @@
/**
* @name Catppuccin Mocha
* @author winston#0001
* @authorId 505490445468696576
* @version 0.2.0
* @description 🎮 Soothing pastel theme for Discord
* @website https://github.com/catppuccin/discord
* @invite r6Mdz5dpFc
* **/
@import url("https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css");