Use xfce4-session-logout instead of custom script

This commit is contained in:
Evie Litherland-Smith 2023-07-04 11:36:58 +01:00
parent 0cbed7a97e
commit dbbaed24f5
2 changed files with 2 additions and 9 deletions

View file

@ -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

View file

@ -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";