Use xfce4-session-logout instead of custom script
This commit is contained in:
parent
0cbed7a97e
commit
dbbaed24f5
|
@ -51,7 +51,7 @@
|
|||
# Shortcuts
|
||||
"super + n" = "bspc desktop -f dev && neovide --multigrid";
|
||||
"super + r" = "bspc desktop -f files && wezterm -e ranger";
|
||||
"super + p" = "powermenu";
|
||||
"super + p" = "xfce4-session-logout";
|
||||
"super + F1" = "xfce4-screensaver-command --lock";
|
||||
|
||||
# bspwm hotkeys
|
||||
|
|
|
@ -1,14 +1,7 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
|
||||
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
|
||||
{config, ...}: let
|
||||
icon-theme = config.gtk.iconTheme.name;
|
||||
in {
|
||||
imports = [./gtk.nix];
|
||||
home.packages = [powermenu power-profiles];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
location = "center";
|
||||
|
|
Loading…
Reference in a new issue