Skip to content

Commit

Permalink
fix: remove trash-cli / trash--put
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanramoul committed Oct 19, 2024
1 parent 0803520 commit b14ea61
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 8 additions & 0 deletions dotfiles/.config/hypr/hypridle.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
general {
lock_cmd = pidof hyprlock || hyprlock
}
listener {
timeout = 500 # in seconds.
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}
5 changes: 3 additions & 2 deletions dotfiles/.config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ workspace = 9, monitor:HDMI-A-1

exec-once=bash ~/.config/hypr/start.sh
exec-once=ulauncher --hide-window
exec-once=hypridle
########## monitor layout ##########

# monitor=DP-1,3440x1440@60,0x0,1
Expand Down Expand Up @@ -316,8 +317,8 @@ windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
#windowrulev2 = noblur, class:^(xwaylandvideobridge)$

# Exec once dunst for notifications
exec-once=dunst
# Exec once for notifications
exec-once=swaync

# Authentication Agent
exec-once=systemctl --user start plasma-polkit-agent
1 change: 0 additions & 1 deletion dotfiles/.config/hypr/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ swww init &

swww img ~/Pictures/wallpaper.png &


nm-applet --indicator &

#bash ~/.config/hypr/launch-waybar.sh &
Expand Down
2 changes: 0 additions & 2 deletions dotfiles/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ fi

# add lsd as an alias for ls
alias ls="lsd"
# replace rm with trash-cli
alias rm="trash-put"

bindkey -s ^e 'selected_entry=$(find $HOME/Downloads $HOME/Documents -maxdepth 8 -type f -o -type d | fzf --preview "bat --style=numbers --color=always --line-range=:500 {}" --preview-window=right:60%); [ -n "$selected_entry" ] && { [ -d "$selected_entry" ] && cd "$selected_entry" || vim "$selected_entry"; }\n'
# now Ctrl + e will execute ~/scripts/tmux_sessionizer.sh
Expand Down

0 comments on commit b14ea61

Please sign in to comment.