Compare commits

...

2 commits

Author SHA1 Message Date
58d17cbffd lutris 2025-09-11 16:09:33 -06:00
2bc3ad7ed3 prtsc 2025-09-11 16:09:00 -06:00
4 changed files with 18 additions and 5 deletions

View file

@ -40,6 +40,7 @@ set $menu-output ~/.config/scripts/menu/menu-output
set $menu-open-bookmark ~/.config/scripts/menu/menu-open-bookmark set $menu-open-bookmark ~/.config/scripts/menu/menu-open-bookmark
set $passmgr ~/.config/scripts/dwm/dwmpass set $passmgr ~/.config/scripts/dwm/dwmpass
set $passotp ~/.config/scripts/dwm/dwmotp set $passotp ~/.config/scripts/dwm/dwmotp
set $prtsc exec ~/.config/scripts/prtsc
set $filemgr thunar set $filemgr thunar
set $browser firefox set $browser firefox
# - # -
@ -69,7 +70,7 @@ bindsym Shift+XF86AudioLowerVolume exec micdown
bindsym Shift+XF86AudioMute exec micmute bindsym Shift+XF86AudioMute exec micmute
bindsym XF86MonBrightnessUp exec brightup bindsym XF86MonBrightnessUp exec brightup
bindsym XF86MonBrightnessDown exec brightdown bindsym XF86MonBrightnessDown exec brightdown
#bindsym Print exec grim -g "$(slurp -d)" - | wl-copy bindsym Print exec $prtsc
# - # -
bindsym $mod+Shift+q reload bindsym $mod+Shift+q reload
bindsym $mod+p exec menu-power bindsym $mod+p exec menu-power
@ -139,7 +140,7 @@ bar {
} }
} }
for_window [class="Display-im6.q16"] floating enable for_window [class="Display-im*"] floating enable
# Autostart # Autostart
#exec wl-paste -t text --watch clipman store #exec wl-paste -t text --watch clipman store

View file

@ -17,3 +17,4 @@ prismlauncher: org.prismlauncher.PrismLauncher
thunderbird: org.mozilla.Thunderbird thunderbird: org.mozilla.Thunderbird
android-studio: com.google.AndroidStudio android-studio: com.google.AndroidStudio
rustdesk: com.rustdesk.RustDesk rustdesk: com.rustdesk.RustDesk
lutris: net.lutris.Lutris

View file

@ -1,4 +1,10 @@
#!/bin/sh #!/bin/sh
# Command alias to reference easily SCREENSHOTS_DIR="$HOME/Pictures/Screenshots"
scrot -s '/home/tavo/Pictures/Screenshots/%Y-%m-%d.png' -e 'xclip -selection clipboard -t image/png -i $f' mkdir -p "$SCREENSHOTS_DIR"
if [ "$GDK_BACKEND" = "x11" ]; then
scrot -s "$SCREENSHOTS_DIR/%Y-%m-%d.png" -e 'xclip -selection clipboard -t image/png -i $f'
elif [ "$GDK_BACKEND" = "wayland" ]; then
grim -g "$(slurp -d)" - | wl-copy
fi

View file

@ -45,10 +45,15 @@ alias \
df-short="df -h | grep -v '\s/dev.*$\|\s/run.*$\|\s/boot.*$'" \ df-short="df -h | grep -v '\s/dev.*$\|\s/run.*$\|\s/boot.*$'" \
qr-png="qrencode -s 16 -o qr.png" \ qr-png="qrencode -s 16 -o qr.png" \
qr="qrencode -t ansiutf8" \ qr="qrencode -t ansiutf8" \
clip="xsel -ib" \
wget="wget --hsts-file=$XDG_DATA_HOME/wget/wget-hsts" \ wget="wget --hsts-file=$XDG_DATA_HOME/wget/wget-hsts" \
ssh="ssh ${SSH_CONFIG}" \ ssh="ssh ${SSH_CONFIG}" \
scp="scp ${SSH_CONFIG}" \ scp="scp ${SSH_CONFIG}" \
rsync="rsync --rsh \"ssh ${SSH_CONFIG}\"" \ rsync="rsync --rsh \"ssh ${SSH_CONFIG}\"" \
lg="lazygit" \ lg="lazygit" \
lvim="VIMINIT= nvim" lvim="VIMINIT= nvim"
if [ "$GDK_BACKEND" = "x11" ]; then
alias clip='xclip -selection clipboard'
elif [ "$GDK_BACKEND" = "wayland" ]; then
alias clip='wl-copy'
fi