Compare commits

..

2 Commits

Author SHA1 Message Date
desolate b18dba6075 save screenshots and send notification 2026-05-15 15:44:19 +03:00
desolate 02ae6fe07a add mako for notifications 2026-05-15 15:43:31 +03:00
8 changed files with 44 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
install_dotfiles "$HOME" "$DOTFILES_DIR" "mako"
+1
View File
@@ -8,6 +8,7 @@ INSTALLING DOTFILES:
. "$DOTFILES_DIR/install-fuzzel.sh"
. "$DOTFILES_DIR/install-ghostty.sh"
. "$DOTFILES_DIR/install-helix.sh"
. "$DOTFILES_DIR/install-mako.sh"
. "$DOTFILES_DIR/install-river.sh"
. "$DOTFILES_DIR/install-scooter.sh"
. "$DOTFILES_DIR/install-yazi.sh"
+15
View File
@@ -0,0 +1,15 @@
output=*
anchor=top-right
width=300
height=100
margin=10
padding=10
border-size=1
border-color=#ffffff80
background-color=#000000ff
text-color=#aaaaaaff
default-timeout=5000
max-visible=5
+3 -1
View File
@@ -15,4 +15,6 @@ riverctl set-cursor-warp on-focus-change
# Background Color
riverctl background-color 0x000000
pipewire &
riverctl spawn 'pipewire'
riverctl spawn 'mako'
+14 -2
View File
@@ -22,8 +22,20 @@ riverctl map normal $mod m spawn 'riverctl exit'
riverctl map normal $mod+Shift l spawn 'waylock -init-color 0x000000 -input-color 0x111111 -fail-color 0x220000'
# Screenshots
riverctl map normal None Print spawn 'grim - | wl-copy --type image/png'
riverctl map normal None XF86SelectiveScreenshot spawn 'grim -g "$(slurp)" - | wl-copy --type image/png'
riverctl map normal None Print spawn '
FILE_NAME=$(date +"%Y-%m-%d-%H-%M-%S") &&
FILE="$HOME/$FILE_NAME.png" &&
grim - | wl-copy --type image/png &&
wl-paste --type image/png > "$FILE" &&
notify-send --icon="$FILE" "$FILE_NAME" "Full screen shot saved and copied"
'
riverctl map normal None XF86SelectiveScreenshot spawn '
FILE_NAME=$(date +"%Y-%m-%d-%H-%M-%S") &&
FILE="$HOME/$FILE_NAME.png" &&
grim -g "$(slurp)" - | wl-copy --type image/png &&
wl-paste --type image/png > "$FILE" &&
notify-send --icon="$FILE" "$FILE_NAME" "Screen region shot saved and copied"
'
# Volume
riverctl map normal None XF86AudioRaiseVolume spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
install_package "libnotify"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
install_package "mako"
+2
View File
@@ -17,7 +17,9 @@ INSTALLING PACKAGES:
. "$PACKAGES_DIR/install-grim.sh"
. "$PACKAGES_DIR/install-helix.sh"
. "$PACKAGES_DIR/install-less.sh"
. "$PACKAGES_DIR/install-libnotify.sh"
. "$PACKAGES_DIR/install-light.sh"
. "$PACKAGES_DIR/install-mako.sh"
. "$PACKAGES_DIR/install-mesa-dri.sh"
. "$PACKAGES_DIR/install-noto-fonts.sh"
. "$PACKAGES_DIR/install-pipewire.sh"