From edcfc9d91198bfb63babc77f2eb4f2325b25b0eb Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 21 Oct 2025 13:10:45 +0200 Subject: [PATCH] updated hyprland config + gdrive mount --- hypr/modules/autostart.conf | 2 +- hypr/modules/env.conf | 2 +- hypr/modules/keybinds.conf | 6 ++++-- hypr/modules/monitors.conf | 3 ++- hypr/modules/window_rules.conf | 10 +++++++--- systemd/user/default.target.wants/gdrive-mount.service | 1 + 6 files changed, 16 insertions(+), 8 deletions(-) create mode 120000 systemd/user/default.target.wants/gdrive-mount.service diff --git a/hypr/modules/autostart.conf b/hypr/modules/autostart.conf index a4e77da..8abf164 100644 --- a/hypr/modules/autostart.conf +++ b/hypr/modules/autostart.conf @@ -9,7 +9,7 @@ exec-once = uwsm app -- nm-applet --indicator exec-once = uwsm app -- protonvpn-app exec-once = uwsm app -- hyprpaper # exec-once = uwsm app -- /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized &> /dev/null -exec-once = sleep 5 && ~/.config/hypr/scripts/replay-ctrl.sh start +# exec-once = sleep 5 && ~/.config/hypr/scripts/replay-ctrl.sh start # exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland exec-once = wl-paste --type text --watch cliphist store # Stores only text data exec-once = wl-paste --type image --watch cliphist store # Stores only image data diff --git a/hypr/modules/env.conf b/hypr/modules/env.conf index 82bf15f..af09d21 100644 --- a/hypr/modules/env.conf +++ b/hypr/modules/env.conf @@ -6,7 +6,7 @@ env = HYPRCURSOR_SIZE,24 env = XCURSOR_SIZE,24 env = XCURSOR_THEME,Bibata-Modern-Classic env = XDG_CURRENT_DESKTOP,Hyprland -env = debug:full_cm_proto,true +# env = debug:full_cm_proto,true env = QT_QPA_PLATFORMTHEME,qt6ct # env = LIBVA_DRIVER_NAME,radeonsi # env = VDPAU_DRIVER,radeonsi diff --git a/hypr/modules/keybinds.conf b/hypr/modules/keybinds.conf index 76d57b8..6681b9b 100644 --- a/hypr/modules/keybinds.conf +++ b/hypr/modules/keybinds.conf @@ -60,8 +60,10 @@ bind = ALT, Tab, changegroupactive, next # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod, S, togglespecialworkspace, virtual +bind = $mainMod SHIFT, S, movetoworkspace, special:virtual +bind = $mainMod, D, togglespecialworkspace, discord +bind = $mainMod SHIFT, D, movetoworkspace, special:discord # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 diff --git a/hypr/modules/monitors.conf b/hypr/modules/monitors.conf index 906a909..822b700 100644 --- a/hypr/modules/monitors.conf +++ b/hypr/modules/monitors.conf @@ -1,5 +1,6 @@ -monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@240, 0x0, 1 +monitor = eDP-1, 1920x1080@60, 0x0, 1 +# monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@240, 0x0, 1 # monitorv2 { # desc = Samsung Electric Company LC27G7xT H4ZRA00734 # mode = 2560x1440@240 diff --git a/hypr/modules/window_rules.conf b/hypr/modules/window_rules.conf index 3bd4377..05b05f9 100644 --- a/hypr/modules/window_rules.conf +++ b/hypr/modules/window_rules.conf @@ -17,6 +17,7 @@ windowrulev2=float,title:^(Open File)$ windowrulev2=float,title:^(Select a File)$ windowrulev2=float,title:^(Select Folder)$ windowrulev2=float,title:^(Choose a file)$ +windowrulev2=float,title:^(Choose Directory)$ windowrulev2=float,title:^(Save As)$ windowrulev2=float,title:^(Save File)$ windowrulev2=float,title:^(branchdialog)$ @@ -29,6 +30,7 @@ windowrulev2=float,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ windowrulev2=size 800 600,title:^(Open File)$ windowrulev2=size 800 600,title:^(Select a File)$ windowrulev2=size 800 600,title:^(Choose a file)$ +windowrulev2=size 800 600,title:^(Choose Directory)$ windowrulev2=size 800 600,title:^(Save As)$ windowrulev2=size 800 600,title:^(Save File)$ windowrulev2=size 800 600,title:^(branchdialog)$ @@ -39,6 +41,7 @@ windowrulev2=size 800 600,class:^(pavucontrol|blueman-manager|nm-connection-edit windowrulev2=center,title:^(Open File)$ windowrulev2=center,title:^(Select a File)$ windowrulev2=center,title:^(Choose a file)$ +windowrulev2=center,title:^(Choose Directory)$ windowrulev2=center,title:^(Save As)$ windowrulev2=center,title:^(Save File)$ windowrulev2=center,title:^(branchdialog)$ @@ -49,6 +52,7 @@ windowrulev2=center,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ windowrulev2=noblur,title:^(Open File)$ windowrulev2=noblur,title:^(Select a File)$ windowrulev2=noblur,title:^(Choose a file)$ +windowrulev2=noblur,title:^(Choose Directory)$ windowrulev2=noblur,title:^(Save As)$ windowrulev2=noblur,title:^(Save File)$ windowrulev2=noblur,title:^(branchdialog)$ @@ -63,9 +67,9 @@ windowrulev2=noblur,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ # windowrule=workspace 3,class:^(Code)$ -windowrulev2=workspace special:magic silent,class:^(Spotify)$ -windowrulev2=workspace special:magic silent,class:^(spotify)$ -windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$ +windowrulev2=workspace special:virtual ,class:^(Spotify)$ +windowrulev2=workspace special:virtual ,class:^(spotify)$ +windowrulev2=workspace special:discord ,class:^(discord|vesktop)$ # steam rules diff --git a/systemd/user/default.target.wants/gdrive-mount.service b/systemd/user/default.target.wants/gdrive-mount.service new file mode 120000 index 0000000..5b30365 --- /dev/null +++ b/systemd/user/default.target.wants/gdrive-mount.service @@ -0,0 +1 @@ +/home/narl/.config/systemd/user/gdrive-mount.service \ No newline at end of file