add launcher for scripts
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
# TODO:
|
||||
# - split into multiple files
|
||||
# - configure comands like hyprpaper, waybar, etc.
|
||||
# - make hyprexpo work
|
||||
# - write config for hyprpanel
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -13,7 +13,7 @@
|
||||
# ./hyprland/rules.nix
|
||||
# ./hyprland/colors.nix
|
||||
# ./hyprland/active.nix
|
||||
./hyprland/keybinds.nix # in process
|
||||
./hyprland/keybinds.nix # done
|
||||
./hyprlock.nix # done
|
||||
./hypridle.nix # done
|
||||
];
|
||||
@@ -33,12 +33,12 @@
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# plugins = [ hyprexpo ];
|
||||
plugins = [ pkgs.hyprlandPlugins.hyprexpo ];
|
||||
settings = {
|
||||
env = [ "XCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24" ];
|
||||
|
||||
exec-once = [
|
||||
"hyprlock"
|
||||
# "hyprlock"
|
||||
"hyprpanel &"
|
||||
"gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'"
|
||||
"gsettings set org.gnome.desktop.interface cursor-size ${
|
||||
@@ -209,7 +209,7 @@
|
||||
workspace_method =
|
||||
"first 1"; # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
enable_gesture = false; # laptop touchpad, 4 fingers
|
||||
enable_gesture = true; # laptop touchpad, 4 fingers
|
||||
gesture_distance = 300; # how far is the "max"
|
||||
gesture_positive = false;
|
||||
};
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
in {
|
||||
bind = [
|
||||
"${super}, Super_L, exec, pkill fuzzel || fuzzel"
|
||||
# "${super}, g, hyprexpo:expo, toggle"
|
||||
|
||||
"${super}, H, exec, ~/.config/hypr/scripts/hide_window.sh h"
|
||||
"${super}, I, exec, ~/.config/hypr/scripts/hide_window.sh u"
|
||||
@@ -66,17 +67,17 @@
|
||||
|
||||
''
|
||||
Ctrl+Shift, Escape, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty -1 fish -c btop"''
|
||||
"${super}+Alt, 1, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 1"
|
||||
"${super}+Alt, 2, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 2"
|
||||
"${super}+Alt, 3, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 3"
|
||||
"${super}+Alt, 4, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 4"
|
||||
"${super}+Alt, 5, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 5"
|
||||
"${super}+Alt, 6, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 6"
|
||||
"${super}+Alt, 7, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 7"
|
||||
"${super}+Alt, 8, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 8"
|
||||
"${super}+Alt, 9, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 9"
|
||||
"${super}+Alt, 0, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 10"
|
||||
"${super}+Alt, S, movetoworkspacesilent, special"
|
||||
"${super}+Shift, 1, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 1"
|
||||
"${super}+Shift, 2, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 2"
|
||||
"${super}+Shift, 3, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 3"
|
||||
"${super}+Shift, 4, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 4"
|
||||
"${super}+Shift, 5, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 5"
|
||||
"${super}+Shift, 6, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 6"
|
||||
"${super}+Shift, 7, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 7"
|
||||
"${super}+Shift, 8, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 8"
|
||||
"${super}+Shift, 9, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 9"
|
||||
"${super}+Shift, 0, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 10"
|
||||
"${super}+Shift, S, movetoworkspacesilent, special"
|
||||
"${super}, S, togglespecialworkspace"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user