Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
3hg
nakeDpkgs
Commits
14c7e5a6
Commit
14c7e5a6
authored
Apr 24, 2022
by
arpinux
Browse files
add hibernation. tx @croutons
parent
98c6689f
Changes
5
Hide whitespace changes
Inline
Side-by-side
nakedtools/man/nakedquit.1
View file @
14c7e5a6
...
...
@@ -5,7 +5,8 @@ nakedquit \- logout/quit menu for nakeDeb
.SH SYNOPSIS
.B nakedquit
.SH DESCRIPTION
nakedquit launches a menu handled by rofi(1) allowing you to logout, lock or suspend your session, reboot or shutdown your computer.
nakedquit launches a menu handled by rofi(1) allowing you to logout,
lock or suspend your session, hibernate, reboot or shutdown your computer.
.SH UTILISATION
Simply launch
.B nakedquit
...
...
nakedtools/manfr/nakedquit.1
View file @
14c7e5a6
...
...
@@ -6,7 +6,7 @@ nakedquit \- menu d'extinction pour nakeDeb
.B nakedquit
.SH DESCRIPTION
nakedquit lance un menu pris en charge par rofi(1) pour se déconnecter,
verrouiller la session, suspendre l'activité, redémarrer ou éteindre
verrouiller la session, suspendre l'activité,
hiberner,
redémarrer ou éteindre
votre ordinateur.
.SH UTILISATION
Lancez simplement
...
...
nakedtools/nakedquit
View file @
14c7e5a6
...
...
@@ -2,7 +2,7 @@
# a simple logout dialog
# launch exit menu
choice
=
$(
printf
"
\n
\n
\n
\n
\n
"
|
\
choice
=
$(
printf
"
\n
\n
\n
\n
\n
\n
"
|
\
rofi
-theme
/usr/share/nakedrasi/nakedquit.rasi
-dmenu
)
# execute the choice in background
...
...
@@ -10,7 +10,10 @@ case "$choice" in
)
pgrep
-x
i3
>
/dev/null
&&
i3-msg
exit
||
xdotool key Ctrl+Alt+BackSpace &
;;
)
i3lock-fancy &
;;
)
systemctl
suspend
&
;;
)
systemctl hibernate &
;;
)
systemctl reboot &
;;
)
systemctl poweroff &
;;
)
exit
;;
esac
exit
0
nakedtools/nakedtools.equivs
View file @
14c7e5a6
...
...
@@ -4,7 +4,7 @@ Homepage: https://nakedeb.arpinux.org
Standards-Version: 3.9.2
Package: nakedtools
Version: 1.4.6-
3
Version: 1.4.6-
4
Copyright: copyright
Readme: readme
Maintainer: arnault perret <contact@arpinux.org>
...
...
nakedtools/rasi/nakedquit.rasi
View file @
14c7e5a6
...
...
@@ -12,14 +12,14 @@
}
#window {
fullscreen: false;
width: 7
2
0px;
width: 7
7
0px;
border: 5px;
border-color: @blue;
background-color: @background;
text-color: @foreground;
font: "forkawesome 30";
padding:
20
px;
children:[horibox];
padding:
15
px;
children:
[horibox];
}
#horibox {
orientation: horizontal;
...
...
@@ -27,13 +27,13 @@
}
#listview {
layout: horizontal;
spacing:
20
px;
spacing:
18
px;
text-color: @foreground;
expand: true;
}
#element {
border: 0;
padding: 10px
31
px;
border:
0;
padding: 10px
28
px;
}
#element selected {
text-color: @foreground;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment