add application launcher rofi
This commit is contained in:
parent
22b935e728
commit
dbb17f6425
3 changed files with 30 additions and 7 deletions
|
@ -26,9 +26,7 @@ with lib.hm.gvariant;
|
|||
"spotify.desktop"
|
||||
"discord.desktop"
|
||||
];
|
||||
enabled-extensions = with pkgs.gnomeExtensions; [
|
||||
workspace-switch-wraparound.extensionUuid
|
||||
];
|
||||
enabled-extensions = with pkgs.gnomeExtensions; [ workspace-switch-wraparound.extensionUuid ];
|
||||
};
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
|
@ -44,13 +42,21 @@ with lib.hm.gvariant;
|
|||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
# Disable the lock screen shortcut
|
||||
screensaver = [ "" ];
|
||||
custom-keybindings = [ "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" ];
|
||||
custom-keybindings = [
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
|
||||
];
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||
binding = "<Super>Return";
|
||||
command = "alacritty";
|
||||
name = "Launch terminal";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
|
||||
binding = "<Super>Space";
|
||||
command = "rofi -show";
|
||||
name = "Launcher";
|
||||
};
|
||||
"org/gnome/desktop/wm/keybindings" = {
|
||||
minimize = [ "" ];
|
||||
move-to-workspace-1 = [ "" ];
|
||||
|
@ -85,8 +91,8 @@ with lib.hm.gvariant;
|
|||
workspaces-only-on-primary = true;
|
||||
};
|
||||
"org/gnome/mutter/keybindings" = {
|
||||
toggle-tiled-right = ["<Super><Shift>l"];
|
||||
toggle-tiled-left = ["<Super><Shift>h"];
|
||||
toggle-tiled-right = [ "<Super><Shift>l" ];
|
||||
toggle-tiled-left = [ "<Super><Shift>h" ];
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/power" = {
|
||||
power-button-action = "nothing";
|
||||
|
@ -119,7 +125,7 @@ with lib.hm.gvariant;
|
|||
switch-to-application-8 = [ "" ];
|
||||
switch-to-application-9 = [ "" ];
|
||||
toggle-quick-settings = [ "" ];
|
||||
toggle-application-view = [ "<Super>space" ];
|
||||
toggle-application-view = [ "" ];
|
||||
};
|
||||
"org/gtk/gtk4/settings/file-chooser" = {
|
||||
show-hidden = true;
|
||||
|
|
12
users/josh/home_manager/launcher.nix
Normal file
12
users/josh/home_manager/launcher.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ settings, pkgs, ... }:
|
||||
{
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
plugins = with pkgs; [ rofi-calc ];
|
||||
extraConfig = {
|
||||
modi = "drun,run,ssh,window,calc";
|
||||
terminal = "alacritty";
|
||||
};
|
||||
theme = "glue_pro_blue";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue