From 122d804568d4932ab584957b53003fc50233361a Mon Sep 17 00:00:00 2001 From: joy Date: Fri, 16 Aug 2024 20:03:20 +0200 Subject: [PATCH] chanching lost of stuff --- flake.lock | 6 +++--- home/ags/bar/README.md | 18 ------------------ home/ags/bar/nixos-switch.log | 20 ++++++++++++++++++++ home/ags/bar/style.css | 28 ++++++++++++++-------------- home/firefox/default.nix | 2 +- home/hyprland/default.nix | 9 +++------ home/hyprland/scripts/vm.sh | 2 +- modules/gdm/default.nix | 2 +- 8 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 home/ags/bar/README.md create mode 100644 home/ags/bar/nixos-switch.log diff --git a/flake.lock b/flake.lock index bb6e122..6e0fe94 100644 --- a/flake.lock +++ b/flake.lock @@ -142,11 +142,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1723694590, - "narHash": "sha256-7cufibbD4mf84wPBOTq0bNYjtUz5/Aq1azv9Nil5bzk=", + "lastModified": 1723781004, + "narHash": "sha256-DeqldZxk7Rr6Ak+6DQHgLAqmz41gktpCaw9/RM+hP5U=", "owner": "rycee", "repo": "nur-expressions", - "rev": "bc49bde3aa2e9408a22bf62d2faf4358508ce4b6", + "rev": "782cf4b3e20822f4b17a3af9da467dce66effe40", "type": "gitlab" }, "original": { diff --git a/home/ags/bar/README.md b/home/ags/bar/README.md deleted file mode 100644 index 054a467..0000000 --- a/home/ags/bar/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Simple Bar - -setup - -```bash -mkdir -p ~/.config/ags -git clone https://github.com/Aylur/ags.git /tmp/ags -cp -r /tmp/ags/example/simple-bar/* ~/.config/ags - -# optionally setup types -ags --init -c ~/.config/ags/config.js -``` - -running - -```bash -ags -c ~/.config/ags/config.js & -``` diff --git a/home/ags/bar/nixos-switch.log b/home/ags/bar/nixos-switch.log new file mode 100644 index 0000000..a8c821c --- /dev/null +++ b/home/ags/bar/nixos-switch.log @@ -0,0 +1,20 @@ +warning: Git tree '/home/joy/nix' is dirty +building the system configuration... +warning: Git tree '/home/joy/nix' is dirty +these 8 derivations will be built: + /nix/store/awww6mcaccq9l0pf3c023j1m3d5rym7w-home-manager-files.drv + /nix/store/ccza946fzlf60k3kd9g1s8yskkx7wkd3-home-manager-generation.drv + /nix/store/1cpbmx13fsg5wcnnaw82v7vhhzwkfbm8-unit-home-manager-joy.service.drv + /nix/store/fhaw24gi5q4h5j0q8gcf473k08ji2zy6-unit-script-nixos-upgrade-start.drv + /nix/store/lcjbnv12r6ssdhpsli1w497fcnaja31f-unit-nixos-upgrade.service.drv + /nix/store/466pbvl2h68s4g3qz73vyy7d5j0p7awk-system-units.drv + /nix/store/dxpzjsihg14ak1qd8bdfsaha378inrhx-etc.drv + /nix/store/4haqsqiflhxinxvxl2jvf6nc30p0ib9h-nixos-system-laptop-24.11.20240814.c3aa7b8.drv +building '/nix/store/fhaw24gi5q4h5j0q8gcf473k08ji2zy6-unit-script-nixos-upgrade-start.drv'... +building '/nix/store/awww6mcaccq9l0pf3c023j1m3d5rym7w-home-manager-files.drv'... +building '/nix/store/lcjbnv12r6ssdhpsli1w497fcnaja31f-unit-nixos-upgrade.service.drv'... +building '/nix/store/ccza946fzlf60k3kd9g1s8yskkx7wkd3-home-manager-generation.drv'... +building '/nix/store/1cpbmx13fsg5wcnnaw82v7vhhzwkfbm8-unit-home-manager-joy.service.drv'... +building '/nix/store/466pbvl2h68s4g3qz73vyy7d5j0p7awk-system-units.drv'... +building '/nix/store/dxpzjsihg14ak1qd8bdfsaha378inrhx-etc.drv'... +building '/nix/store/4haqsqiflhxinxvxl2jvf6nc30p0ib9h-nixos-system-laptop-24.11.20240814.c3aa7b8.drv'... diff --git a/home/ags/bar/style.css b/home/ags/bar/style.css index 9ac7355..abbd3e9 100644 --- a/home/ags/bar/style.css +++ b/home/ags/bar/style.css @@ -1,40 +1,40 @@ window.bar { - background-color: @theme_bg_color; - color: @theme_fg_color; + background-color: @theme_bg_color; + color: @theme_fg_color; } button { - min-width: 0; - padding-top: 0; - padding-bottom: 0; - background-color: transparent; + min-width: 0; + padding-top: 0; + padding-bottom: 0; + background-color: transparent; } button:active { - background-color: @theme_selected_bg_color; + background-color: @theme_selected_bg_color; } button:hover { - border-bottom: 3px solid @theme_fg_color; + border-bottom: 3px solid @theme_fg_color; } label { - font-weight: bold; + font-weight: bold; } .workspaces button.focused { - border-bottom: 3px solid @theme_selected_bg_color; + border-bottom: 3px solid @theme_selected_bg_color; } .client-title { - color: @theme_selected_bg_color; + color: @theme_selected_bg_color; } .notification { - color: yellow; + color: yellow; } levelbar block, highlight { - min-height: 10px; -} + min-height: 10px; +} \ No newline at end of file diff --git a/home/firefox/default.nix b/home/firefox/default.nix index 63b4460..e25fb41 100644 --- a/home/firefox/default.nix +++ b/home/firefox/default.nix @@ -12,7 +12,7 @@ search.engines = { "4get" = { urls = [{ - template = "https://4get.ch/web"; + template = "https://4get.joygnu.org/web"; params = [ { name = "s"; value = "{searchTerms}"; } ]; diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index f444f44..d5bafe6 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -39,8 +39,8 @@ }; monitor = [ - "eDP-1,prefrered,auto,1" - "HDMI-A-1,prefrered,auto,1,mirror,eDP-1" + "eDP-1,prefrered,auto,1,mirror,HDMI-A-1" + "HDMI-A-1,2560x1440@120.01Hz,auto,1" ]; exec-once = [ @@ -175,10 +175,7 @@ input = { kb_layout = "us,de"; kb_variant = ",qwerty"; - kb_options = [ - "grp:alt_shift_toggle" - "caps:swapescape" - ]; + kb_options = "grp:alt_shift_toggle,caps:swapescape"; }; device = { diff --git a/home/hyprland/scripts/vm.sh b/home/hyprland/scripts/vm.sh index c1218ea..e1a6e71 100755 --- a/home/hyprland/scripts/vm.sh +++ b/home/hyprland/scripts/vm.sh @@ -6,7 +6,7 @@ vm_state=$(virsh --connect qemu:///system domstate "$VM_NAME") if [ "$vm_state" != "running" ]; then virsh --connect qemu:///system start "$VM_NAME" - sleep 15 + sleep 20 fi # Get the IP address of the VM diff --git a/modules/gdm/default.nix b/modules/gdm/default.nix index 4be9b07..a4ddaaf 100644 --- a/modules/gdm/default.nix +++ b/modules/gdm/default.nix @@ -4,7 +4,7 @@ services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; - # services.xserver.desktopManager.gnome.enable = true; + services.xserver.desktopManager.gnome.enable = true; services.displayManager.autoLogin.enable = true; services.displayManager.autoLogin.user = "joy";