From aa39f58940c7d0dfa7da4afe1a61e222d82d5278 Mon Sep 17 00:00:00 2001 From: Thomas Philippot Date: Tue, 3 Sep 2024 16:10:15 +0200 Subject: [PATCH] conf.d --- .config/btop/btop.log | 8 ++++++++ .config/hypr/{ => conf.d}/keybinds.conf | 1 + .config/hypr/{ => conf.d}/windowrules.conf | 0 .config/hypr/hyprland.conf | 13 ++++++------- .config/hypr/hyprpaper.conf | 16 ++++++++++++++++ .config/hypr/{ => theme}/macchiato.conf | 0 6 files changed, 31 insertions(+), 7 deletions(-) rename .config/hypr/{ => conf.d}/keybinds.conf (95%) rename .config/hypr/{ => conf.d}/windowrules.conf (100%) create mode 100644 .config/hypr/hyprpaper.conf rename .config/hypr/{ => theme}/macchiato.conf (100%) diff --git a/.config/btop/btop.log b/.config/btop/btop.log index c6f15ce..0cdad97 100644 --- a/.config/btop/btop.log +++ b/.config/btop/btop.log @@ -9,3 +9,11 @@ 2024/08/28 (15:31:25) | ===> btop++ v.1.3.0 2024/08/28 (15:31:25) | WARNING: NVML: Failed to get maximum GPU power draw, defaulting to 225W: Not Supported 2024/08/28 (15:31:25) | WARNING: NVML: Failed to get GPU power usage: Not Supported + +2024/09/03 (14:20:21) | ===> btop++ v.1.3.0 +2024/09/03 (14:20:21) | WARNING: NVML: Failed to get maximum GPU power draw, defaulting to 225W: Not Supported +2024/09/03 (14:20:21) | WARNING: NVML: Failed to get GPU power usage: Not Supported + +2024/09/03 (14:27:36) | ===> btop++ v.1.3.0 +2024/09/03 (14:27:36) | WARNING: NVML: Failed to get maximum GPU power draw, defaulting to 225W: Not Supported +2024/09/03 (14:27:36) | WARNING: NVML: Failed to get GPU power usage: Not Supported diff --git a/.config/hypr/keybinds.conf b/.config/hypr/conf.d/keybinds.conf similarity index 95% rename from .config/hypr/keybinds.conf rename to .config/hypr/conf.d/keybinds.conf index c62ed40..6c513e3 100644 --- a/.config/hypr/keybinds.conf +++ b/.config/hypr/conf.d/keybinds.conf @@ -1,4 +1,5 @@ bind = CTRL ALT, T, exec, $terminal +bind = SUPER, L, exec, hyprlock bind = ALT, TAB, exec, rofi -show window -theme ~/.config/rofi/launchers/type-2/style-15.rasi bind = , XF86Calculator, exec, gnome-calculator bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh diff --git a/.config/hypr/windowrules.conf b/.config/hypr/conf.d/windowrules.conf similarity index 100% rename from .config/hypr/windowrules.conf rename to .config/hypr/conf.d/windowrules.conf diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 58cc577..eddb0c6 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -15,7 +15,7 @@ # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: -source = ~/.config/hypr/macchiato.conf +source = ~/.config/hypr/theme/macchiato.conf ################ @@ -51,8 +51,7 @@ $menu = wofi --show drun # exec-once = waybar & hyprpaper & firefox exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = flatpak run com.core447.StreamController -exec-once = discord & ags +exec-once = hyprpaper & ags % discord & thunderbird # Source a file (multi-file configs) @@ -85,7 +84,7 @@ env = HYPRCURSOR_SIZE,24 # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 5 - gaps_out = 20 + gaps_out = 10 border_size = 2 @@ -177,7 +176,7 @@ input { sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification. touchpad { - natural_scroll = false + natural_scroll = true } } @@ -201,7 +200,7 @@ device { # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier -source = ~/.config/hypr/keybinds.conf +source = ~/.config/hypr/conf.d/keybinds.conf # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal @@ -271,5 +270,5 @@ bindm = $mainMod, mouse:273, resizewindow # windowrulev2 = float,class:(kitty),title:(kitty) windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. -source = ~/.config/hypr/windowrules.conf +source = ~/.config/hypr/conf.d/windowrules.conf diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..cbfa78b --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,16 @@ +preload = ~/Pictures/wallpaper.png +#if more than one preload is desired then continue to preload other backgrounds +# .. more preloads + +#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used +wallpaper = , ~/Pictures/wallpaper.png +#if more than one monitor in use, can load a 2nd image +# .. more monitors + +#enable splash text rendering over the wallpaper +splash = false + +#fully disable ipc +ipc = off + + diff --git a/.config/hypr/macchiato.conf b/.config/hypr/theme/macchiato.conf similarity index 100% rename from .config/hypr/macchiato.conf rename to .config/hypr/theme/macchiato.conf