diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index f5928cd..bcd0c1c 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -71,6 +71,7 @@ home.packages = [ (pkgs.callPackage ../../modules/scripts/tomato.nix {}) (pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {}) (pkgs.callPackage ../../modules/scripts/performance-mode.nix {}) +(pkgs.callPackage ../../modules/scripts/btm.nix {}) #pkgs pkgs.gruvbox-gtk-theme # # Adds the 'hello' command to your environment. It prints a friendly diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 07dd1f1..17f4459 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -137,7 +137,7 @@ in "$mod_SHIFT, S, exec, hyprshot -m region --clipboard only" # framework 16 rgb macropad "Ctrl+$mod, 6, exec, custom-killall" # pos 1 1 killall apps except focused one - ", F13, exec, custom-performance" # pos 2 1 start performance mode + "Ctrl+Alt, 7, exec, custom-performance" # pos 2 1 start performance mode # reloads the autostart programs # pos 3 1 "Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=16 -e sh -c 'custom-weather'" "Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=11 -e sh -c 'custom-cowsay'" @@ -147,8 +147,9 @@ in "Ctrl+Alt, 1, exec, swaync-client -t" # pos 4 1 notification center "Ctrl+$mod, 3, exec, pavucontrol" # pos 1 2 audiocontrol "Ctrl+$mod, 5, exec, gnome-characters" # pos 2 2 special chars - "Ctrl+Alt, 2, exec, hyprpicker | tee >(wl-copy) | cliphist store" # pos 3 2 colorpicker + "Ctrl+Alt, 8, exec, hyprpicker | tee >(wl-copy) | cliphist store" # pos 3 2 colorpicker "Ctrl+Alt, 0, exec, custom-tomato" # pos 1 3 pomodoro app + "Ctrl+Alt, 2, exec, custom-bottom" # pos 2 3 btm (like htop but cleaner) # if hyprexpo plugin enabled bind = $mainMod, Space, hyprexpo:expo, toggle # maybe exec sudo framework-tools-tui @@ -413,6 +414,7 @@ in "float on, match:class ^(eog)$" "float on, size 400 175, match:class ^(custom-librewolfprofiles)$" "float on, size 600 600, match:initial_class ^(custom-pomodoro)$" +"float on, size 1500 800, match:initial_class ^(custom-bottom)$" "border_size 0, match:float 0, match:workspace w[tv1]" "rounding 0, match:float 0, match:workspace w[tv1]" "border_size 0, match:float 0, match:workspace f[1]" diff --git a/modules/home-manager/kitty.nix b/modules/home-manager/kitty.nix index 67f235f..92d25d7 100644 --- a/modules/home-manager/kitty.nix +++ b/modules/home-manager/kitty.nix @@ -6,7 +6,7 @@ #font.name = nerd-fonts._0xproto; #font.size = "10"; extraConfig = '' -font nerd-fonts._0xproto +# font nerd-fonts._0xproto # this key dont work and causes errors font_size 14 bold_font auto italic_font auto diff --git a/modules/scripts/btm.nix b/modules/scripts/btm.nix new file mode 100644 index 0000000..d899c0b --- /dev/null +++ b/modules/scripts/btm.nix @@ -0,0 +1,12 @@ +{ writeShellApplication, kitty, bottom,... }: + +writeShellApplication { + name = "custom-bottom"; + runtimeInputs = [ + kitty + bottom + ]; + text = '' + kitty --class "custom-bottom" -o font_size=10 --name "custom-bottom" -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T +''; +} diff --git a/other/framework_laptop_16_rgb_macropad.layout.json b/other/framework_laptop_16_rgb_macropad.layout.json new file mode 100644 index 0000000..1fc0feb --- /dev/null +++ b/other/framework_laptop_16_rgb_macropad.layout.json @@ -0,0 +1,365 @@ +{ + "name": "Framework Laptop 16 RGB Macropad", + "vendorProductId": 850133011, + "macros": [ + "{+KC_LCTL}{+KC_LALT}0{-KC_LALT}{-KC_LCTL}", + "{+KC_LCTL}{+KC_LALT}2{-KC_LALT}{-KC_LCTL}", + "{+KC_LCTL}{+KC_LALT}1{-KC_LALT}{-KC_LCTL}", + "{+KC_LCTL}{+KC_LGUI}3{-KC_LGUI}{-KC_LCTL}", + "{+KC_LCTL}{+KC_LGUI}4{-KC_LGUI}{-KC_LCTL}", + "{KC_LCTL,KC_LGUI,KC_5}", + "{KC_LCTL,KC_LGUI,KC_6}", + "{+KC_LCTL}{+KC_LALT}7{-KC_LALT}{-KC_LCTL}", + "{+KC_LCTL}{+KC_LALT}8{-KC_LALT}{-KC_LCTL}", + "", + "", + "", + "", + "", + "", + "" + ], + "layers": [ + [ + "MACRO(3)", + "MACRO(0)", + "KC_NO", + "KC_NO", + "MACRO(5)", + "MACRO(1)", + "KC_NO", + "KC_NO", + "KC_NO", + "MACRO(8)", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "MACRO(6)", + "MACRO(7)", + "KC_NO", + "MACRO(2)", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "MACRO(4)", + "KC_NO", + "KC_NO", + "KC_NO" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_NO" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_NO" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ] + ], + "encoders": [] +} \ No newline at end of file