From a9586e1dc74a1e12e3d94d6510ff29efa20dcc34 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 17 Jan 2025 22:39:51 -0500 Subject: [PATCH] chore: add log-out shortcut --- Cargo.lock | 22 +++++++++++----------- data/keybindings.ron | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cc430ca5d..c6441434d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -865,7 +865,7 @@ dependencies = [ [[package]] name = "cosmic-config" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic/#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8" +source = "git+https://github.com/pop-os/libcosmic/#1914006cdd689491e3199d9887a715866c91d8aa" dependencies = [ "atomicwrites", "calloop 0.14.2", @@ -884,7 +884,7 @@ dependencies = [ [[package]] name = "cosmic-config-derive" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic/#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8" +source = "git+https://github.com/pop-os/libcosmic/#1914006cdd689491e3199d9887a715866c91d8aa" dependencies = [ "quote", "syn 1.0.109", @@ -920,7 +920,7 @@ dependencies = [ [[package]] name = "cosmic-settings-config" version = "0.1.0" -source = "git+https://github.com/pop-os/cosmic-settings-daemon#a05129f1951eb81dcc37bae722c0c3a719c35aa2" +source = "git+https://github.com/pop-os/cosmic-settings-daemon#fe529ae0edda45d53f3bd3a579c3a8f77457905a" dependencies = [ "cosmic-config", "serde", @@ -1465,7 +1465,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "iced_core" version = "0.14.0-dev" -source = "git+https://github.com/pop-os/libcosmic/#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8" +source = "git+https://github.com/pop-os/libcosmic/#1914006cdd689491e3199d9887a715866c91d8aa" dependencies = [ "bitflags 2.7.0", "bytes", @@ -2263,7 +2263,7 @@ dependencies = [ [[package]] name = "iced_futures" version = "0.14.0-dev" -source = "git+https://github.com/pop-os/libcosmic/#4a97b3ddd2f972cb8fdc6b7c0482596aa31a8fb8" +source = "git+https://github.com/pop-os/libcosmic/#1914006cdd689491e3199d9887a715866c91d8aa" dependencies = [ "futures", "iced_core", @@ -2916,7 +2916,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -4389,7 +4389,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -4989,7 +4989,7 @@ dependencies = [ "getrandom", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -5282,7 +5282,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69fff37da548239c3bf9e64a12193d261e8b22b660991c6fd2df057c168f435f" dependencies = [ "cc", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -5963,7 +5963,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/data/keybindings.ron b/data/keybindings.ron index 127f5887c..c5cefd38e 100644 --- a/data/keybindings.ron +++ b/data/keybindings.ron @@ -1,5 +1,6 @@ { - (modifiers: [Super, Shift], key: "Escape"): Terminate, + (modifiers: [Super, Alt], key: "Escape"): Terminate, + (modifiers: [Super, Shift], key: "Escape"): System(LogOut), (modifiers: [Super, Ctrl], key: "Escape"): Debug, (modifiers: [Super], key: "Escape"): System(LockScreen), (modifiers: [Super], key: "q"): Close,