From b979eb98bfce4cd9c3d13bfc3e769f230a5afaee Mon Sep 17 00:00:00 2001 From: moonleay Date: Wed, 12 Jun 2024 03:34:17 +0200 Subject: [PATCH] feat: improved config --- gtk-3.0/settings.ini | 6 +++--- hypr/autorun.conf | 3 +++ hypr/env_vars.conf | 5 +++++ hypr/hyprpaper.conf | 6 +++--- hypr/input.conf | 4 ++-- hypr/monitors.conf | 8 ++++---- hypr/windowrules.conf | 2 ++ waybar/config | 8 ++++---- 8 files changed, 26 insertions(+), 16 deletions(-) diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini index ae1035a..b56d0b2 100644 --- a/gtk-3.0/settings.ini +++ b/gtk-3.0/settings.ini @@ -1,6 +1,6 @@ [Settings] -gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark -gtk-icon-theme-name=breeze-dark +gtk-theme-name=adw-gtk3-dark +gtk-icon-theme-name=Adwaita gtk-font-name=Cantarell 11 gtk-cursor-theme-name=Adwaita gtk-cursor-theme-size=24 @@ -14,4 +14,4 @@ gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb -gtk-application-prefer-dark-theme=1 +gtk-application-prefer-dark-theme=0 diff --git a/hypr/autorun.conf b/hypr/autorun.conf index aa9b569..f04337f 100644 --- a/hypr/autorun.conf +++ b/hypr/autorun.conf @@ -2,9 +2,12 @@ exec-once = dunst & hyprpaper & waybar exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = hyprctl setcursor Adwaita 24 +exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'adwaita' +exec-once = gsettings set org.gnome.desktop.interface cursor-size '24' exec-once = bash /home/moonleay/.config/hypr/hyprland/scripts/fixXwaylandVideoBridge.sh exec-once = solaar -w hide exec-once = setxkbmap -model 'pc105angle' -layout 'us' -variant 'cmk_ed_us' -option'' -option 'misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu,misc:cmk_curl_dh' +exec-once = discord & librewolf # exec-once = flatpak run org.kde.xwaylandvideobridge # exec-once = gBar bar 0 & gBar bar 1 & gBar bar 2 # exec-once = /usr/lib/polkit-kde-authentication-agent-1 diff --git a/hypr/env_vars.conf b/hypr/env_vars.conf index 189798c..2e16b7d 100644 --- a/hypr/env_vars.conf +++ b/hypr/env_vars.conf @@ -9,4 +9,9 @@ env = CLUTTER_BACKEND=wayland env = XDG_CURRENT_DESKTOP=Hyprland env = XDG_SESSION_TYPE=wayland env = XDG_SESSION_DESKTOP=Hyprland + +env = HYPRCURSOR_THEME,adwaita +env = HYPRCURSOR_SIZE,24 +env = XCURSOR_THEME=adwaita +env = XCURSOR_SIZE=24 # env = ENABLE_DEVICE_CHOOSER_LAYER=1 VULKAN_DEVICE_INDEX=0 diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 95f8a4b..525d714 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,4 +1,4 @@ -preload = ~/Pictures/Wallpaper/cityx4.png +preload = ~/Pictures/Wallpaper/somerndm.jpg #if more than one preload is desired then continue to preload other backgrounds #preload = /path/to/next_image.png @@ -6,8 +6,8 @@ preload = ~/Pictures/Wallpaper/cityx4.png #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png -wallpaper = eDP-1,~/Pictures/Wallpaper/cityx4.png -wallpaper = DP-1,~/Pictures/Wallpaper/cityx4.png +wallpaper = eDP-1,~/Pictures/Wallpaper/somerndm.jpg +wallpaper = DP-1,~/Pictures/Wallpaper/somerndm.jpg wallpaper = HDMI-A-1,~/Pictures/Wallpaper/cityx4.png #if more than one monitor in use, can load a 2nd image # .. more monitors diff --git a/hypr/input.conf b/hypr/input.conf index a4855ed..1085a01 100644 --- a/hypr/input.conf +++ b/hypr/input.conf @@ -6,7 +6,7 @@ input { kb_variant = cmk_ed_us kb_options = misc:extend, lv5:caps_switch_lock, grp:shifts_toggle, compose:menu, misc:cmk_curl_dh - repeat_rate = 40 + repeat_rate = 60 repeat_delay = 200 kb_file = @@ -20,6 +20,6 @@ input { natural_scroll = yes } - sensitivity = -0.2 #0 # -1.0 - 1.0, 0 means no modification. + sensitivity = 0 # -0.2 #0 # -1.0 - 1.0, 0 means no modification. accel_profile = flat } diff --git a/hypr/monitors.conf b/hypr/monitors.conf index 9121960..bab7efd 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -1,7 +1,7 @@ # Monitors # monitor=,preferred,auto,auto -monitor=eDP-2,preferred,0x0,2 -monitor=eDP-1,preferred,0x0,2 -monitor=DP-1,3840x2160@120,1280x0,1.2 -monitor=HDMI-A-1,preferred,4480x0,1 +# monitor=eDP-2,preferred,0x0,2 +monitor=eDP-1,preferred,0x0,1.6 +# monitor=DP-1,3840x2160@120,1280x0,1.2 +# monitor=HDMI-A-1,preferred,4480x0,1 # monitor=HDMI-A-1,3440x1440@100,1280x0,1 diff --git a/hypr/windowrules.conf b/hypr/windowrules.conf index dff2dea..d263a00 100644 --- a/hypr/windowrules.conf +++ b/hypr/windowrules.conf @@ -1,5 +1,7 @@ # Windowrules windowrulev2 = immediate, class:^(minecraft)$ +windowrulev2 = workspace 2, monitor 1, class:^(LibreWolf)$ +windowrulev2 = workspace 1, monitor 1, class:^(discord)$ # Screensharing windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ diff --git a/waybar/config b/waybar/config index ae8543e..7bd3ca3 100644 --- a/waybar/config +++ b/waybar/config @@ -34,10 +34,10 @@ "format": "{:%I:%M %p}", }, "cpu": { - "format": " {usage}%", + "format": " {usage}%", }, "memory": { - "format": " {}%" + "format": " {}%" }, "temperature": { "thermal-zone": 2, @@ -50,7 +50,7 @@ "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", - "format-icons": ["", "", "", "", "", "", "", "", ""] + "format-icons": [" ", " ", " ", " ", " ", " ", " ", " ", " "] }, "battery": { "states": { @@ -90,7 +90,7 @@ // "phone": "", // "portable": "", // "car": "", - "default": ["", "", " "] + "default": [" ", " ", " "] }, "on-click": "pavucontrol" },