stuff
This commit is contained in:
parent
7f859b3305
commit
62df19e39f
7 changed files with 30 additions and 9 deletions
|
|
@ -21,5 +21,5 @@ function menu --description 'Opens a menu of a list of Strings and writes the re
|
|||
set -a fuzzel_args "--index"
|
||||
end
|
||||
|
||||
string join -- \n $argv | fuzzel --dmenu $fuzzel_args
|
||||
string unescape (string join -- \n $argv) | fuzzel --dmenu $fuzzel_args
|
||||
end
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ inner-pad=4
|
|||
|
||||
[colors]
|
||||
background=191919ff
|
||||
text=ffffffff
|
||||
text=999999ff
|
||||
message=7f7f7fff
|
||||
prompt=999999ff
|
||||
placeholder=505050ff
|
||||
|
|
|
|||
|
|
@ -387,6 +387,7 @@ binds {
|
|||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn-sh "alacritty msg create-window"; }
|
||||
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
||||
Mod+Shift+D hotkey-overlay-title="Switch to Window: fuzzel" { spawn "windowmenu.fish"; }
|
||||
Mod+B hotkey-overlay-title="Search the Web: fuzzel" { spawn "browserprompt.fish"; }
|
||||
Mod+E hotkey-overlay-title="Open Email Client: evolution" { spawn "evolution"; }
|
||||
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"format-charging": "",
|
||||
"tooltip-format": "Battery ({capacity}%)\n{power}W {time}"
|
||||
"tooltip-format": "Battery ({capacity}%)\n{time}\n{power}W"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
|
|
@ -91,9 +91,9 @@
|
|||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffffff'><b>{}</b></span>",
|
||||
"days": "<span color='#999999'>{}</span>",
|
||||
"weeks": "<span color='#505050'>W{}</span>",
|
||||
"weekdays": "<span color='#7f7f7f'>{}</span>",
|
||||
"days": "<span color='#ffffff'>{}</span>",
|
||||
"weeks": "<span color='#7f7f7f'>W{}</span>",
|
||||
"weekdays": "<span color='#999999'>{}</span>",
|
||||
"today": "<span color='#7fc8ff'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: Symbols Nerd Font, Adwaita Sans, sans-serif;
|
||||
font-weight: 600;
|
||||
font-family: Symbols Nerd Font, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
|
|
|||
21
.local/scripts/windowmenu.fish
Executable file
21
.local/scripts/windowmenu.fish
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
set windows
|
||||
|
||||
# while read i; do
|
||||
# declare -a line_array="($i)"
|
||||
# window_ids+=(${line_array[0]})
|
||||
# window_titles+=("${line_array[1]} - ${line_array[2]} \0icon\x1f${line_array[1]}")
|
||||
# done <<<$(niri msg --json windows | jq -r '.[] | [ .id, .app_id, .title] | "\""+join ("\" \"")+"\""')
|
||||
#
|
||||
set windows (niri msg --json windows | jq -r '.[] | [ .id, .app_id, .title] | join(" ")')
|
||||
|
||||
set ids (string split --max 2 --field 1 " " $windows)
|
||||
|
||||
for window in $windows
|
||||
set -a options (string join -- ' ' (string split --max 1 --fields 2 ' ' $window) "\0icon\x1f$(string split --max 2 --field 2 ' ' $window)" )
|
||||
end
|
||||
|
||||
set input (menu --index $options)
|
||||
|
||||
niri msg action focus-window --id $ids[(math "$input+1")]
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=Ardour 8.12.0
|
||||
Comment=Record, mix and master audio
|
||||
Exec=systemd-inhibit --what=idle --who=ardour8 --why=Idle breaks audio --mode=block ardour8
|
||||
Exec=ardour8
|
||||
Icon=ardour8
|
||||
Terminal=false
|
||||
MimeType=application/x-ardour;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue