From 5d2064ba9e7cf4746317c0b20bc8b245a9fadc30 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 9 Nov 2023 21:23:26 +0530 Subject: [PATCH] binding for browser --- home/wm/hyprland/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 3e6d4cc..c70d8e4 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -4,6 +4,7 @@ }: let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; + browser = "${config.programs.firefox.package}/bin/firefox"; #dbus-update-activation-environment = "${pkgs.dbus}/bin/dbus-update-activation-environment"; grimblast = "${pkgs.grimblast}/bin/grimblast"; hyprctl = "${pkgs.hyprland}/bin/hyprctl"; @@ -170,17 +171,21 @@ in "SUPER_SHIFT,C, exec, systemctl --user restart swayidle.service" "SUPER_SHIFT,C, exec, systemctl --user restart kanshi.service" "SUPER_SHIFT,C, exec, systemctl --user reload waybar.service" + "SUPER,Return, exec, ${kitty} ${tmux} new" "SUPER_SHIFT,Return, exec, ${kitty}" "SUPER,d, exec, ${rofi} -show drun" - "SUPER,escape, exec, ${swaylock} -f -i /tmp/lockpaper.jpg" - "SUPER_SHIFT,W, exec, ${change-wallpaper}" - "SUPER_ALT,W, exec, ${wallhaven-wallpaper}" + "SUPER,i, exec, ${browser}" + "SUPER_SHIFT,escape, exec, ${pkgs.scripts}/bin/power-menu" "SUPER,f11, exec, ${pkgs.scripts}/bin/tmux-sessions" "SUPER_SHIFT,y, exec, ${pkgs.scripts}/bin/youtube" "SUPER_SHIFT,b, exec, ${pkgs.rofi-bluetooth}/bin/rofi-bluetooth" + "SUPER,escape, exec, ${swaylock} -f -i /tmp/lockpaper.jpg" + "SUPER_SHIFT,W, exec, ${change-wallpaper}" + "SUPER_ALT,W, exec, ${wallhaven-wallpaper}" + "SUPER,1, workspace, 1" "SUPER,2, workspace, 2" "SUPER,3, workspace, 3"