Skip to content

Commit

Permalink
change tree orders
Browse files Browse the repository at this point in the history
  • Loading branch information
WeissP committed Oct 21, 2024
1 parent a0b8ff2 commit b81788c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/TreeActions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ myTreeConf =
weissTreeActions =
treeselectAction
myTreeConf
$ [ Node
(TSNode "System" "System operations" (return ()))
[ Node (TSNode "Shutdown" "Poweroff the system" (spawn " sudo shutdown now")) []
, Node (TSNode "Reboot" "Reboot the system" (spawn "sudo reboot")) []
, Node (TSNode "Suspend" "Suspend the system" (spawn "sudo systemctl suspend")) []
]
]
<> scratchpadActions
$ scratchpadActions
<> [ Node
(TSNode "System" "System operations" (return ()))
[ Node (TSNode "Shutdown" "Poweroff the system" (spawn " sudo shutdown now")) []
, Node (TSNode "Reboot" "Reboot the system" (spawn "sudo reboot")) []
, Node (TSNode "Suspend" "Suspend the system" (spawn "sudo systemctl suspend")) []
]
]
where
scratchpadActions =
myScratchPads <&> \(NS name _ _ _) ->
Expand Down

0 comments on commit b81788c

Please sign in to comment.