summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf12
1 files changed, 9 insertions, 3 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 3f31cc3..70f0539 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -27,7 +27,7 @@ monitor=HDMI-A-1,1920x1080@144,0x0,1.00,transform,0,mirror,eDP-1
# Or execute your favorite apps at launch like this:
# exec-once = waybar & hyprpaper & firefox
-exec-once = waybar & dunst & wpaperd & suspend.sh & nextcloud & nm-applet & blueman-applet & notion-app
+exec-once = waybar & dunst & wpaperd & suspend.sh & nextcloud & nm-applet & blueman-applet & notion-app & memospot
#exec-once = dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
#exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY && XDG_CURRENT_DESKTOP=Hyprland
exec-once = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
@@ -276,6 +276,8 @@ bind = $MOD ALT, E, exec, qutebrowser https://mail.proton.me/u/0/inbox
bind = $MOD SHIFT, T, exec, teams
# Launch spotify
bind = $MOD SHIFT, M, exec, spotify
+# Launch memospot
+bind = $MOD CTRL, M, exec, memospot
# Launch discord
bind = $MOD SHIFT, D, exec, webcord --enable-features=UseOzonePlatform --ozone-platform=wayland
# Launch telegram
@@ -304,6 +306,7 @@ bind = $MOD , L, exec, swaylock
#bind = ALT ,Print, exec, flameshot gui
bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the whole screen taken" "$IMG" -t 1000 # screenshot of whole screen
bind = $MOD SHIFT,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region
+bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region
bind = ALT ,Print, exec, flameshot gui
#otherkeyb
@@ -315,8 +318,8 @@ binde = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- &
binde = ,XF86MonBrightnessUp, exec, brillo -A 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )"
binde = ,XF86MonBrightnessDown, exec, brillo -U 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )"
#Launch rofi calc mode
-bind = $MOD, F2 , exec, rofi -show calc -modi calc -no-show-match -no-sort
-bind = , XF86Calculator, exec, rofi -show calc -modi calc -no-show-match -no-sort
+bind = $MOD, F2 , exec, rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | wl-copy"
+bind = , XF86Calculator, exec, rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | wl-copy"
#Toggle play/pause in spotify (universal)
bind = , XF86AudioPlay, exec, playerctl -p spotify play-pause
@@ -372,6 +375,9 @@ bind = ALT, tab, workspace, e+1
bind = ALT SHIFT, tab, workspace, e-1
bind = $MOD, mouse_down, workspace, e+1
bind = $MOD, mouse_up, workspace, e-1
+# Scroll through existing workspaces with MOD + mouse sidebuttons
+bind = $MOD, mouse:276, workspace, e+1
+bind = $MOD, mouse:275, workspace, e-1
# Move/resize windows with MOD + LMB/RMB and dragging
bindm = $MOD, mouse:272, movewindow