From 771ecbc0e8c6e1648967690da0b5801bff92c138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 31 Mar 2024 22:29:47 +0200 Subject: [PATCH] Custom config for Hyprland --- hypr/hyprland.conf | 8 +++----- waybar/config | 1 + waybar/style.css | 3 --- zsh/.zshrc | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c69fba1..e091da3 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,5 +1,3 @@ -env = WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1 -env = WLR_NO_HARDWARE_CURSORS,1 env = TERMINAL,alacritty monitor=,preferred,auto,1 @@ -56,13 +54,13 @@ binds { input { kb_layout = us follow_mouse = 1 - kb_options = compose:rctrl, caps:super + kb_options = compose:rctrl numlock_by_default = true } general { gaps_in = 1 - gaps_out = 5 + gaps_out = 1 border_size = 2 col.active_border = rgba(002f5fee) col.inactive_border = rgba(ffffff00) @@ -102,7 +100,7 @@ animations { dwindle { preserve_split = yes - # no_gaps_when_only = 1 + no_gaps_when_only = 1 force_split = 2 } diff --git a/waybar/config b/waybar/config index d006700..02c9174 100644 --- a/waybar/config +++ b/waybar/config @@ -2,6 +2,7 @@ "layer": "top", // Waybar at top layer "height": 28, // Waybar height (to be removed for auto height) "spacing": 4, // Gaps between modules (4px) + "margin": "0 0 5 0", "output": "eDP-1", "modules-left": ["wlr/taskbar"], "modules-center": ["hyprland/workspaces"], diff --git a/waybar/style.css b/waybar/style.css index 7740ed8..092c8df 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -12,9 +12,6 @@ window#waybar { transition-duration: .5s; } -/* window#waybar.hidden { */ -/* opacity: 0.2; */ -/* } */ button { border: none; diff --git a/zsh/.zshrc b/zsh/.zshrc index d702444..fd8ac90 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -95,7 +95,7 @@ function zvm_after_init() { PATHS="$PATHS\n$(fd . ~/.dotfiles -t d -d 1)" fi if [ -d ~/Workspace ]; then - PATHS="$PATHS\n$(fd . ~/Workspace -t d -d 5)" + PATHS="$PATHS\n$(ssh mallorea fdfind . ~/Workspace -t d -d 8)" fi if [ -d ~/Containers ]; then PATHS="$PATHS\n$(fd . ~/Containers -t d -d 2)"