feat: rofi cmd starter

This commit is contained in:
Patrick Großmann 2023-02-08 20:17:38 +01:00
parent 24603f6a7f
commit cf1805cfa0
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
5 changed files with 25 additions and 19 deletions

View file

@ -4,7 +4,6 @@ MOD: TAGS:
# General # General
"${MOD}-q" = " close"; "${MOD}-q" = " close";
#"${MOD}-Shift-Escape" = " spawn ${HOME}/.config/rofi/powermenu/powermenu.sh";
# Moving # Moving
"${MOD}-Shift-Left" = " shift left"; "${MOD}-Shift-Left" = " shift left";
@ -78,6 +77,7 @@ MOD: TAGS:
"${MOD}-b " = "spawn firefox"; "${MOD}-b " = "spawn firefox";
"${MOD}-m " = "spawn thunderbird"; "${MOD}-m " = "spawn thunderbird";
"${MOD}-Shift-l " = "spawn systemctl suspend"; "${MOD}-Shift-l " = "spawn systemctl suspend";
"Menu" = "spawn rofi -show run";
} }
// builtins.listToAttrs (map (x: { // builtins.listToAttrs (map (x: {
name = "${MOD}-${x}"; name = "${MOD}-${x}";

View file

@ -46,7 +46,7 @@
hooks.postswitch = { hooks.postswitch = {
"reload_wm" = "herbstclient reload"; "reload_wm" = "herbstclient reload";
}; };
profiles.AStA_links = asta_conf { profiles.AStA_links = asta_conf {
# AStA linker arbeitsplatz linker Monitor # AStA linker arbeitsplatz linker Monitor

View file

@ -17,24 +17,24 @@ in {
doCheck = false; doCheck = false;
}); });
extraConfig = '' extraConfig = ''
herbstclient set auto_detect_monitors 1 herbstclient set auto_detect_monitors 1
killall polybar killall polybar
polybar & polybar &
herbstclient attr theme.tiling.reset 1 herbstclient attr theme.tiling.reset 1
herbstclient attr theme.floating.reset 1 herbstclient attr theme.floating.reset 1
herbstclient attr theme.active.color "#9fbc00" herbstclient attr theme.active.color "#9fbc00"
herbstclient attr theme.normal.color "#454545" herbstclient attr theme.normal.color "#454545"
herbstclient attr theme.urgent.color orange herbstclient attr theme.urgent.color orange
herbstclient attr theme.inner_width 1 herbstclient attr theme.inner_width 1
herbstclient attr theme.inner_color black herbstclient attr theme.inner_color black
herbstclient attr theme.border_width 3 herbstclient attr theme.border_width 3
herbstclient attr theme.floating.border_width 4 herbstclient attr theme.floating.border_width 4
herbstclient attr theme.floating.outer_width 1 herbstclient attr theme.floating.outer_width 1
herbstclient attr theme.floating.outer_color black herbstclient attr theme.floating.outer_color black
herbstclient attr theme.active.inner_color "#3E4A00" herbstclient attr theme.active.inner_color "#3E4A00"
herbstclient attr theme.active.outer_color "#3E4A00" herbstclient attr theme.active.outer_color "#3E4A00"
herbstclient attr theme.background_color "#141414" herbstclient attr theme.background_color "#141414"
''; '';
tags = TAGS; tags = TAGS;

View file

@ -1,3 +1,9 @@
{...}: { {...}: {
programs.rofi.enable = true; programs.rofi = {
enable = true;
theme = "DarkBlue";
extraConfig = {
matching = "fuzzy";
};
};
} }

View file

@ -9,7 +9,7 @@
common/autorandr.nix common/autorandr.nix
common/desktop.nix common/desktop.nix
common/polybar.nix common/polybar.nix
common/rofi.nix common/rofi.nix
]; ];
home = { home = {