From b55d029d8eb7b83673f62a389c36ea1bbdb0285c Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 15 Aug 2023 18:50:55 +0900 Subject: [PATCH] Test --- hosts/nixos-laptop/home-manager/hyprland-conf.nix | 4 ++++ hosts/nixos-laptop/home-manager/waybar-conf.nix | 1 - hosts/nixos-laptop/nixos/configuration.nix | 12 ++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/hosts/nixos-laptop/home-manager/hyprland-conf.nix b/hosts/nixos-laptop/home-manager/hyprland-conf.nix index 032f2c50..62ac16c0 100644 --- a/hosts/nixos-laptop/home-manager/hyprland-conf.nix +++ b/hosts/nixos-laptop/home-manager/hyprland-conf.nix @@ -129,7 +129,11 @@ bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle + + # Custom keybinds bind = $mainMod, S, exec, rofi -show drun -show-icons + bind = $mainMod, SPACE, exec, rofi -show drun -show-icons + bind =,Print,exec,grim # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l diff --git a/hosts/nixos-laptop/home-manager/waybar-conf.nix b/hosts/nixos-laptop/home-manager/waybar-conf.nix index 4551223b..1cf6840f 100644 --- a/hosts/nixos-laptop/home-manager/waybar-conf.nix +++ b/hosts/nixos-laptop/home-manager/waybar-conf.nix @@ -1,6 +1,5 @@ { hostname, ...}: { home.file = { - # Called from: /hosts/${hostname}/desktops/hyprland-conf.nix # https://yewtu.be/watch?v=tWQB1NDDA9c # Waybar configuration ".config/waybar/config.jsonc" = { diff --git a/hosts/nixos-laptop/nixos/configuration.nix b/hosts/nixos-laptop/nixos/configuration.nix index 6d79fc39..12d0f6d1 100644 --- a/hosts/nixos-laptop/nixos/configuration.nix +++ b/hosts/nixos-laptop/nixos/configuration.nix @@ -1,19 +1,15 @@ { lib, config, pkgs, ... }: { imports = [ - # Hardware Configuration - ./hardware-configuration.nix - # ./networking.nix s called from the root repo/modules/networking.nix file - # Desktop Environments # Common configuration - ../../desktops/common.nix + ../../../desktops/common.nix # Hyprland - ../../desktops/hyprland.nix + ../../../desktops/hyprland.nix # Gnome - # ../../desktops/gnome.nix + # ../../../desktops/gnome.nix # KDE - # ../../desktops/kde.nix + # ../../../desktops/kde.nix ];