1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-06-07 12:39:29 +00:00
This commit is contained in:
Rae 5e 2025-06-03 18:39:21 -04:00
parent 3e5f832d02
commit 6531db0006
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
7 changed files with 541 additions and 483 deletions

View file

@ -1,56 +1,56 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE openbox_menu> <!DOCTYPE openbox_menu>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd"> <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root" label="Menu"> <menu id="root" label="Menu">
<item label="Terminal emulator"> <item label="Terminal emulator">
<action name="Execute"> <action name="Execute">
<command>kitty</command> <command>kitty</command>
</action> </action>
</item> </item>
<item label="Web browser"> <item label="Web browser">
<action name="Execute"> <action name="Execute">
<command>firefox</command> <command>firefox</command>
</action> </action>
</item> </item>
<item label="VSCodium"> <item label="VSCodium">
<action name="Execute"> <action name="Execute">
<command>codium</command> <command>codium</command>
</action> </action>
</item> </item>
<separator/> <separator/>
<item label="File browser"> <item label="File browser">
<action name="Execute"> <action name="Execute">
<command>dolphin</command> <command>dolphin</command>
</action> </action>
</item> </item>
<item label="Task manager"> <item label="Task manager">
<action name="Execute"> <action name="Execute">
<command>com.github.stsdc.monitor</command> <command>com.github.stsdc.monitor</command>
</action> </action>
</item> </item>
<item label="Backup manager"> <item label="Backup manager">
<action name="Execute"> <action name="Execute">
<command>pkexec timeshift-gtk</command> <command>pkexec timeshift-gtk</command>
</action> </action>
</item> </item>
<separator/> <separator/>
<item label="Logout"> <item label="Logout">
<action name="Execute"> <action name="Execute">
<command>loginctl kill-user rae</command> <command>loginctl kill-user rae</command>
<prompt>Really close all applications and log out?</prompt> <prompt>Really close all applications and log out?</prompt>
</action> </action>
</item> </item>
<item label="Restart"> <item label="Restart">
<action name="Execute"> <action name="Execute">
<command>shutdown -r now</command> <command>shutdown -r now</command>
<prompt>Really shutdown the computer?</prompt> <prompt>Really shutdown the computer?</prompt>
</action> </action>
</item> </item>
<item label="Shutdown"> <item label="Shutdown">
<action name="Execute"> <action name="Execute">
<command>shutdown now</command> <command>shutdown now</command>
<prompt>Really shutdown the computer?</prompt> <prompt>Really shutdown the computer?</prompt>
</action> </action>
</item> </item>
</menu> </menu>
</openbox_menu> </openbox_menu>

View file

@ -1,286 +1,292 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance> <resistance>
<strength>40</strength> <strength>40</strength>
<screen_edge_strength>80</screen_edge_strength> <screen_edge_strength>80</screen_edge_strength>
</resistance> </resistance>
<theme> <theme>
<name>neralie</name> <name>neralie</name>
<titleLayout>LIMC</titleLayout> <titleLayout>LIMC</titleLayout>
<font place="ActiveWindow"> <font place="ActiveWindow">
<name>GohuFont</name> <name>GohuFont</name>
<size>11</size> <size>11</size>
</font> </font>
<font place="InactiveWindow"> <font place="InactiveWindow">
<name>GohuFont</name> <name>GohuFont</name>
<size>11</size> <size>11</size>
</font> </font>
<font place="MenuHeader"> <font place="MenuHeader">
<name>GohuFont</name> <name>GohuFont</name>
<size>11</size> <size>11</size>
</font> </font>
<font place="MenuItem"> <font place="MenuItem">
<name>GohuFont</name> <name>GohuFont</name>
<size>11</size> <size>11</size>
</font> </font>
<font place="OnScreenDisplay"> <font place="OnScreenDisplay">
<name>GohuFont</name> <name>GohuFont</name>
<size>11</size> <size>11</size>
</font> </font>
</theme> </theme>
<desktops> <desktops>
<!-- just use 4 until the need for more arises --> <!-- just use 4 until the need for more arises -->
<number>6</number> <number>6</number>
<firstdesk>1</firstdesk> <firstdesk>1</firstdesk>
<popupTime>0</popupTime> <popupTime>0</popupTime>
<names> <names>
<name>1</name> <name>1</name>
<name>2</name> <name>2</name>
<name>3</name> <name>3</name>
<name>4</name> <name>4</name>
<name>5</name> <name>5</name>
<name>6</name> <name>6</name>
</names> </names>
</desktops> </desktops>
<keyboard> <keyboard>
<keybind key="A-d"> <keybind key="A-d">
<action name="Execute"> <action name="Execute">
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command> <command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-S-question"> <keybind key="A-S-question">
<action name="Execute"> <action name="Execute">
<command>rofi -show run -modes run</command> <command>rofi -show run -modes run</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-question"> <keybind key="A-question">
<action name="Execute"> <action name="Execute">
<command>rofi-pass</command> <command>rofi-pass</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-period"> <keybind key="A-period">
<action name="Execute"> <action name="Execute">
<command>rofi -show ssh -modes ssh</command> <command>rofi -show ssh -modes ssh</command>
</action> </action>
</keybind> </keybind>
<keybind key="A-c"> <keybind key="A-c">
<action name="ShowMenu"> <action name="ShowMenu">
<menu>client-menu</menu> <menu>client-menu</menu>
</action> </action>
</keybind> </keybind>
<keybind key="A-Return"> <keybind key="A-Return">
<action name="Iconify"/> <action name="Iconify"/>
</keybind> </keybind>
<keybind key="A-Up"> <keybind key="A-Up">
<action name="Raise"/> <action name="Raise"/>
</keybind> </keybind>
<keybind key="A-Down"> <keybind key="A-Down">
<action name="Lower"/> <action name="Lower"/>
</keybind> </keybind>
<keybind key="C-A-x"> <keybind key="C-A-x">
<action name="Close"/> <action name="Close"/>
</keybind> </keybind>
<keybind key="C-A-f"> <keybind key="C-A-f">
<action name="ToggleFullscreen"/> <action name="ToggleFullscreen"/>
</keybind> </keybind>
<keybind key="C-A-m"> <keybind key="C-A-m">
<action name="ToggleMaximize"/> <action name="ToggleMaximize"/>
</keybind> </keybind>
<keybind key="A-h"> <keybind key="A-h">
<action name="MoveRelative"> <action name="MoveRelative">
<x>-5</x> <x>-5</x>
<y>0</y> <y>0</y>
</action> </action>
</keybind> </keybind>
<keybind key="A-j"> <keybind key="A-j">
<action name="MoveRelative"> <action name="MoveRelative">
<x>0</x> <x>0</x>
<y>5</y> <y>5</y>
</action> </action>
</keybind> </keybind>
<keybind key="A-k"> <keybind key="A-k">
<action name="MoveRelative"> <action name="MoveRelative">
<x>0</x> <x>0</x>
<y>-5</y> <y>-5</y>
</action> </action>
</keybind> </keybind>
<keybind key="A-l"> <keybind key="A-l">
<action name="MoveRelative"> <action name="MoveRelative">
<x>5</x> <x>5</x>
<y>0</y> <y>0</y>
</action> </action>
</keybind> </keybind>
<keybind key="A-F12"> <keybind key="A-F12">
<action name="Execute"> <action name="Execute">
<command>flameshot gui</command> <command>flameshot gui</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-A-Return"> <keybind key="C-A-Return">
<action name="Execute"> <action name="Execute">
<command>kitty</command> <command>kitty</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-A-S-r"> <keybind key="C-A-S-r">
<action name="Execute"> <action name="Execute">
<command>shutdown -r now</command> <command>shutdown -r now</command>
<prompt>Really shutdown the computer?</prompt> <prompt>Really shutdown the computer?</prompt>
</action> </action>
</keybind> </keybind>
<keybind key="A-Left"> <keybind key="A-Left">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>previous</to> <to>previous</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-S-Left"> <keybind key="A-S-Left">
<action name="PreviousWindow"> <action name="PreviousWindow">
<dialog>none</dialog> <dialog>none</dialog>
<linear>yes</linear> <linear>yes</linear>
<interactive>no</interactive> <interactive>no</interactive>
</action> </action>
</keybind> </keybind>
<keybind key="A-Right"> <keybind key="A-Right">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>next</to> <to>next</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-S-Right"> <keybind key="A-S-Right">
<action name="NextWindow"> <action name="NextWindow">
<dialog>none</dialog> <dialog>none</dialog>
<linear>yes</linear> <linear>yes</linear>
<interactive>no</interactive> <interactive>no</interactive>
</action> </action>
</keybind> </keybind>
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow"> <action name="NextWindow">
<dialog>list</dialog> <dialog>list</dialog>
<raise>yes</raise> <raise>yes</raise>
<allDesktops>yes</allDesktops> <allDesktops>yes</allDesktops>
<linear>no</linear> <linear>no</linear>
<interactive>yes</interactive> <interactive>yes</interactive>
</action> </action>
</keybind> </keybind>
<keybind key="A-1"> <keybind key="A-1">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>1</to> <to>1</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-2"> <keybind key="A-2">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>2</to> <to>2</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-3"> <keybind key="A-3">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>3</to> <to>3</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-4"> <keybind key="A-4">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>4</to> <to>4</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-5"> <keybind key="A-5">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>5</to> <to>5</to>
</action> </action>
</keybind> </keybind>
<keybind key="A-6"> <keybind key="A-6">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>6</to> <to>6</to>
</action> </action>
</keybind> </keybind>
</keyboard> </keyboard>
<mouse> <mouse>
<context name="Frame"> <context name="Frame">
<mousebind button="A-Left" action="Press"> <mousebind button="A-Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Click"> <mousebind button="A-Left" action="Click">
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Drag"> <mousebind button="A-Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="A-Right" action="Click"> <mousebind button="A-Right" action="Click">
<action name="ShowMenu"> <action name="ShowMenu">
<menu>root</menu> <menu>root</menu>
</action> </action>
</mousebind> </mousebind>
<mousebind button="A-Right" action="Drag"> <mousebind button="A-Right" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
</context> <mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Raise"/>
</mousebind>
</context>
<context name="Titlebar"> <context name="Titlebar">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Left" action="DoubleClick"> <mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximizeFull"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Drag"> <mousebind button="Right" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Press"> <mousebind button="A-Left" action="Press">
<action name="Focus"/> <action name="Focus"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Click"> <mousebind button="A-Left" action="Click">
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Drag"> <mousebind button="A-Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="A-Right" action="Drag"> <mousebind button="A-Right" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="C-Right" action="Click"> <mousebind button="C-Right" action="Click">
<action name="ShowMenu"> <action name="ShowMenu">
<menu>client-menu</menu> <menu>client-menu</menu>
</action> </action>
</mousebind> </mousebind>
</context> </context>
<context name="Iconify"> <context name="Iconify">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Iconify"/> <action name="Iconify"/>
</mousebind> </mousebind>
</context> </context>
<context name="Maximize"> <context name="Maximize">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximizeFull"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Click"> <mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/> <action name="ToggleMaximizeVert"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/> <action name="ToggleMaximizeHorz"/>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Close"/> <action name="Close"/>
</mousebind> </mousebind>
</context> </context>
<context name="Root"> <context name="Root">
<mousebind button="Right" action="Click"> <mousebind button="Right" action="Click">
<action name="ShowMenu"> <action name="ShowMenu">
<menu>root</menu> <menu>root</menu>
</action> </action>
</mousebind> </mousebind>
</context> </context>
</mouse> </mouse>
</openbox_config> </openbox_config>

View file

@ -2,154 +2,154 @@
#![enable(unwrap_newtypes)] #![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)] #![enable(unwrap_variant_newtypes)]
( (
address: "127.0.0.1:6600", address: "127.0.0.1:6600",
password: None, password: None,
theme: Some("neralie"), theme: Some("neralie"),
cache_dir: None, cache_dir: None,
on_song_change: None, on_song_change: None,
volume_step: 5, volume_step: 5,
scrolloff: 0, scrolloff: 0,
wrap_navigation: false, wrap_navigation: false,
enable_mouse: true, enable_mouse: true,
status_update_interval_ms: 1000, status_update_interval_ms: 1000,
select_current_song_on_change: false, select_current_song_on_change: false,
keybinds: ( keybinds: (
global: { global: {
":": CommandMode, ":": CommandMode,
",": VolumeDown, ",": VolumeDown,
".": VolumeUp, ".": VolumeUp,
"p": TogglePause, "p": TogglePause,
"s": Stop, "s": Stop,
"q": Quit, "q": Quit,
"<C-A-Right>": NextTab, "<C-A-Right>": NextTab,
"<C-A-Left>": PreviousTab, "<C-A-Left>": PreviousTab,
">": NextTrack, ">": NextTrack,
"<": PreviousTrack, "<": PreviousTrack,
"<S-Right>": SeekForward, "<S-Right>": SeekForward,
"<S-Left>": SeekBack, "<S-Left>": SeekBack,
"z": ToggleRepeat, "z": ToggleRepeat,
"x": ToggleRandom, "x": ToggleRandom,
"c": ToggleConsume, "c": ToggleConsume,
"v": ToggleSingle, "v": ToggleSingle,
"`": ShowHelp, "`": ShowHelp,
"?": ShowCurrentSongInfo, "?": ShowCurrentSongInfo,
"O": ShowOutputs, "O": ShowOutputs,
"P": ShowDecoders, "P": ShowDecoders,
"1": SwitchToTab("main"), "1": SwitchToTab("main"),
"2": SwitchToTab("directories"), "2": SwitchToTab("directories"),
"3": SwitchToTab("artists"), "3": SwitchToTab("artists"),
"4": SwitchToTab("albums"), "4": SwitchToTab("albums"),
"5": SwitchToTab("playlists"), "5": SwitchToTab("playlists"),
"6": SwitchToTab("search"), "6": SwitchToTab("search"),
}, },
navigation: { navigation: {
"k": Up, "k": Up,
"j": Down, "j": Down,
"h": Left, "h": Left,
"l": Right, "l": Right,
"<Up>": Up, "<Up>": Up,
"<Down>": Down, "<Down>": Down,
"<Left>": Left, "<Left>": Left,
"<Right>": Right, "<Right>": Right,
"<C-k>": PaneUp, "<C-k>": PaneUp,
"<C-j>": PaneDown, "<C-j>": PaneDown,
"<C-h>": PaneLeft, "<C-h>": PaneLeft,
"<C-l>": PaneRight, "<C-l>": PaneRight,
"<C-u>": UpHalf, "<C-u>": UpHalf,
"<C-d>": DownHalf, "<C-d>": DownHalf,
"N": PreviousResult, "N": PreviousResult,
"n": NextResult, "n": NextResult,
"<CR>": Add, "<CR>": Add,
"A": AddAll, "A": AddAll,
"<Del>": Delete, "<Del>": Delete,
"r": Rename, "r": Rename,
"<Home>": Top, "<Home>": Top,
"<End>": Bottom, "<End>": Bottom,
"<Space>": Select, "<Space>": Select,
"<C-Space>": InvertSelection, "<C-Space>": InvertSelection,
"<CR>": Confirm, "<CR>": Confirm,
"i": FocusInput, "i": FocusInput,
"/": EnterSearch, "/": EnterSearch,
"<C-c>": Close, "<C-c>": Close,
"<Esc>": Close, "<Esc>": Close,
"K": MoveUp, "K": MoveUp,
"J": MoveDown, "J": MoveDown,
}, },
queue: { queue: {
"D": DeleteAll, "D": DeleteAll,
"<CR>": Play, "<CR>": Play,
"<C-s>": Save, "<C-s>": Save,
"a": AddToPlaylist, "a": AddToPlaylist,
"d": Delete, "d": Delete,
"i": ShowInfo, "i": ShowInfo,
"C": JumpToCurrent, "C": JumpToCurrent,
}, },
), ),
album_art: ( album_art: (
method: Auto, method: Auto,
max_size_px: (width: 600, height: 600), max_size_px: (width: 600, height: 600),
disabled_protocols: ["http://", "https://"], disabled_protocols: ["http://", "https://"],
), ),
search: ( search: (
case_sensitive: false, case_sensitive: false,
mode: Contains, mode: Contains,
tags: [ tags: [
(value: "any", label: "Any Tag"), (value: "any", label: "Any Tag"),
(value: "artist", label: "Artist"), (value: "artist", label: "Artist"),
(value: "album", label: "Album"), (value: "album", label: "Album"),
(value: "albumartist", label: "Album Artist"), (value: "albumartist", label: "Album Artist"),
(value: "title", label: "Title"), (value: "title", label: "Title"),
(value: "filename", label: "Filename"), (value: "filename", label: "Filename"),
(value: "genre", label: "Genre"), (value: "genre", label: "Genre"),
], ],
), ),
artists: ( artists: (
album_display_mode: SplitByDate, album_display_mode: SplitByDate,
album_sort_by: Date, album_sort_by: Date,
), ),
tabs: [ tabs: [
( (
name: "main", name: "main",
border_type: None, border_type: None,
pane: Split( pane: Split(
direction: Horizontal, direction: Horizontal,
panes: [ panes: [
(size: "20%", pane: Split( (size: "20%", pane: Split(
direction: Vertical, direction: Vertical,
panes: [ panes: [
(size: "40%", pane: Pane(AlbumArt)), (size: "40%", pane: Pane(AlbumArt)),
(size: "60%", pane: Pane(AlbumArtists)) (size: "60%", pane: Pane(AlbumArtists))
] ]
)), )),
(size: "80%", pane: Pane(Queue)) (size: "80%", pane: Pane(Queue))
], ],
), ),
), ),
( (
name: "directories", name: "directories",
border_type: None, border_type: None,
pane: Pane(Directories), pane: Pane(Directories),
), ),
( (
name: "artists", name: "artists",
border_type: None, border_type: None,
pane: Pane(AlbumArtists), pane: Pane(AlbumArtists),
), ),
( (
name: "albums", name: "albums",
border_type: None, border_type: None,
pane: Pane(Albums), pane: Pane(Albums),
), ),
( (
name: "playlists", name: "playlists",
border_type: None, border_type: None,
pane: Pane(Playlists), pane: Pane(Playlists),
), ),
( (
name: "search", name: "search",
border_type: None, border_type: None,
pane: Pane(Search), pane: Pane(Search),
), ),
], ],
) )

View file

@ -114,6 +114,14 @@
search = { search = {
default = "DuckDuckGo"; default = "DuckDuckGo";
engines = { engines = {
"Noogle" = {
urls = [{
template = "https://noogle.dev/q";
params = [
{ name = "term"; value = "{searchTerms}"; }
];
}];
};
"Nix packages" = { "Nix packages" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";
@ -145,7 +153,7 @@
"Bing".metaData.hidden = true; "Bing".metaData.hidden = true;
"Google".metaData.hidden = true; "Google".metaData.hidden = true;
}; };
order = [ "DuckDuckGo" "Nix packages" ]; order = [ "DuckDuckGo" "Noogle" "Nix packages" ];
force = true; force = true;
}; };
}; };

View file

@ -65,8 +65,8 @@
capabilities = caps, capabilities = caps,
cmd = { "nil" } cmd = { "nil" }
} }
lc.ts_ls.setup {} lc.ts_ls.setup { capabilities = caps }
lc.vala_ls.setup {} lc.vala_ls.setup { capabilities = caps }
''; '';
}; };
} }

View file

@ -226,14 +226,57 @@
security.polkit.enable = true; security.polkit.enable = true;
xdg.portal = { xdg = {
enable = true; mime = {
config = { defaultApplications = let
common = { audio = [ "vlc.desktop" "org.fooyin.fooyin.desktop" ];
default = [ "gtk" ]; browser = "firefox.desktop";
image = [ "sxiv.desktop" "gimp.desktop" ];
text = "nvim.desktop";
video = "vlc.desktop";
in {
"application/json" = text;
"application/x-c++src" = text;
"application/x-shellscript" = "kitty-open.desktop";
"application/x-xcf" = "gimp.desktop";
"audio/flac" = audio;
"audio/mp2" = audio;
"audio/mp3" = audio;
"audio/wav" = audio;
"audio/x-vorbis" = audio;
"audio/x-vorbis+ogg" = audio;
"image/avif" = image;
"image/bmp" = image;
"image/gif" = image;
"image/jpeg" = image;
"image/png" = image;
"image/svg+xml" = [ "sxiv.desktop" "nvim.desktop" ];
"image/tiff" = image;
"image/webp" = image;
"inode/directory" = "org.kde.dolphin.desktop";
"text/html" = browser;
"text/markdown" = text;
"text/plain" = text;
"text/x-c" = text;
"video/avi" = video;
"video/mp4" = video;
"video/quicktime" = video;
"video/webm" = video;
"video/x-matroska" = video;
"x-scheme-handler/http" = browser;
"x-scheme-handler/https" = browser;
"x-scheme-handler/mailto" = "thunderbird.desktop";
}; };
}; };
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; portal = {
enable = true;
config = {
common = {
default = [ "gtk" ];
};
};
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
}; };
users.users.rae.shell = pkgs.fish; users.users.rae.shell = pkgs.fish;

View file

@ -59,6 +59,7 @@
imagemagick # Software suite to create, edit, compose, or convert bitmap images imagemagick # Software suite to create, edit, compose, or convert bitmap images
krita # Free and open source painting application krita # Free and open source painting application
maim # Command-line screenshot utility maim # Command-line screenshot utility
sxiv # Simple X Image Viewer
# gtk # gtk
posy-cursors # Posy's Improved Cursors for Linux posy-cursors # Posy's Improved Cursors for Linux
pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable