Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
Cleanup Manjaro Gnome
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefano Capitani
Cleanup Manjaro Gnome
Commits
a6217653
Verified
Commit
a6217653
authored
Oct 01, 2018
by
Stefano Capitani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add function
Signed-off-by:
Ste74
<
stefano@manjaro.org
>
parent
355190ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
assets
assets
+1
-0
gnome-reset
gnome-reset
+21
-3
No files found.
assets
View file @
a6217653
...
...
@@ -7,3 +7,4 @@ gnome-shell-extension-arc-menu
gnome-shell-extension-dash-to-dock
chrome-gnome-shell
manjaro-gdm-branding
manjaro-gdm-theme
gnome-reset
100644 → 100755
View file @
a6217653
...
...
@@ -15,7 +15,7 @@ manjaro_stuff=$(cat assets)
manjaro
=
/usr/share/icons/manjaro/maia/maia.svg
warning
=
/usr/share/icons/hicolor/40x40/status/aur-warning.png
yad
--title
"Manjaro Gnome Resetting"
--on-top
--center
--window-icon
=
$manjaro
--image
=
$warning
--width
=
550
--fixed
\
yad
--title
"Manjaro Gnome Resetting
Tool
"
--on-top
--center
--window-icon
=
$manjaro
--image
=
$warning
--width
=
550
--fixed
\
--text
'
<span font="11">This utility perform you to set a Vanilla Gnome Session:</span>
...
...
@@ -26,7 +26,25 @@ configurations to help you to obtain a vanilla gnome session.</span>
if
[[
$?
==
0
]]
;
then
yes
| pkexec pamac remove
${
manjaro_stuff
}
| yad
--progress
--title
"Manjaro Gnome Resetting"
--progress-text
=
Removing
--pulsate
--auto-close
if
[[
-f
/var/lib/pacman/db.lck
]]
;
then
yad
--title
"Manjaro Gnome Resetting Tool"
--on-top
--center
--window-icon
=
$manjaro
--image
=
$warning
--width
=
550
--fixed
\
--text
'
<span foreground="red" font="11">Another install/remove session is running:
Abort or press Ok to force the execution</span>'
--text-align
=
left
;
if
[[
$?
==
0
]]
;
then
gksu-polkit
rm
/var/lib/pacman/db.lck
else
exit
1
fi
fi
yes
| pkexec pamac remove
${
manjaro_stuff
}
| yad
--progress
--title
"Manjaro Gnome Resetting Tool"
--progress-text
=
Removing
--pulsate
--auto-close
yad
--title
"Manjaro Gnome Resetting Tool"
--on-top
--center
--window-icon
=
$manjaro
--image
=
$warning
--width
=
550
--fixed
\
--text
'
<span font="11">Done, enjoy with Manjaro Gnome Vanilla.</span>'
fi
Write
Preview
Markdown
is supported
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