mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-06-07 12:39:29 +00:00
~
This commit is contained in:
parent
3e5f832d02
commit
6531db0006
7 changed files with 541 additions and 483 deletions
|
@ -1,56 +1,56 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!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">
|
||||
<menu id="root" label="Menu">
|
||||
<item label="Terminal emulator">
|
||||
<action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Web browser">
|
||||
<action name="Execute">
|
||||
<command>firefox</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="VSCodium">
|
||||
<action name="Execute">
|
||||
<command>codium</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="File browser">
|
||||
<action name="Execute">
|
||||
<command>dolphin</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Task manager">
|
||||
<action name="Execute">
|
||||
<command>com.github.stsdc.monitor</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Backup manager">
|
||||
<action name="Execute">
|
||||
<command>pkexec timeshift-gtk</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="Logout">
|
||||
<action name="Execute">
|
||||
<command>loginctl kill-user rae</command>
|
||||
<prompt>Really close all applications and log out?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Restart">
|
||||
<action name="Execute">
|
||||
<command>shutdown -r now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Shutdown">
|
||||
<action name="Execute">
|
||||
<command>shutdown now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
<menu id="root" label="Menu">
|
||||
<item label="Terminal emulator">
|
||||
<action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Web browser">
|
||||
<action name="Execute">
|
||||
<command>firefox</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="VSCodium">
|
||||
<action name="Execute">
|
||||
<command>codium</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="File browser">
|
||||
<action name="Execute">
|
||||
<command>dolphin</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Task manager">
|
||||
<action name="Execute">
|
||||
<command>com.github.stsdc.monitor</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Backup manager">
|
||||
<action name="Execute">
|
||||
<command>pkexec timeshift-gtk</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator/>
|
||||
<item label="Logout">
|
||||
<action name="Execute">
|
||||
<command>loginctl kill-user rae</command>
|
||||
<prompt>Really close all applications and log out?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Restart">
|
||||
<action name="Execute">
|
||||
<command>shutdown -r now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Shutdown">
|
||||
<action name="Execute">
|
||||
<command>shutdown now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
|
|
|
@ -1,286 +1,292 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<resistance>
|
||||
<strength>40</strength>
|
||||
<screen_edge_strength>80</screen_edge_strength>
|
||||
</resistance>
|
||||
<theme>
|
||||
<name>neralie</name>
|
||||
<titleLayout>LIMC</titleLayout>
|
||||
<font place="ActiveWindow">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="InactiveWindow">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="MenuHeader">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="MenuItem">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="OnScreenDisplay">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
</theme>
|
||||
<desktops>
|
||||
<!-- just use 4 until the need for more arises -->
|
||||
<number>6</number>
|
||||
<firstdesk>1</firstdesk>
|
||||
<popupTime>0</popupTime>
|
||||
<names>
|
||||
<name>1</name>
|
||||
<name>2</name>
|
||||
<name>3</name>
|
||||
<name>4</name>
|
||||
<name>5</name>
|
||||
<name>6</name>
|
||||
</names>
|
||||
</desktops>
|
||||
<keyboard>
|
||||
<keybind key="A-d">
|
||||
<action name="Execute">
|
||||
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-question">
|
||||
<action name="Execute">
|
||||
<command>rofi -show run -modes run</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-question">
|
||||
<action name="Execute">
|
||||
<command>rofi-pass</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-period">
|
||||
<action name="Execute">
|
||||
<command>rofi -show ssh -modes ssh</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-c">
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</keybind>
|
||||
<resistance>
|
||||
<strength>40</strength>
|
||||
<screen_edge_strength>80</screen_edge_strength>
|
||||
</resistance>
|
||||
<theme>
|
||||
<name>neralie</name>
|
||||
<titleLayout>LIMC</titleLayout>
|
||||
<font place="ActiveWindow">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="InactiveWindow">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="MenuHeader">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="MenuItem">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
<font place="OnScreenDisplay">
|
||||
<name>GohuFont</name>
|
||||
<size>11</size>
|
||||
</font>
|
||||
</theme>
|
||||
<desktops>
|
||||
<!-- just use 4 until the need for more arises -->
|
||||
<number>6</number>
|
||||
<firstdesk>1</firstdesk>
|
||||
<popupTime>0</popupTime>
|
||||
<names>
|
||||
<name>1</name>
|
||||
<name>2</name>
|
||||
<name>3</name>
|
||||
<name>4</name>
|
||||
<name>5</name>
|
||||
<name>6</name>
|
||||
</names>
|
||||
</desktops>
|
||||
<keyboard>
|
||||
<keybind key="A-d">
|
||||
<action name="Execute">
|
||||
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-question">
|
||||
<action name="Execute">
|
||||
<command>rofi -show run -modes run</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-question">
|
||||
<action name="Execute">
|
||||
<command>rofi-pass</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-period">
|
||||
<action name="Execute">
|
||||
<command>rofi -show ssh -modes ssh</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-c">
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</keybind>
|
||||
|
||||
<keybind key="A-Return">
|
||||
<action name="Iconify"/>
|
||||
</keybind>
|
||||
<keybind key="A-Up">
|
||||
<action name="Raise"/>
|
||||
</keybind>
|
||||
<keybind key="A-Down">
|
||||
<action name="Lower"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-x">
|
||||
<action name="Close"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-f">
|
||||
<action name="ToggleFullscreen"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-m">
|
||||
<action name="ToggleMaximize"/>
|
||||
</keybind>
|
||||
<keybind key="A-Return">
|
||||
<action name="Iconify"/>
|
||||
</keybind>
|
||||
<keybind key="A-Up">
|
||||
<action name="Raise"/>
|
||||
</keybind>
|
||||
<keybind key="A-Down">
|
||||
<action name="Lower"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-x">
|
||||
<action name="Close"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-f">
|
||||
<action name="ToggleFullscreen"/>
|
||||
</keybind>
|
||||
<keybind key="C-A-m">
|
||||
<action name="ToggleMaximize"/>
|
||||
</keybind>
|
||||
|
||||
|
||||
<keybind key="A-h">
|
||||
<action name="MoveRelative">
|
||||
<x>-5</x>
|
||||
<y>0</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-j">
|
||||
<action name="MoveRelative">
|
||||
<x>0</x>
|
||||
<y>5</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-k">
|
||||
<action name="MoveRelative">
|
||||
<x>0</x>
|
||||
<y>-5</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-l">
|
||||
<action name="MoveRelative">
|
||||
<x>5</x>
|
||||
<y>0</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-h">
|
||||
<action name="MoveRelative">
|
||||
<x>-5</x>
|
||||
<y>0</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-j">
|
||||
<action name="MoveRelative">
|
||||
<x>0</x>
|
||||
<y>5</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-k">
|
||||
<action name="MoveRelative">
|
||||
<x>0</x>
|
||||
<y>-5</y>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-l">
|
||||
<action name="MoveRelative">
|
||||
<x>5</x>
|
||||
<y>0</y>
|
||||
</action>
|
||||
</keybind>
|
||||
|
||||
<keybind key="A-F12">
|
||||
<action name="Execute">
|
||||
<command>flameshot gui</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="C-A-Return">
|
||||
<action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="C-A-S-r">
|
||||
<action name="Execute">
|
||||
<command>shutdown -r now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-F12">
|
||||
<action name="Execute">
|
||||
<command>flameshot gui</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="C-A-Return">
|
||||
<action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="C-A-S-r">
|
||||
<action name="Execute">
|
||||
<command>shutdown -r now</command>
|
||||
<prompt>Really shutdown the computer?</prompt>
|
||||
</action>
|
||||
</keybind>
|
||||
|
||||
<keybind key="A-Left">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-Left">
|
||||
<action name="PreviousWindow">
|
||||
<dialog>none</dialog>
|
||||
<linear>yes</linear>
|
||||
<interactive>no</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-Right">
|
||||
<action name="GoToDesktop">
|
||||
<to>next</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-Right">
|
||||
<action name="NextWindow">
|
||||
<dialog>none</dialog>
|
||||
<linear>yes</linear>
|
||||
<interactive>no</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-Tab">
|
||||
<action name="NextWindow">
|
||||
<dialog>list</dialog>
|
||||
<raise>yes</raise>
|
||||
<allDesktops>yes</allDesktops>
|
||||
<linear>no</linear>
|
||||
<interactive>yes</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-1">
|
||||
<action name="GoToDesktop">
|
||||
<to>1</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-2">
|
||||
<action name="GoToDesktop">
|
||||
<to>2</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-3">
|
||||
<action name="GoToDesktop">
|
||||
<to>3</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-4">
|
||||
<action name="GoToDesktop">
|
||||
<to>4</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-5">
|
||||
<action name="GoToDesktop">
|
||||
<to>5</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-6">
|
||||
<action name="GoToDesktop">
|
||||
<to>6</to>
|
||||
</action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>root</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<keybind key="A-Left">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-Left">
|
||||
<action name="PreviousWindow">
|
||||
<dialog>none</dialog>
|
||||
<linear>yes</linear>
|
||||
<interactive>no</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-Right">
|
||||
<action name="GoToDesktop">
|
||||
<to>next</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-Right">
|
||||
<action name="NextWindow">
|
||||
<dialog>none</dialog>
|
||||
<linear>yes</linear>
|
||||
<interactive>no</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-Tab">
|
||||
<action name="NextWindow">
|
||||
<dialog>list</dialog>
|
||||
<raise>yes</raise>
|
||||
<allDesktops>yes</allDesktops>
|
||||
<linear>no</linear>
|
||||
<interactive>yes</interactive>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-1">
|
||||
<action name="GoToDesktop">
|
||||
<to>1</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-2">
|
||||
<action name="GoToDesktop">
|
||||
<to>2</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-3">
|
||||
<action name="GoToDesktop">
|
||||
<to>3</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-4">
|
||||
<action name="GoToDesktop">
|
||||
<to>4</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-5">
|
||||
<action name="GoToDesktop">
|
||||
<to>5</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-6">
|
||||
<action name="GoToDesktop">
|
||||
<to>6</to>
|
||||
</action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>root</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Titlebar">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="ToggleMaximizeFull"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="C-Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Titlebar">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="ToggleMaximizeFull"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="C-Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Iconify">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Iconify"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Iconify">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Iconify"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Maximize">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ToggleMaximizeFull"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Click">
|
||||
<action name="ToggleMaximizeVert"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="ToggleMaximizeHorz"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Maximize">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ToggleMaximizeFull"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Click">
|
||||
<action name="ToggleMaximizeVert"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="ToggleMaximizeHorz"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Close">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Close"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Close">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Close"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Root">
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>root</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
<context name="Root">
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="ShowMenu">
|
||||
<menu>root</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
</openbox_config>
|
||||
|
|
|
@ -2,154 +2,154 @@
|
|||
#![enable(unwrap_newtypes)]
|
||||
#![enable(unwrap_variant_newtypes)]
|
||||
(
|
||||
address: "127.0.0.1:6600",
|
||||
password: None,
|
||||
theme: Some("neralie"),
|
||||
cache_dir: None,
|
||||
on_song_change: None,
|
||||
volume_step: 5,
|
||||
scrolloff: 0,
|
||||
wrap_navigation: false,
|
||||
enable_mouse: true,
|
||||
status_update_interval_ms: 1000,
|
||||
select_current_song_on_change: false,
|
||||
keybinds: (
|
||||
global: {
|
||||
":": CommandMode,
|
||||
",": VolumeDown,
|
||||
".": VolumeUp,
|
||||
"p": TogglePause,
|
||||
"s": Stop,
|
||||
"q": Quit,
|
||||
"<C-A-Right>": NextTab,
|
||||
"<C-A-Left>": PreviousTab,
|
||||
">": NextTrack,
|
||||
"<": PreviousTrack,
|
||||
"<S-Right>": SeekForward,
|
||||
"<S-Left>": SeekBack,
|
||||
"z": ToggleRepeat,
|
||||
"x": ToggleRandom,
|
||||
"c": ToggleConsume,
|
||||
"v": ToggleSingle,
|
||||
"`": ShowHelp,
|
||||
"?": ShowCurrentSongInfo,
|
||||
"O": ShowOutputs,
|
||||
"P": ShowDecoders,
|
||||
"1": SwitchToTab("main"),
|
||||
"2": SwitchToTab("directories"),
|
||||
"3": SwitchToTab("artists"),
|
||||
"4": SwitchToTab("albums"),
|
||||
"5": SwitchToTab("playlists"),
|
||||
"6": SwitchToTab("search"),
|
||||
},
|
||||
navigation: {
|
||||
"k": Up,
|
||||
"j": Down,
|
||||
"h": Left,
|
||||
"l": Right,
|
||||
"<Up>": Up,
|
||||
"<Down>": Down,
|
||||
"<Left>": Left,
|
||||
"<Right>": Right,
|
||||
"<C-k>": PaneUp,
|
||||
"<C-j>": PaneDown,
|
||||
"<C-h>": PaneLeft,
|
||||
"<C-l>": PaneRight,
|
||||
"<C-u>": UpHalf,
|
||||
"<C-d>": DownHalf,
|
||||
"N": PreviousResult,
|
||||
"n": NextResult,
|
||||
"<CR>": Add,
|
||||
"A": AddAll,
|
||||
"<Del>": Delete,
|
||||
"r": Rename,
|
||||
"<Home>": Top,
|
||||
"<End>": Bottom,
|
||||
"<Space>": Select,
|
||||
"<C-Space>": InvertSelection,
|
||||
"<CR>": Confirm,
|
||||
"i": FocusInput,
|
||||
"/": EnterSearch,
|
||||
"<C-c>": Close,
|
||||
"<Esc>": Close,
|
||||
"K": MoveUp,
|
||||
"J": MoveDown,
|
||||
},
|
||||
queue: {
|
||||
"D": DeleteAll,
|
||||
"<CR>": Play,
|
||||
"<C-s>": Save,
|
||||
"a": AddToPlaylist,
|
||||
"d": Delete,
|
||||
"i": ShowInfo,
|
||||
"C": JumpToCurrent,
|
||||
},
|
||||
),
|
||||
address: "127.0.0.1:6600",
|
||||
password: None,
|
||||
theme: Some("neralie"),
|
||||
cache_dir: None,
|
||||
on_song_change: None,
|
||||
volume_step: 5,
|
||||
scrolloff: 0,
|
||||
wrap_navigation: false,
|
||||
enable_mouse: true,
|
||||
status_update_interval_ms: 1000,
|
||||
select_current_song_on_change: false,
|
||||
keybinds: (
|
||||
global: {
|
||||
":": CommandMode,
|
||||
",": VolumeDown,
|
||||
".": VolumeUp,
|
||||
"p": TogglePause,
|
||||
"s": Stop,
|
||||
"q": Quit,
|
||||
"<C-A-Right>": NextTab,
|
||||
"<C-A-Left>": PreviousTab,
|
||||
">": NextTrack,
|
||||
"<": PreviousTrack,
|
||||
"<S-Right>": SeekForward,
|
||||
"<S-Left>": SeekBack,
|
||||
"z": ToggleRepeat,
|
||||
"x": ToggleRandom,
|
||||
"c": ToggleConsume,
|
||||
"v": ToggleSingle,
|
||||
"`": ShowHelp,
|
||||
"?": ShowCurrentSongInfo,
|
||||
"O": ShowOutputs,
|
||||
"P": ShowDecoders,
|
||||
"1": SwitchToTab("main"),
|
||||
"2": SwitchToTab("directories"),
|
||||
"3": SwitchToTab("artists"),
|
||||
"4": SwitchToTab("albums"),
|
||||
"5": SwitchToTab("playlists"),
|
||||
"6": SwitchToTab("search"),
|
||||
},
|
||||
navigation: {
|
||||
"k": Up,
|
||||
"j": Down,
|
||||
"h": Left,
|
||||
"l": Right,
|
||||
"<Up>": Up,
|
||||
"<Down>": Down,
|
||||
"<Left>": Left,
|
||||
"<Right>": Right,
|
||||
"<C-k>": PaneUp,
|
||||
"<C-j>": PaneDown,
|
||||
"<C-h>": PaneLeft,
|
||||
"<C-l>": PaneRight,
|
||||
"<C-u>": UpHalf,
|
||||
"<C-d>": DownHalf,
|
||||
"N": PreviousResult,
|
||||
"n": NextResult,
|
||||
"<CR>": Add,
|
||||
"A": AddAll,
|
||||
"<Del>": Delete,
|
||||
"r": Rename,
|
||||
"<Home>": Top,
|
||||
"<End>": Bottom,
|
||||
"<Space>": Select,
|
||||
"<C-Space>": InvertSelection,
|
||||
"<CR>": Confirm,
|
||||
"i": FocusInput,
|
||||
"/": EnterSearch,
|
||||
"<C-c>": Close,
|
||||
"<Esc>": Close,
|
||||
"K": MoveUp,
|
||||
"J": MoveDown,
|
||||
},
|
||||
queue: {
|
||||
"D": DeleteAll,
|
||||
"<CR>": Play,
|
||||
"<C-s>": Save,
|
||||
"a": AddToPlaylist,
|
||||
"d": Delete,
|
||||
"i": ShowInfo,
|
||||
"C": JumpToCurrent,
|
||||
},
|
||||
),
|
||||
|
||||
album_art: (
|
||||
method: Auto,
|
||||
max_size_px: (width: 600, height: 600),
|
||||
disabled_protocols: ["http://", "https://"],
|
||||
),
|
||||
search: (
|
||||
case_sensitive: false,
|
||||
mode: Contains,
|
||||
tags: [
|
||||
(value: "any", label: "Any Tag"),
|
||||
(value: "artist", label: "Artist"),
|
||||
(value: "album", label: "Album"),
|
||||
(value: "albumartist", label: "Album Artist"),
|
||||
(value: "title", label: "Title"),
|
||||
(value: "filename", label: "Filename"),
|
||||
(value: "genre", label: "Genre"),
|
||||
],
|
||||
),
|
||||
artists: (
|
||||
album_display_mode: SplitByDate,
|
||||
album_sort_by: Date,
|
||||
),
|
||||
tabs: [
|
||||
(
|
||||
name: "main",
|
||||
border_type: None,
|
||||
pane: Split(
|
||||
direction: Horizontal,
|
||||
panes: [
|
||||
(size: "20%", pane: Split(
|
||||
direction: Vertical,
|
||||
panes: [
|
||||
(size: "40%", pane: Pane(AlbumArt)),
|
||||
(size: "60%", pane: Pane(AlbumArtists))
|
||||
]
|
||||
)),
|
||||
(size: "80%", pane: Pane(Queue))
|
||||
],
|
||||
),
|
||||
),
|
||||
(
|
||||
name: "directories",
|
||||
border_type: None,
|
||||
pane: Pane(Directories),
|
||||
),
|
||||
(
|
||||
name: "artists",
|
||||
border_type: None,
|
||||
pane: Pane(AlbumArtists),
|
||||
),
|
||||
(
|
||||
name: "albums",
|
||||
border_type: None,
|
||||
pane: Pane(Albums),
|
||||
),
|
||||
(
|
||||
name: "playlists",
|
||||
border_type: None,
|
||||
pane: Pane(Playlists),
|
||||
),
|
||||
(
|
||||
name: "search",
|
||||
border_type: None,
|
||||
pane: Pane(Search),
|
||||
),
|
||||
],
|
||||
album_art: (
|
||||
method: Auto,
|
||||
max_size_px: (width: 600, height: 600),
|
||||
disabled_protocols: ["http://", "https://"],
|
||||
),
|
||||
search: (
|
||||
case_sensitive: false,
|
||||
mode: Contains,
|
||||
tags: [
|
||||
(value: "any", label: "Any Tag"),
|
||||
(value: "artist", label: "Artist"),
|
||||
(value: "album", label: "Album"),
|
||||
(value: "albumartist", label: "Album Artist"),
|
||||
(value: "title", label: "Title"),
|
||||
(value: "filename", label: "Filename"),
|
||||
(value: "genre", label: "Genre"),
|
||||
],
|
||||
),
|
||||
artists: (
|
||||
album_display_mode: SplitByDate,
|
||||
album_sort_by: Date,
|
||||
),
|
||||
tabs: [
|
||||
(
|
||||
name: "main",
|
||||
border_type: None,
|
||||
pane: Split(
|
||||
direction: Horizontal,
|
||||
panes: [
|
||||
(size: "20%", pane: Split(
|
||||
direction: Vertical,
|
||||
panes: [
|
||||
(size: "40%", pane: Pane(AlbumArt)),
|
||||
(size: "60%", pane: Pane(AlbumArtists))
|
||||
]
|
||||
)),
|
||||
(size: "80%", pane: Pane(Queue))
|
||||
],
|
||||
),
|
||||
),
|
||||
(
|
||||
name: "directories",
|
||||
border_type: None,
|
||||
pane: Pane(Directories),
|
||||
),
|
||||
(
|
||||
name: "artists",
|
||||
border_type: None,
|
||||
pane: Pane(AlbumArtists),
|
||||
),
|
||||
(
|
||||
name: "albums",
|
||||
border_type: None,
|
||||
pane: Pane(Albums),
|
||||
),
|
||||
(
|
||||
name: "playlists",
|
||||
border_type: None,
|
||||
pane: Pane(Playlists),
|
||||
),
|
||||
(
|
||||
name: "search",
|
||||
border_type: None,
|
||||
pane: Pane(Search),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
@ -114,6 +114,14 @@
|
|||
search = {
|
||||
default = "DuckDuckGo";
|
||||
engines = {
|
||||
"Noogle" = {
|
||||
urls = [{
|
||||
template = "https://noogle.dev/q";
|
||||
params = [
|
||||
{ name = "term"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
};
|
||||
"Nix packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
|
@ -145,7 +153,7 @@
|
|||
"Bing".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
};
|
||||
order = [ "DuckDuckGo" "Nix packages" ];
|
||||
order = [ "DuckDuckGo" "Noogle" "Nix packages" ];
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
capabilities = caps,
|
||||
cmd = { "nil" }
|
||||
}
|
||||
lc.ts_ls.setup {}
|
||||
lc.vala_ls.setup {}
|
||||
lc.ts_ls.setup { capabilities = caps }
|
||||
lc.vala_ls.setup { capabilities = caps }
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -226,14 +226,57 @@
|
|||
|
||||
security.polkit.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config = {
|
||||
common = {
|
||||
default = [ "gtk" ];
|
||||
xdg = {
|
||||
mime = {
|
||||
defaultApplications = let
|
||||
audio = [ "vlc.desktop" "org.fooyin.fooyin.desktop" ];
|
||||
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;
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
imagemagick # Software suite to create, edit, compose, or convert bitmap images
|
||||
krita # Free and open source painting application
|
||||
maim # Command-line screenshot utility
|
||||
sxiv # Simple X Image Viewer
|
||||
# gtk
|
||||
posy-cursors # Posy's Improved Cursors for Linux
|
||||
pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue