From b18e14e4fa77af112577183475766fe164a775c5 Mon Sep 17 00:00:00 2001 From: kiana-S Date: Sat, 24 Sep 2022 22:45:50 -0400 Subject: [PATCH] Update dependencies --- common/home-manager/wayland/rofi/config.rasi | 9 +--- common/home-manager/wayland/rofi/noicons.rasi | 6 +++ common/home-manager/wayland/sway.nix | 6 +-- flake.lock | 54 ++++++++++++------- 4 files changed, 45 insertions(+), 30 deletions(-) create mode 100644 common/home-manager/wayland/rofi/noicons.rasi diff --git a/common/home-manager/wayland/rofi/config.rasi b/common/home-manager/wayland/rofi/config.rasi index dc09f4b..593c9de 100644 --- a/common/home-manager/wayland/rofi/config.rasi +++ b/common/home-manager/wayland/rofi/config.rasi @@ -1,25 +1,18 @@ configuration { cycle: false; - //modi: "drun,run,window:~/.config/rofi/window.sh,workspace:~/.config/rofi/workspace.sh"; - modi: "drun,run"; + modi: "drun,run,window:~/.config/rofi/window.sh,workspace:~/.config/rofi/workspace.sh"; font: "JetBrainsMono Nerd Font 14"; location: 0; terminal: "alacritty"; show-icons: true; - run-show-icons: false; hide-scrollbar: true; - sidebar-mode: true; drun-display-format: "{name}"; display-drun: "  Apps "; display-run: "  Run "; display-window: " 﩯 Window "; display-workspace: "  Workspace "; - - run { - show-icons: false; - } } @theme "tokyonight" diff --git a/common/home-manager/wayland/rofi/noicons.rasi b/common/home-manager/wayland/rofi/noicons.rasi new file mode 100644 index 0000000..3ea7a8f --- /dev/null +++ b/common/home-manager/wayland/rofi/noicons.rasi @@ -0,0 +1,6 @@ + +@import "config.rasi" + +configuration { + show-icons: false; +} diff --git a/common/home-manager/wayland/sway.nix b/common/home-manager/wayland/sway.nix index 8edd37b..ac1924d 100644 --- a/common/home-manager/wayland/sway.nix +++ b/common/home-manager/wayland/sway.nix @@ -75,9 +75,9 @@ in { # Grim screenshot file name filename = ''~/Pictures/$(date +%Y-%m-%d_%H-%M-%S).png''; in pkgs.lib.mkOptionDefault { - "${modifier}+Shift+d" = "exec rofi -show run"; - # "${modifier}+w" = "exec rofi -show window"; - # "${modifier}+Shift+w" = "exec rofi -show workspace"; + "${modifier}+Shift+d" = "exec rofi -show run -config ~/.config/rofi/noicons.rasi"; + "${modifier}+w" = "exec rofi -show window -config ~/.config/rofi/noicons.rasi"; + "${modifier}+Shift+w" = "exec rofi -show workspace -config ~/.config/rofi/noicons.rasi"; "${modifier}+t" = "layout tabbed"; "${modifier}+Shift+m" = "exec swaylock"; diff --git a/flake.lock b/flake.lock index feb125b..086430d 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1653852240, - "narHash": "sha256-VmAbVC5s8OgNJ2GoSmdccMTDDRFtezo5sH+R4vcV7r0=", + "lastModified": 1664015884, + "narHash": "sha256-U+oc5aF063T7i1NWqy9O+xqkqdAucAtEpBLds5Jb/zU=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "8d1ee06daa51522db5efd5308d85106197f6ffb0", + "rev": "583ad7baf08792c0edce8d6461a2e40be6c11115", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "flake-utils": { "locked": { - "lastModified": 1652776076, - "narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=", + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", "owner": "numtide", "repo": "flake-utils", - "rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", "type": "github" }, "original": { @@ -40,14 +40,15 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ] + ], + "utils": "utils" }, "locked": { - "lastModified": 1650478719, - "narHash": "sha256-308c2cM4hW9AW6dSQ080ycXGyEJGkG/OwOINkYL9Mnw=", + "lastModified": 1663932797, + "narHash": "sha256-IH8ZBW99W2k7wKLS+Sat9HiKX1TPZjFTnsPizK5crok=", "owner": "nix-community", "repo": "home-manager", - "rev": "93a69d07389311ffd6ce1f4d01836bbc2faec644", + "rev": "de3758e31a3a1bc79d569f5deb5dac39791bf9b6", "type": "github" }, "original": { @@ -59,11 +60,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1649849514, - "narHash": "sha256-zQyTr2UebTKUh1KLyLtevhHsM8umPK1LfQLGUGjRjiQ=", + "lastModified": 1663229557, + "narHash": "sha256-1uU4nsDLXKG0AHc/VCsNBAEPkTA/07juYhcEWRb1O1E=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "1a0ccdbf4583ed0fce37eea7955e8ef90f840a9f", + "rev": "a0df6cd6e199df4a78c833c273781ea92fa62cfb", "type": "github" }, "original": { @@ -74,11 +75,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1650161686, - "narHash": "sha256-70ZWAlOQ9nAZ08OU6WY7n4Ij2kOO199dLfNlvO/+pf8=", + "lastModified": 1663850217, + "narHash": "sha256-tp9nXo1/IdN/xN9m06ryy0QUAEfoN6K56ObM/1QTAjc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887", + "rev": "ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90", "type": "github" }, "original": { @@ -90,11 +91,11 @@ }, "nur": { "locked": { - "lastModified": 1650492844, - "narHash": "sha256-NUIcag7Mbs2WxmRZvsJL8M410JlXXAdxEJYyzJuPwpY=", + "lastModified": 1664040798, + "narHash": "sha256-GDWWQXhUs664TM0vyr/oy46uX8Zk829xgBu3/R/cqqk=", "owner": "nix-community", "repo": "NUR", - "rev": "0046cab3717c456c7cb63e406046ee2ec10b5126", + "rev": "5c288f2553a74f59cd543859f563df0a00edae1b", "type": "github" }, "original": { @@ -111,6 +112,21 @@ "nixpkgs": "nixpkgs", "nur": "nur" } + }, + "utils": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root",