diff options
| -rw-r--r-- | .config/foot/foot.ini | 6 | ||||
| -rw-r--r-- | .config/hypr/hyprland.conf | 53 |
2 files changed, 44 insertions, 15 deletions
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index cc08d77..4d7c22c 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -8,11 +8,13 @@ font-decrease=Control+Shift+Page_Down scrollback-up-line=Mod1+Up scrollback-down-line=Mod1+Down +[search-bindings] +find-prev=Control+Shift+f + # theme-Catppuccin(same as kitty) -[cursor] -color=1A1826 D9E0EE [colors] +cursor=1A1826 D9E0EE foreground=D9E0EE background=1E1D2F regular0=6E6C7E # black diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3f31cc3..f13bc8e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -26,8 +26,10 @@ monitor=HDMI-A-1,1920x1080@144,0x0,1.00,transform,0,mirror,eDP-1 # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: +# exec-once = $terminal +# exec-once = nm-applet & # 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 @@ -40,7 +42,7 @@ exec-once = xhost +SI:localuser:root ### ENVIRONMENT VARIABLES ### ############################# -# See https://wiki.hyprland.org/Configuring/Environment-variables/ +# See https://wiki.hypr.land/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 @@ -50,6 +52,21 @@ env = XDG_SESSION_TYPE,wayland #env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = WLR_NO_HARDWARE_CURSORS,1 +################### +### PERMISSIONS ### +################### + +# See https://wiki.hypr.land/Configuring/Permissions/ +# Please note permission changes here require a Hyprland restart and are not applied on-the-fly +# for security reasons + +# ecosystem { +# enforce_permissions = 1 +# } + +# permission = /usr/(bin|local/bin)/grim, screencopy, allow +# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow +# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow ##################### ### LOOK AND FEEL ### ##################### @@ -184,14 +201,12 @@ input { } } -# https://wiki.hyprland.org/Configuring/Variables/#gestures -gestures { - workspace_swipe = on - workspace_swipe_fingers = 3 - workspace_swipe_distance = 500 - workspace_swipe_invert = true - workspace_swipe_min_speed_to_force = 40 -} +# See https://wiki.hypr.land/Configuring/Gestures +gesture = 3, horizontal, workspace +gesture = 3, down, dispatcher, movetoworkspacesilent, special +gesture = 3, up, scale: 1.5, dispatcher, movetoworkspacesilent, +0 +gesture = 3, pinch, fullscreen + binds { workspace_back_and_forth = true allow_workspace_cycles = true @@ -261,6 +276,7 @@ bind = $MOD ALT, M, exec, toggle-touchpad-hypr bind = $MOD, Q, exec, brave bind = $MOD CTRL, Q, exec, brave --incognito bind = $MOD ALT, Q, exec, brave --tor +bind = $MOD SHIFT, Z, exec, zen-browser # Launch wa bind = $MOD SHIFT, W, exec, whatsapp-nativefier --no-sandbox #Launch emacs @@ -276,6 +292,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,7 +322,11 @@ 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 = ALT ,Print, exec, flameshot gui +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 +bind = ,F10, 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 = ,F11, 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 = ,F12, exec, flameshot gui #otherkeyb bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234 @@ -315,8 +337,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 @@ -324,6 +346,8 @@ bind = , XF86AudioPlay, exec, playerctl -p spotify play-pause bind = , XF86AudioPrev, exec, playerctl -p spotify previous bind = , XF86AudioNext, exec, playerctl -p spotify next +#bluetooth applet +bind = $MOD, F9, exec, blueman-manager #master-stack layout bind = $MOD, Return,layoutmsg, swapwithmaster @@ -372,6 +396,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 just mouse sidebuttons +bind = , mouse:276, workspace, e+1 +bind = , mouse:275, workspace, e-1 # Move/resize windows with MOD + LMB/RMB and dragging bindm = $MOD, mouse:272, movewindow |
