summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsubh <subh@example.com>2026-03-25 06:06:53 +0530
committersubh <subh@example.com>2026-03-25 06:06:53 +0530
commit344d9db97fe2fbeeee67c8d34b8594abc8c1860c (patch)
treef2407fd096edf91accac024cac23070919801b41
parentf42b5bdf3c4a59072c76294350a3895073440c94 (diff)
Added Screenshot annotation with satty
-rw-r--r--hyprland/hyprland.conf20
-rw-r--r--hyprland/keybinds.conf4
-rwxr-xr-xinstall.sh2
3 files changed, 20 insertions, 6 deletions
diff --git a/hyprland/hyprland.conf b/hyprland/hyprland.conf
index 3668bd8..1f553ea 100644
--- a/hyprland/hyprland.conf
+++ b/hyprland/hyprland.conf
@@ -13,9 +13,10 @@ $terminal = ghostty
$fileManager = pcmanfm
$menu = rofi -show drun -drun-reload-desktop-cache
$reload_qs = pkill qs 2>&1; qs &
-$snip = flameshot gui 2>/dev/null
+$snip = hyprshot -m region --raw | satty --filename -
$reload_hypr = hyprctl reload
$browser = firefox
+$discord = discord
# Environment Variables
@@ -33,7 +34,7 @@ $CONFIG = /home/subh/.config
# exec-once = nm-applet &
exec-once = qs &
exec-once = swaync &
-exec-once = swww-daemon & swww img $HOME/wallpapers/arch-black-4k.png
+exec-once = swww-daemon & swww img $HOME/wallpapers/Arcade_decay_red.png
exec-once = swayidle -w before-sleep '/opt/scripts/lock.sh' &
exec-once = wl-paste --type text --watch cliphist store &
exec-once = wl-paste --type image --watch cliphist store &
@@ -80,13 +81,13 @@ decoration {
rounding_power = 0
# Change transparency of focused and unfocused windows
- active_opacity = 1.0
+ active_opacity = 1.0
inactive_opacity = 1.0
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
- enabled = false
+ enabled = true
size = 5
passes = 3
@@ -184,6 +185,16 @@ windowrule {
max_size = 1 1
opacity = 0.0
}
+
+windowrule {
+ name = satty-mini
+ match:class = (?i).*satty.*
+
+ float = on
+ size = 900 600
+ center = on
+}
+
# Example windowrule v1
# windowrule = float, ^(kitty)$
@@ -193,3 +204,4 @@ windowrule {
#windowrulev2 = suppressevent maximize, class:^(firefox|code|jetbrains-.*|electron)$
windowrule = border_color rgb(f38ba8) rgb(313244), match:class (firefox|librewolf|discord|sublime_text|com.mitchellh.ghostty|org.keepassxc.KeePassXC|burp-StartBurp)
windowrule = suppress_event maximize, match:class .* # You'll probably like this.
+
diff --git a/hyprland/keybinds.conf b/hyprland/keybinds.conf
index 3abfa95..b788d9d 100644
--- a/hyprland/keybinds.conf
+++ b/hyprland/keybinds.conf
@@ -7,12 +7,14 @@ bind = $mainMod, F, exec, $fileManager
#bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
+bind = $mainMod|Shift, B, exec, /opt/scripts/stremio.sh
+bind = $mainMod, z, exec, zen-browser
bind = $mainMod|Shift, R, exec, $reload_qs
bind = $mainMod|Ctrl, R, exec, $reload_hypr
bind = $mainMod|Shift, S, exec, $snip
bind = $mainMod|Ctrl,F,fullscreen, 1
bind = $mainMod, W, exec, $browser
-bind = $mainMod, D, exec, discord
+bind = $mainMod, D, exec, $discord
bind = $mainMod|Shift, D, exec, kill -9 `pidof discord`
bind = $mainMod|Shift, A, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod|Shift, L, exec, /opt/scripts/power.sh
diff --git a/install.sh b/install.sh
index 781899e..0efbecf 100755
--- a/install.sh
+++ b/install.sh
@@ -11,7 +11,7 @@ git clone https://aur.archlinux.org/yay.git && cd yay && sudo makepkg -si
echo "[*] Installing yay packges"
-yay -S librewolf-bin xwaylandvideobridge croc ttyd stremio
+yay -S librewolf-bin xwaylandvideobridge croc ttyd stremio satty
echo "[*] Adding the blackarch repo"