gnome: run-or-raise

This commit is contained in:
js0ny 2026-01-26 13:10:06 +00:00
parent 46b34400a2
commit 18bdb02ca1
11 changed files with 178 additions and 195 deletions

View file

@ -1,10 +1,8 @@
<!DOCTYPE gui> <?xml version='1.0'?>
<gui name="dolphin" translationDomain="kxmlgui6" version="46"> <!DOCTYPE gui SYSTEM 'kpartgui.dtd'>
<MenuBar alreadyVisited="1"> <gui name="dolphin" version="48">
<Menu alreadyVisited="1" name="file" noMerge="1"> <MenuBar>
<text translationDomain="kxmlgui6">&amp;File</text> <Menu name="file">
<Action name="file_new"/>
<Separator weakSeparator="1"/>
<Action name="new_menu"/> <Action name="new_menu"/>
<Action name="file_new"/> <Action name="file_new"/>
<Action name="new_tab"/> <Action name="new_tab"/>
@ -21,25 +19,8 @@
<Action name="show_target"/> <Action name="show_target"/>
<Separator/> <Separator/>
<Action name="properties"/> <Action name="properties"/>
<Separator weakSeparator="1"/>
<Action name="file_close"/>
<Separator weakSeparator="1"/>
<Action name="file_quit"/>
</Menu> </Menu>
<Menu alreadyVisited="1" name="edit" noMerge="1"> <Menu name="edit">
<text translationDomain="kxmlgui6">&amp;Edit</text>
<Action name="edit_undo"/>
<Separator weakSeparator="1"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
<Separator weakSeparator="1"/>
<Action name="edit_select_all"/>
<Separator weakSeparator="1"/>
<Action name="edit_find"/>
<Separator weakSeparator="1"/>
<Action name="edit_undo"/>
<Separator/>
<Action name="edit_cut"/> <Action name="edit_cut"/>
<Action name="edit_copy"/> <Action name="edit_copy"/>
<Action name="copy_location"/> <Action name="copy_location"/>
@ -54,13 +35,7 @@
<Action name="edit_select_all"/> <Action name="edit_select_all"/>
<Action name="invert_selection"/> <Action name="invert_selection"/>
</Menu> </Menu>
<Menu alreadyVisited="1" name="view" noMerge="1"> <Menu name="view">
<text translationDomain="kxmlgui6">&amp;View</text>
<Action name="view_zoom_in"/>
<Action name="view_zoom_out"/>
<Separator weakSeparator="1"/>
<Action name="view_redisplay"/>
<Separator weakSeparator="1"/>
<Action name="view_zoom_in"/> <Action name="view_zoom_in"/>
<Action name="view_zoom_reset"/> <Action name="view_zoom_reset"/>
<Action name="view_zoom_out"/> <Action name="view_zoom_out"/>
@ -80,35 +55,19 @@
<Action name="stop"/> <Action name="stop"/>
<Separator/> <Separator/>
<Action name="panels"/> <Action name="panels"/>
<Menu icon="edit-select-text" name="location_bar" noMerge="1"> <Menu icon="edit-select-text" name="location_bar">
<text context="@title:menu" translationDomain="dolphin">Location Bar</text> <text context="@title:menu">Location Bar</text>
<Action name="editable_location"/> <Action name="editable_location"/>
<Action name="replace_location"/> <Action name="replace_location"/>
</Menu> </Menu>
<Separator/> <Separator/>
<Action name="view_properties"/> <Action name="view_properties"/>
</Menu> </Menu>
<Menu alreadyVisited="1" name="go" noMerge="1"> <Menu name="go">
<text translationDomain="kxmlgui6">&amp;Go</text>
<Action name="go_up"/>
<Action name="go_back"/>
<Action name="go_forward"/>
<Action name="go_home"/>
<Separator weakSeparator="1"/>
<Action name="bookmarks"/> <Action name="bookmarks"/>
<Action name="closed_tabs"/> <Action name="closed_tabs"/>
</Menu> </Menu>
<Separator weakSeparator="1"/> <Menu name="tools">
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Separator weakSeparator="1"/>
<Menu alreadyVisited="1" name="tools" noMerge="1">
<text translationDomain="kxmlgui6">&amp;Tools</text>
<Action name="open_preferred_search_tool"/> <Action name="open_preferred_search_tool"/>
<Action name="open_terminal"/> <Action name="open_terminal"/>
<Action name="open_terminal_here"/> <Action name="open_terminal_here"/>
@ -116,30 +75,8 @@
<Action name="compare_files"/> <Action name="compare_files"/>
<Action name="change_remote_encoding"/> <Action name="change_remote_encoding"/>
</Menu> </Menu>
<Menu alreadyVisited="1" name="settings" noMerge="1"> <Menu name="settings">
<text translationDomain="kxmlgui6">&amp;Settings</text> <Action name="window_color_sheme"/>
<Action name="options_show_menubar"/>
<Merge name="StandardToolBarMenuHandler"/>
<Merge name="KMDIViewActions"/>
<Separator weakSeparator="1"/>
<Action name="switch_application_language"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure"/>
</Menu>
<Separator weakSeparator="1"/>
<Menu alreadyVisited="1" name="help" noMerge="1">
<text translationDomain="kxmlgui6">&amp;Help</text>
<Action name="help_contents"/>
<Action name="help_whats_this"/>
<Action name="open_kcommand_bar"/>
<Separator weakSeparator="1"/>
<Action name="help_report_bug"/>
<Separator weakSeparator="1"/>
<Action name="help_donate"/>
<Separator weakSeparator="1"/>
<Action name="help_about_app"/>
<Action name="help_about_kde"/>
</Menu> </Menu>
</MenuBar> </MenuBar>
<ToolBar alreadyVisited="1" name="mainToolBar" noMerge="1"> <ToolBar alreadyVisited="1" name="mainToolBar" noMerge="1">
@ -180,33 +117,30 @@
</disable> </disable>
</State> </State>
<ActionProperties scheme="Default"> <ActionProperties scheme="Default">
<Action icon="user_purple" iconText="sudo" name="act_as_admin"/>
<Action name="add_to_places" priority="0"/>
<Action name="compact" priority="0" shortcut="; "/>
<Action iconText="Location" name="copy_location"/>
<Action name="copy_to_inactive_split_view" shortcut="Shift+F5; Ctrl+1"/>
<Action name="create_dir" priority="0"/>
<Action name="details" priority="0"/>
<Action name="edit_copy" priority="0"/>
<Action name="edit_cut" priority="0" shortcut="Ctrl+X"/>
<Action name="edit_paste" priority="0"/>
<Action name="go_back" priority="0"/> <Action name="go_back" priority="0"/>
<Action name="go_forward" priority="0"/> <Action name="go_forward" priority="0"/>
<Action name="go_up" priority="0"/>
<Action name="go_home" priority="0" shortcut="Ctrl+Backspace; Home Page"/> <Action name="go_home" priority="0" shortcut="Ctrl+Backspace; Home Page"/>
<Action name="stop" priority="0"/> <Action name="go_up" priority="0"/>
<Action name="icons" priority="0" shortcut="; "/> <Action name="icons" priority="0" shortcut="; "/>
<Action name="compact" priority="0" shortcut="; "/> <Action name="move_to_inactive_split_view" shortcut="Shift+F6; Ctrl+2"/>
<Action name="details" priority="0"/> <Action name="split_view" priority="0"/>
<Action name="stop" priority="0"/>
<Action name="toggle_filter" priority="0"/>
<Action name="toggle_search" priority="0"/>
<Action name="view_mode" priority="0"/> <Action name="view_mode" priority="0"/>
<Action name="view_settings" priority="0"/> <Action name="view_settings" priority="0"/>
<Action name="view_zoom_in" priority="0"/> <Action name="view_zoom_in" priority="0"/>
<Action name="view_zoom_reset" priority="0"/>
<Action name="view_zoom_out" priority="0"/> <Action name="view_zoom_out" priority="0"/>
<Action name="edit_cut" priority="0" shortcut="Ctrl+X"/> <Action name="view_zoom_reset" priority="0"/>
<Action name="edit_copy" priority="0"/>
<Action name="edit_paste" priority="0"/>
<Action name="toggle_search" priority="0"/>
<Action name="toggle_filter" priority="0"/>
<Action name="create_dir" priority="0"/>
<Action name="split_view" priority="0"/>
<Action iconText="Location" name="copy_location"/>
<Action icon="user_purple" iconText="sudo" name="act_as_admin"/>
<Action name="add_to_places" priority="0"/>
<Action name="copy_to_inactive_split_view" shortcut="Shift+F5; Ctrl+1"/>
<Action name="move_to_inactive_split_view" shortcut="Shift+F6; Ctrl+2"/>
</ActionProperties> </ActionProperties>
</gui> </gui>
<!--
vim:ft=xml
-->

View file

@ -1,6 +1,6 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE gui SYSTEM 'kpartgui.dtd'> <!DOCTYPE gui SYSTEM 'kpartgui.dtd'>
<gui name="gwenview" version="70"> <gui name="gwenview" version="71">
<MenuBar> <MenuBar>
<Menu name="file"> <Menu name="file">
<Action name="file_save"/> <Action name="file_save"/>
@ -83,6 +83,10 @@
<Separator/> <Separator/>
<Action name="go_start_page"/> <Action name="go_start_page"/>
</Menu> </Menu>
<Menu name="settings">
<text>Settings</text>
<Action group="show_merge" name="window-colorscheme-menu"/>
</Menu>
</MenuBar> </MenuBar>
<ToolBar name="mainToolBar" noMerge="1"> <ToolBar name="mainToolBar" noMerge="1">
<text>Main Toolbar</text> <text>Main Toolbar</text>
@ -101,21 +105,18 @@
<Action name="hamburger_menu"/> <Action name="hamburger_menu"/>
</ToolBar> </ToolBar>
<ActionProperties scheme="Default"> <ActionProperties scheme="Default">
<Action name="edit_cut" shortcut="Ctrl+X"/>
<Action name="file_quit" shortcut="Ctrl+Q; Q"/>
<Action name="fullscreen" priority="0"/> <Action name="fullscreen" priority="0"/>
<Action name="go_next" shortcut="]; N"/> <Action name="go_next" shortcut="]; N"/>
<Action name="edit_cut" shortcut="Ctrl+X"/>
<Action name="go_previous" shortcut="[; P"/> <Action name="go_previous" shortcut="[; P"/>
<Action name="file_quit" shortcut="Ctrl+Q; Q"/>
<Action name="view_zoom_to_fit" shortcut="Z"/>
<Action name="toggle_thumbnailbar" shortcut="Ctrl+B; T"/>
<Action name="open_kcommand_bar" shortcut="Ctrl+Alt+I; Ctrl+Shift+P"/> <Action name="open_kcommand_bar" shortcut="Ctrl+Alt+I; Ctrl+Shift+P"/>
<Action name="view" shortcut="V; Space"/>
<Action name="toggle_operations_sidebar" shortcut="E"/> <Action name="toggle_operations_sidebar" shortcut="E"/>
<Action name="toggle_thumbnailbar" shortcut="Ctrl+B; T"/>
<Action name="view" shortcut="V; Space"/>
<Action name="view_toggle_spotlightmode" shortcut="O"/> <Action name="view_toggle_spotlightmode" shortcut="O"/>
<Action name="view_zoom_in" shortcut="=; Ctrl+="/> <Action name="view_zoom_in" shortcut="=; Ctrl+="/>
<Action name="view_zoom_out" shortcut="Ctrl+-; -"/> <Action name="view_zoom_out" shortcut="Ctrl+-; -"/>
<Action name="view_zoom_to_fit" shortcut="Z"/>
</ActionProperties> </ActionProperties>
</gui> </gui>
<!--
vim:ft=xml
-->

146
nixcfgs/flake.lock generated
View file

@ -100,11 +100,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768655473, "lastModified": 1769226332,
"narHash": "sha256-iWnILPS2mP9ubbjRAhNv6Fqg1J/upxmD9OQTZQR4O2w=", "narHash": "sha256-JKD9M2+/J4e6nRtcY2XRfpLlOHaGXT4aUHyIG/20qlw=",
"owner": "caelestia-dots", "owner": "caelestia-dots",
"repo": "cli", "repo": "cli",
"rev": "7de6c6063119a7cef27c6bd4c88f2c5ac4cbc064", "rev": "52a3a3c50ef55e3561057e8a74c85cf16f83039f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -122,11 +122,11 @@
"quickshell": "quickshell" "quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1768700084, "lastModified": 1769305032,
"narHash": "sha256-G/RtxgpF4OHRWy82/MHmEClOq9sBn8tki6K6vCuPZvU=", "narHash": "sha256-Of4+4pnT+EmAl/DM1GYkpceX6yXw+QLU30WTec0ZypQ=",
"owner": "caelestia-dots", "owner": "caelestia-dots",
"repo": "shell", "repo": "shell",
"rev": "408c523d257f5e22fd95229dd36e76f4b90439a2", "rev": "b33440684950acf0b3f089b789da370685d9396c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -140,11 +140,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1768575137, "lastModified": 1769164550,
"narHash": "sha256-e0SsKnkSnq+UwZNS9ZyPJjTjabzq9TRc1hqeDnvOF1Q=", "narHash": "sha256-AxLb3L4j148v4Cj6ju5E9wsVdcHULuoI8il7+H5t6cs=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "48e67b4ad22072f1ae30b0ed8e1cb020cf06c611", "rev": "deb2a5a54cf9e05ddf60aeeb933f60ad2fac20e1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -174,11 +174,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1768551400, "lastModified": 1769093894,
"narHash": "sha256-mlHlHW8qLcHm42J1M34HLXLW+Rw8jsLkLdjSvIYlhjw=", "narHash": "sha256-Ka1uvhSq66yp0IlNFFpx7h+NlysbN52/yUbQKvI4AiA=",
"owner": "abenz1267", "owner": "abenz1267",
"repo": "elephant", "repo": "elephant",
"rev": "f230c43ae94231c2db754f84a4f31cf76721a28a", "rev": "b34dd272ab5dc60096157d7cc7ff781f359c48b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -195,11 +195,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768698116, "lastModified": 1769303011,
"narHash": "sha256-kRBsd1X5YPXT/GJR0jYs0rkgDhbkTHLi7UH8SFeY9Kc=", "narHash": "sha256-rz7sMVPAxofeBMxFgoGe1uaqNAkxMzWJO36QowMz+iE=",
"owner": "petrkozorezov", "owner": "petrkozorezov",
"repo": "firefox-addons-nix", "repo": "firefox-addons-nix",
"rev": "30a66171e63cbf5befd8d4b756e932540782bd87", "rev": "a473d91931f22836b0c91fcf02eb3eb6d2e5b21c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -264,11 +264,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1765835352, "lastModified": 1768135262,
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "a34fae9c08a15ad73f295041fec82323541400a9", "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -396,11 +396,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768707181, "lastModified": 1769289524,
"narHash": "sha256-GdwFfnwdUgABFpc4sAmX7GYx8eQs6cEjOPo6nBJ0YaI=", "narHash": "sha256-6Cwtvzrw79cOk1lCzN2aKSVrpgSOSQoYhyMmhXXZjTA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "83bcb17377f0242376a327e742e9404e9a528647", "rev": "2539eba97a6df237d75617c25cd2dbef92df3d5b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -434,11 +434,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1768684335, "lastModified": 1769282225,
"narHash": "sha256-YLjGGcSNE2lK+TUqDFEX6IBjPZNjLaoxAXji3mmZbvs=", "narHash": "sha256-5rcscjSoahWOb/xTNCLlqh/PKfNwvAwcf2hQ7XLj5RI=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "c133a45b02dba5fd229532067d6a22d5209436d6", "rev": "2efd11d9a6b5655c3b97beb666739eabcebd6171",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -487,11 +487,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768561867, "lastModified": 1768764703,
"narHash": "sha256-prGOZ+w3pZfGTRxworKcJliCNsewF0L4HUPjgU/6eaw=", "narHash": "sha256-5ulSDyOG1U+1sJhkJHYsUOWEsmtLl97O0NTVMvgIVyc=",
"owner": "nix-darwin", "owner": "nix-darwin",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "8b720b9662d4dd19048664b7e4216ce530591adc", "rev": "0fc4e7ac670a0ed874abacf73c4b072a6a58064b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -543,11 +543,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1768610265, "lastModified": 1769284737,
"narHash": "sha256-JZgnO/gPPBgFCKsQHIT2mRcK0vkwWGfyg/6wOJkb+F8=", "narHash": "sha256-FN6sOLBVidcmlKN+hrVuBjK/DjLCuM3qTmsRwuTYDmk=",
"owner": "kaylorben", "owner": "kaylorben",
"repo": "nixcord", "repo": "nixcord",
"rev": "02c730b57b8ef16c62624a3410ef724d014c58db", "rev": "672b0dfb216b52b6bc892d08f4f7dccd39676db8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -604,11 +604,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1768621446, "lastModified": 1769089682,
"narHash": "sha256-6YwHV1cjv6arXdF/PQc365h1j+Qje3Pydk501Rm4Q+4=", "narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "72ac591e737060deab2b86d6952babd1f896d7c5", "rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -652,11 +652,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1768305791, "lastModified": 1769018530,
"narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=", "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e", "rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -684,11 +684,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1768564909, "lastModified": 1769018530,
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=", "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f", "rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -700,11 +700,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1766885793, "lastModified": 1769089682,
"narHash": "sha256-P6RVkrM9JLCW6xBjSwHfgTOQ1JwBUma5xe5LI8xAPC0=", "narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9ef261221d1e72399f2036786498d78c38185c46", "rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -716,11 +716,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1768661221, "lastModified": 1769268028,
"narHash": "sha256-MJwOjrIISfOpdI9x4C+5WFQXvHtOuj5mqLZ4TMEtk1M=", "narHash": "sha256-mAdJpV0e5IGZjnE4f/8uf0E4hQR7ptRP00gnZKUOdMo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3327b113f2ef698d380df83fbccefad7e83d7769", "rev": "ab9fbbcf4858bd6d40ba2bbec37ceb4ab6e1f562",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -732,11 +732,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1768564909, "lastModified": 1769018530,
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=", "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f", "rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -764,11 +764,11 @@
}, },
"nixpkgs_9": { "nixpkgs_9": {
"locked": { "locked": {
"lastModified": 1757068644, "lastModified": 1768564909,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -784,11 +784,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1768745475, "lastModified": 1769314173,
"narHash": "sha256-6zUQPMRPJtOmsauPelehLMdJnQUfEmI+85PN5Dm/Lmo=", "narHash": "sha256-as0Z5YGOzKMdrq4UyTDBeOCCzvL8NUAdlovH/z6XxHA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "70b0d6feabd750d1aaee82d1d600b5b553d1168f", "rev": "523d33ab04f89289bfa9e253abfa98a945a26edf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -853,11 +853,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768689040, "lastModified": 1768985439,
"narHash": "sha256-Tlnr5BulJcMers/cb+YvmBQW4nKHjdKo9loInJkyO2k=", "narHash": "sha256-qkU4r+l+UPz4dutMMRZSin64HuVZkEv9iFpu9yMWVY0=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "7a427ce1979ce7447e885c4f30129b40f3d466f5", "rev": "191085a8821b35680bba16ce5411fc9dbe912237",
"revCount": 729, "revCount": 731,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell" "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}, },
@ -897,11 +897,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768709255, "lastModified": 1769314333,
"narHash": "sha256-aigyBfxI20FRtqajVMYXHtj5gHXENY2gLAXEhfJ8/WM=", "narHash": "sha256-+Uvq9h2eGsbhacXpuS7irYO7fFlz514nrhPCSTkASlw=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "5e8fae80726b66e9fec023d21cd3b3e638597aa9", "rev": "2eb9eed7ef48908e0f02985919f7eb9d33fa758f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -929,11 +929,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1768744881, "lastModified": 1769202931,
"narHash": "sha256-3+h7OxqfrPIB/tRsiZXWE9sCbTm7NQN5Ie428p+S6BA=", "narHash": "sha256-4IZuCMjlWEtS6rVXozVXaJG6QADHVncXC29PLZr6ZB4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "06684f00cfbee14da96fd4307b966884de272d3a", "rev": "749285c90e3e35ebe0952c86838f3089abbc7939",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1107,11 +1107,11 @@
"systems": "systems_5" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1767893373, "lastModified": 1769093508,
"narHash": "sha256-PYqT8GdCAsmCAgJXu88wvOU2n41iugVCph0RV+v2VAc=", "narHash": "sha256-ccwJ1ADGNFd5LDF2JWdfP7+f1Hs2EvJ+2o6sUOdYi7w=",
"owner": "abenz1267", "owner": "abenz1267",
"repo": "walker", "repo": "walker",
"rev": "3dfc75e90e7a7cbff109ffa6e1af099d4e1f3867", "rev": "e427025bdda667712b08dd56f1a0a23667f1364c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1178,11 +1178,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1768106915, "lastModified": 1769279212,
"narHash": "sha256-HlLo9zH4ULRXlmlIK948cHmdVhxyHgTHxGaoCRlW4k8=", "narHash": "sha256-LAd6DYp6bbnQqtzMm62BE/0IMy67A4CgyYVi4xvyD6s=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "72245e108f3b03c3c4474d2de9de2d1830849603", "rev": "3af3e3ab78d0eb96fb9b5161693811e050b90991",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1198,11 +1198,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767618227, "lastModified": 1769228180,
"narHash": "sha256-9+XVF47E9NCVs249SSsDtr7YdG/23/lCJmWAjQvOfqI=", "narHash": "sha256-94KY0JNjdd3CcSyKlHPCPswlqmUrWT6+MfOHektsdB8=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "1586e49b3908b058e221f11d843eb46392dba17b", "rev": "ef1663c14b7c3c2b84bcf140232534be5a2a0257",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -16,7 +16,7 @@
../../modules/nixos/desktop/laptop.nix ../../modules/nixos/desktop/laptop.nix
# hardware drivers # hardware drivers
../../modules/nixos/hardware/nvidia/nvidia-disable.nix ../../modules/nixos/hardware/nvidia/nvidia-enable.nix
# udev rules # udev rules
../../modules/nixos/hardware/udev/basys3.nix ../../modules/nixos/hardware/udev/basys3.nix

View file

@ -1,4 +1,8 @@
{config, ...}: { {
config,
pkgs,
...
}: {
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
@ -15,5 +19,5 @@
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
}; };
services.ollama.acceleration = "cuda"; services.ollama.package = pkgs.ollama-cuda;
} }

View file

@ -90,7 +90,7 @@ in {
protonvpn-gui protonvpn-gui
proton-pass proton-pass
goldendict-ng goldendict-ng
kdePackages.kdenlive # kdePackages.kdenlive # Cannot build on my machine
gimp gimp
rustdesk rustdesk
remmina remmina
@ -113,6 +113,8 @@ in {
dconf-editor dconf-editor
fsearch # Everything-like search tool fsearch # Everything-like search tool
kdePackages.elisa kdePackages.elisa
lollypop
showmethekey
# Use Wayland for Jetbrains # Use Wayland for Jetbrains
# (jetbrains.idea-ultimate.override { # (jetbrains.idea-ultimate.override {

View file

@ -13,6 +13,7 @@
resource-monitor resource-monitor
lunar-calendar lunar-calendar
arcmenu arcmenu
run-or-raise
]; ];
in { in {
imports = [ imports = [
@ -82,6 +83,24 @@ in {
"<Shift><Super>m" "<Shift><Super>m"
"<Super>Up" "<Super>Up"
]; ];
switch-to-workspace-1 = ["<Super>1"];
switch-to-workspace-2 = ["<Super>2"];
switch-to-workspace-3 = ["<Super>3"];
switch-to-workspace-4 = ["<Super>4"];
switch-to-workspace-5 = ["<Super>5"];
switch-to-workspace-6 = ["<Super>6"];
switch-to-workspace-7 = ["<Super>7"];
switch-to-workspace-8 = ["<Super>8"];
switch-to-workspace-last = ["<Super>9"];
move-to-workspace-1 = ["<Shift><Super>1"];
move-to-workspace-2 = ["<Shift><Super>2"];
move-to-workspace-3 = ["<Shift><Super>3"];
move-to-workspace-4 = ["<Shift><Super>4"];
move-to-workspace-5 = ["<Shift><Super>5"];
move-to-workspace-6 = ["<Shift><Super>6"];
move-to-workspace-7 = ["<Shift><Super>7"];
move-to-workspace-8 = ["<Shift><Super>8"];
move-to-workspace-last = ["<Shift><Super>9"];
}; };
"org/gnome/mutter/keybindings" = { "org/gnome/mutter/keybindings" = {
toggle-tiled-left = [ toggle-tiled-left = [
@ -94,17 +113,17 @@ in {
]; ];
}; };
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/settings-daemon/plugins/media-keys" = {
www = ["<Super>b"]; # www = ["<Super>b"]; # use run-or-raise instead
help = [""]; help = [""];
home = ["<Super>e"]; home = ["<Super>e"];
screenreader = [""]; screenreader = [""];
screensaver = [""]; screensaver = [""];
}; };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-0" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-0" = {
name = "Open File Explorer"; # name = "Open File Explorer";
command = "dolphin"; # command = "dolphin";
binding = "<Super>e"; # binding = "<Super>e";
}; # };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-1" = { "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-1" = {
name = "Open Terminal via Win-CR"; name = "Open Terminal via Win-CR";
command = "xdg-terminal"; command = "xdg-terminal";
@ -115,23 +134,24 @@ in {
command = "xdg-terminal"; command = "xdg-terminal";
binding = "<Ctrl><Alt>t"; binding = "<Ctrl><Alt>t";
}; };
# use arcmenu
# "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-3" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-3" = {
# name = "Open Picker"; # name = "Open Picker";
# command = "walker"; # command = "walker";
# binding = "<Alt>space"; # binding = "<Alt>space";
# }; # };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-4" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-4" = {
name = "Open Obsidian"; # name = "Open Obsidian";
command = "Obsidian"; # command = "Obsidian";
binding = "<Super>O"; # binding = "<Super>O";
}; # };
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [ custom-keybindings = [
# "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-0/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-1/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-1/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-2/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-2/"
# "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-3/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-3/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-4/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom-4/"
]; ];
}; };
# Scanned directory in GNOME Search # Scanned directory in GNOME Search
@ -199,4 +219,12 @@ in {
switcher-popup-tooltip-title = 3; switcher-popup-tooltip-title = 3;
}; };
}; };
xdg.configFile."run-or-raise/shortcuts.conf". text = ''
<Super>b,firefox,,
<Super>o,obsidian,,
<Shift><Super>e,fsearch,,
<Alt><Super>e,xdg-terminal-exec --app-id=terminal-popup yazi
<Alt><Super>Return,neovide,,
<Shift><Super>v,kitty -o close_on_child_death=yes --app-id=terminal-popup -e edit-clipboard --minimal
'';
} }

View file

@ -7,14 +7,20 @@
]; ];
dconf.settings = { dconf.settings = {
# Inspect window class with <Alt>F2 -> `lg` # Inspect window class with <Alt>F2 -> `lg`
# scratch_layer: true makes the window float above others
"org/gnome/shell/extensions/paperwm" = { "org/gnome/shell/extensions/paperwm" = {
winprops = [ winprops = [
''{"wm_class":"dev.benz.walker","scratch_layer":true}'' ''{"wm_class":"dev.benz.walker","scratch_layer":true}''
''{"wm_class":"org.pulseaudio.pavucontrol","scratch_layer":true}'' ''{"wm_class":"org.pulseaudio.pavucontrol","scratch_layer":true}''
''{"wm_class":"mpv","scratch_layer":true}''
''{"wm_class":"terminal-popup","scratch_layer":true}''
''{"wm_class":"fsearch","scratch_layer":true}''
''{"wm_class":"QQ","title":"","scratch_layer":true}''
''{"wm_class":"","title":"Floating Window - Show Me The Key","scratch_layer":true}''
]; ];
}; };
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/settings-daemon/plugins/media-keys" = {
screensaver = [""]; screensaver = ["<Alt><Super>i"];
}; };
"org/gnome/shell/extensions/paperwm/keybindings" = { "org/gnome/shell/extensions/paperwm/keybindings" = {
close-window = ["<Super>q"]; close-window = ["<Super>q"];

View file

@ -62,6 +62,7 @@
# Read clipboard into temp file # Read clipboard into temp file
$PASTE_CMD > "$TMPFILE" || { $PASTE_CMD > "$TMPFILE" || {
echo "Error: Failed to read from clipboard" >&2 echo "Error: Failed to read from clipboard" >&2
notify-send --app-name "edit-clipboard" "Error: Failed to read from clipboard"
rm -f "$TMPFILE" rm -f "$TMPFILE"
return 1 return 1
} }

View file

@ -5,6 +5,8 @@
}: let }: let
username = config.home.username; username = config.home.username;
in { in {
# Note: lollypop is buggy with CJK filenames.
# 部分 CJK 文字会显示成 ??,可能和文件的编码有关?而且似乎是 GTK4 都会GNOME 全家桶的音乐播放器也有这个问题
home.packages = with pkgs; [lollypop]; home.packages = with pkgs; [lollypop];
dconf.settings = { dconf.settings = {
"org/gnome/Lollypop" = { "org/gnome/Lollypop" = {

View file

@ -267,6 +267,11 @@ in {
\twfduerhj\t1000 \twfduerhj\t1000
\thajimi\t1000 \thajimi\t1000
\twujcua\t1000 \twujcua\t1000
\tkaermjlvbo\t1000
\tjxuefa\t1000
\tugbybijc\t1000
\tblbybiai\t1000
\tlduddexwye\t1000
''; '';
# 词序有点问题10 也比默认词典的高,感觉得换成 user.dict.yaml # 词序有点问题10 也比默认词典的高,感觉得换成 user.dict.yaml
# 仏\tfo\t10 # 仏\tfo\t10