From 97833d6221e69c20785f862beb5182e906ce18c6 Mon Sep 17 00:00:00 2001 From: askiiart Date: Sat, 16 Mar 2024 14:13:32 -0500 Subject: [PATCH] Add shell updates, reenable prtsc screenshot --- fish/conf.d/custom.fish | 1 + sway/config.d/misc | 7 ++++++- universal-shellrc.txt | 2 -- vesktop/themes/mocha.theme.css | 11 +++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 vesktop/themes/mocha.theme.css diff --git a/fish/conf.d/custom.fish b/fish/conf.d/custom.fish index 82b3e86..31076bf 100644 --- a/fish/conf.d/custom.fish +++ b/fish/conf.d/custom.fish @@ -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 diff --git a/sway/config.d/misc b/sway/config.d/misc index 82332a2..f351a12 100644 --- a/sway/config.d/misc +++ b/sway/config.d/misc @@ -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% diff --git a/universal-shellrc.txt b/universal-shellrc.txt index ce329ea..a29b645 100644 --- a/universal-shellrc.txt +++ b/universal-shellrc.txt @@ -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" \ No newline at end of file diff --git a/vesktop/themes/mocha.theme.css b/vesktop/themes/mocha.theme.css new file mode 100644 index 0000000..e300548 --- /dev/null +++ b/vesktop/themes/mocha.theme.css @@ -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");