mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-12 18:28:07 +01:00
flutter path, fix screenshots
This commit is contained in:
parent
7e92fdb4cb
commit
aa71dc576a
3 changed files with 16 additions and 2 deletions
14
.config/fish/conf.d/tty.fish
Normal file
14
.config/fish/conf.d/tty.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
if test (tty) = "/dev/tty1"
|
||||
set -x XDG_SESSION_TYPE wayland
|
||||
set -x XDG_SESSION_DESKTOP sway
|
||||
set -x XDG_CURRENT_DESKTOP sway
|
||||
|
||||
set -x VK_DRIVER_FILES /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
|
||||
|
||||
# Wayland stuff
|
||||
set -x QT_QPA_PLATFORM wayland
|
||||
set -x SDL_VIDEODRIVER wayland
|
||||
set -x _JAVA_AWT_WM_NONREPARENTING 1
|
||||
|
||||
exec dbus-launch sway --unsupported-gpu $argv
|
||||
end
|
|
@ -5,4 +5,4 @@ alias cat="bat"
|
|||
alias s="kitten ssh"
|
||||
|
||||
|
||||
fish_add_path -g ~/.bun/bin ~/.local/bin ~/go/bin ~/.wakatime ~/.rbenv/shims ~/.moon/bin ~/.cargo/bin
|
||||
fish_add_path -g ~/.bun/bin ~/.local/bin ~/go/bin ~/.wakatime ~/.rbenv/shims ~/.moon/bin ~/.cargo/bin ~/.fvm_flutter/bin
|
||||
|
|
|
@ -22,7 +22,7 @@ bindsym XF86MonBrightnessUp exec xbacklight -inc 10
|
|||
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
|
||||
|
||||
# capture screen
|
||||
bindsym Mod4+Shift+s exec grim -g "$(slurp)" '/tmp/$(date +%F_%T)_${WIDTH}x${HEIGHT}.png' && wl-copy < '/tmp/$(date +%F_%T)_${WIDTH}x${HEIGHT}.png'
|
||||
bindsym Mod4+Shift+s exec sh -c 'filename="/tmp/$(date +%F_%T).png"; grim -g "$(slurp)" "$filename" && wl-copy < "$filename"'
|
||||
|
||||
# kill, reload
|
||||
bindsym {
|
||||
|
|
Loading…
Reference in a new issue