summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf21
1 files changed, 18 insertions, 3 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 9b32c43..4baadbb 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
@@ -206,6 +206,17 @@ binds {
# sensitivity = -0.5
#}
+$TOUCHPAD_ENABLED = true
+device {
+ name = pnp0c50:0d-06cb:cebd-touchpad
+ enabled = $TOUCHPAD_ENABLED
+}
+
+$KEYBOARD_ENABLED = true
+device {
+ name = at-translated-set-2-keyboard
+ enabled = $KEYBOARD_ENABLED
+}
###################
### KEYBINDINGS ###
@@ -238,6 +249,8 @@ bindr = $MOD CTRL, D, exec, pkill rofi || rofi -show drun
bind = $MOD, F3, exec, rofi -modi emoji -show emoji -kb-custom-1 Ctrl+C
bind = $MOD, X, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = ALT, L, exec, ~/.scripts/rofi-beats-linux.sh
+# Toggle Touchpad
+bind = $MOD ALT, M, exec, toggle-touchpad-hypr
################
# Applications #
@@ -263,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
@@ -302,8 +317,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