From 50ef293e1475e440a1bf33f7c24508671f147a4e Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sat, 9 Mar 2024 14:27:32 +0100 Subject: [PATCH] internal keyboad option to hyprland config --- home/config-files/hyprland.conf | 8 +++- home/default.nix | 65 +-------------------------------- home/modules/git.nix | 12 ++++++ 3 files changed, 20 insertions(+), 65 deletions(-) create mode 100644 home/modules/git.nix diff --git a/home/config-files/hyprland.conf b/home/config-files/hyprland.conf index c7929c5..ebbe4db 100644 --- a/home/config-files/hyprland.conf +++ b/home/config-files/hyprland.conf @@ -34,6 +34,11 @@ input { sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } +device { + name = at-translated-set-2-keyboard + enabled = false +} + general { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -112,7 +117,8 @@ $mainMod = SUPER bind = $mainMod SHIFT, return, exec, wezterm bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, X, exit, -bind = $mainMod, L, exec, swaylock --indicator --clock --effect-blur 7x5 -e -f -i ~/dotfiles_new/walls/walls/wallpapersdencom_house-in-purple-flower-hyacinth-field_2048x1365.jpg +bind = $mainMod, L, exec, swaylock --indicator --clock --effect-blur 7x5 -e -f -i ~/dotfiles_new/walls/walls/Bangqiao Yan - Letter.jpg + bind = $mainMod SHIFT, SPACE, togglefloating, bind = $mainMod, P, exec, tofi-drun --drun-launch=true bind = $mainMod SHIFT, P, exec, tofi-run --drun-launch=true diff --git a/home/default.nix b/home/default.nix index 1e6a1b2..ce6b44b 100644 --- a/home/default.nix +++ b/home/default.nix @@ -12,16 +12,12 @@ ./modules/wm.nix ./modules/gtk.nix ./modules/home-pkgs.nix + ./modules/git.nix #./modules/ssh.nix ]; home.username = "xqtc"; home.homeDirectory = "/home/xqtc"; - programs.git = { - enable = true; - userName = "xqtc161"; - userEmail = "xqtc@tutanota.com"; - }; programs.wezterm = { enable = true; extraConfig = builtins.readFile ./config-files/wezterm.lua; @@ -33,65 +29,6 @@ services.easyeffects = {enable = true;}; - # home.packages = with pkgs; [ - # neofetch - # uwufetch - # btop - # iftop - # ranger - # - # obsidian - # - # moodle-dl - # - # brightnessctl - # pavucontrol - # - # bitwarden - # bitwarden-cli - # - # sway-contrib.grimshot - # - # libnotify - # - # strace - # ltrace - # - # nodejs - # - # nerdfonts - # vivaldi - # vivaldi-ffmpeg-codecs - # - # signal-desktop - # vesktop - # discord - # telegram-desktop - # webex - # element-desktop - # - # qbittorrent - # nicotine-plus - # - # via - # qmk - # qmk-udev-rules - # - # neovide - # - # yubioath-flutter - # - # steam - # protonup-qt - # - # spotify - # sayonara - # mpv - # feishin - # - # nixos-icons - # swww - # ]; home.stateVersion = "23.11"; programs.home-manager.enable = true; diff --git a/home/modules/git.nix b/home/modules/git.nix new file mode 100644 index 0000000..729dc85 --- /dev/null +++ b/home/modules/git.nix @@ -0,0 +1,12 @@ +{ + inputs, + config, + pkgs, + ... +}: { + programs.git = { + enable = true; + userName = "xqtc161"; + userEmail = "xqtc@tutanota.com"; + }; +}