Add localization
This commit is contained in:
parent
ef69fe83bf
commit
93d4818823
8 changed files with 365 additions and 3 deletions
|
|
@ -33,6 +33,8 @@ use tokio::{sync::mpsc, task, time};
|
|||
use wayland_client::{protocol::wl_output::WlOutput, Proxy};
|
||||
|
||||
pub fn main(current_user: pwd::Passwd) -> Result<(), Box<dyn std::error::Error>> {
|
||||
crate::localize::localize();
|
||||
|
||||
//TODO: use accountsservice
|
||||
let icon_path = Path::new("/var/lib/AccountsService/icons").join(¤t_user.name);
|
||||
let icon_opt = if icon_path.is_file() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue