Add shell updates, reenable prtsc screenshot
This commit is contained in:
parent
765108b686
commit
97833d6221
4 changed files with 18 additions and 3 deletions
|
@ -10,6 +10,7 @@ if status is-interactive
|
||||||
# ctrl+backspace (^H in kitty)
|
# ctrl+backspace (^H in kitty)
|
||||||
# for ctrl+delete: kill-word (unsure about its code in kitty)
|
# for ctrl+delete: kill-word (unsure about its code in kitty)
|
||||||
bind \cH backward-kill-path-component
|
bind \cH backward-kill-path-component
|
||||||
|
bind '[3;5~' kill-word
|
||||||
set -x NIXPKGS_ALLOW_UNFREE 1
|
set -x NIXPKGS_ALLOW_UNFREE 1
|
||||||
set -x NIXPKGS_ALLOW_INSECURE 1
|
set -x NIXPKGS_ALLOW_INSECURE 1
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
exec wl-paste -t text --watch clipman store --no-persist
|
exec wl-paste -t text --watch clipman store --no-persist
|
||||||
|
|
||||||
# Add screenshot and color picker
|
# 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+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'"
|
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+8 exec "brightnessctl set 80%"
|
||||||
bindsym Mod4+Mod1+9 exec "brightnessctl set 90%"
|
bindsym Mod4+Mod1+9 exec "brightnessctl set 90%"
|
||||||
bindsym Mod4+Mod1+0 exec "brightnessctl set 100%"
|
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%
|
||||||
|
|
|
@ -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 nrb-rb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild build --upgrade-all --rollback"
|
||||||
alias hms="NIXPKGS_ALLOW_INSECURE=1 home-manager switch"
|
alias hms="NIXPKGS_ALLOW_INSECURE=1 home-manager switch"
|
||||||
alias hmb="NIXPKGS_ALLOW_INSECURE=1 home-manager build"
|
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"
|
|
11
vesktop/themes/mocha.theme.css
Normal file
11
vesktop/themes/mocha.theme.css
Normal 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");
|
Loading…
Reference in a new issue