-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved autolock functionality, relocated styles
- Adjusted autolock behavior for a smoother transition to the lock screen - Relocated lock screen, login screen, and launcher styles to the styles directory - Updated default lock behavior to use loginctl Signed-off-by: Kajus Naujokaitis <[email protected]>
- Loading branch information
1 parent
0396a4f
commit a0dd094
Showing
7 changed files
with
98 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Copyright 2022-2024 TII (SSRC) and the Ghaf contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Ghaf app launcher style | ||
{ | ||
pkgs, | ||
... | ||
}: | ||
pkgs.writeText "ghaf-launcher.css" '' | ||
/* Example configuration from: https://github.com/nwg-piotr/nwg-drawer/blob/main/drawer.css */ | ||
window { | ||
background-color: #121212; | ||
color: #fff; | ||
} | ||
/* search entry */ | ||
entry { | ||
background-color: rgba (43, 43, 43, 1); | ||
border: 1px solid rgba(46, 46, 46, 1); | ||
} | ||
entry:focus { | ||
box-shadow: none; | ||
border: 1px solid rgba(223, 92, 55, 1); | ||
} | ||
button, image { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
} | ||
button:hover { | ||
background-color: rgba (255, 255, 255, 0.06); | ||
} | ||
/* in case you wanted to give category buttons a different look */ | ||
#category-button { | ||
margin: 0 10px 0 10px; | ||
} | ||
#pinned-box { | ||
padding-bottom: 5px; | ||
border-bottom: 1px dotted gray; | ||
} | ||
#files-box { | ||
padding: 5px; | ||
border: 1px dotted gray; | ||
border-radius: 15px; | ||
} | ||
'' |
4 changes: 3 additions & 1 deletion
4
modules/desktop/graphics/styles/gtk-lock.nix → ...es/desktop/graphics/styles/lock-style.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2022-2024 TII (SSRC) and the Ghaf contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Ghaf login screen style | ||
{ | ||
pkgs, | ||
... | ||
}: | ||
pkgs.writeText "ghaf-login.css" '' | ||
window { | ||
background: rgba(18, 18, 18, 1); | ||
color: #fff; | ||
} | ||
button { | ||
box-shadow: none; | ||
border-radius: 5px; | ||
border: 1px solid rgba(255, 255, 255, 0.09); | ||
background: rgba(255, 255, 255, 0.06); | ||
} | ||
entry { | ||
background-color: rgba (43, 43, 43, 1); | ||
border: 1px solid rgba(46, 46, 46, 1); | ||
color: #eee; | ||
} | ||
entry:focus { | ||
box-shadow: none; | ||
border: 1px solid rgba(223, 92, 55, 1); | ||
} | ||
'' |