Sweep every machine for config worth tracking
Reactive capture missed wallust entirely, so this is a systematic pass over ~/.config on all four machines: every entry that is not already a symlink, judged on whether it is hand-authored config or app-generated state. Shared and identical everywhere -> common/: lazygit, ncmpcpp, neofetch, matplotlib. Everything else differs per machine and goes in hosts/<host>/config/: gtk-2.0/3.0/4.0, mimeapps.list, user-dirs.dirs, mpv, swaync, swayimg, bob, pavucontrol.ini, zoom; plus beets, bottom, glow and mpd on system76; fastfetch, gh, uv, traggo, tiling-assistant and xdg-desktop-portal on the work laptop; inbox-tidy and llmfit on mainframe. Deliberately excluded, all verified to hold live credentials: the work laptop's Claude OAuth tokens (~/.config/anthropic/credentials), the NAS restic repo password and hetzner.env, subsonic passwords in subtui, stmp and termsonic, mopidy, supersonic, the Proton bridge env and the LiteLLM virtual keys. The ignore list now names those shapes directly — a bare `password` file would not have been caught before. Also excluded as generated state or too large to be meaningful: GIMP, kicad, BambuStudio, OrcaSlicer, calibre, LightBurn, obs-studio, feishin, libreoffice, VirtualBox, FortiClient; and mainframe's dead X11-era leftovers (i3, openbox, lxpanel, lxsession, pcmanfm).
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "~/.config/fastfetch/ubuntu.png",
|
||||
"type": "kitty-direct",
|
||||
"height": 10,
|
||||
"width": 20,
|
||||
"padding": {
|
||||
"top": 1
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " -> "
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
{
|
||||
"type": "title",
|
||||
"keyWidth": 10,
|
||||
"format": " {6}{7}{8}"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " ─────────────────────────── "
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
/*
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
*/
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ",
|
||||
"keyColor": "magenta",
|
||||
// format: used / total
|
||||
"format": "{1} / {2}"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": " ",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " ─────────────────────────── "
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[90m "
|
||||
},
|
||||
"break",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"height": 5,
|
||||
"width": 10,
|
||||
"padding": {
|
||||
"top": 1
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " -> "
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
{
|
||||
"type": "title",
|
||||
"keyWidth": 10,
|
||||
"format": " {6}{7}{8}"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " ─────────────────────────── "
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
/*
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " ",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
*/
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ",
|
||||
"keyColor": "magenta",
|
||||
// format: used / total
|
||||
"format": "{1} / {2}"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": " ",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " ─────────────────────────── "
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[90m "
|
||||
},
|
||||
"break",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
//"source": "~/.config/fastfetch/nixos.png",
|
||||
//"type": "kitty-direct",
|
||||
"height": 15,
|
||||
"width": 30,
|
||||
"padding": {
|
||||
"top": 1
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " ➜ "
|
||||
},
|
||||
|
||||
"modules": [
|
||||
"break",
|
||||
{
|
||||
"type": "os",
|
||||
"key": " DISTRO",
|
||||
"keyColor": "31",
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ├ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " ├ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " └ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
"break",
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " DE/WM",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "wmtheme",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "icons",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": " └ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
"break",
|
||||
{
|
||||
"type": "host",
|
||||
"format": "{2}",
|
||||
"key": " SYSTEM",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"format": "{1} ({3}) @ {7} GHz",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"format": "{2}",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "swap",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"key": " └ ",
|
||||
"compactType": "original-with-refresh-rate",
|
||||
"keyColor": "33",
|
||||
},
|
||||
"break",
|
||||
"break",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"padding": {
|
||||
"top": 1
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
{
|
||||
"type": "os",
|
||||
"key": " DISTRO",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": "│ ├",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": "│ ├",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": "│ └",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " DE/WM",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "wmtheme",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "icons",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": "│ └",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "host",
|
||||
"key": " SYSTEM",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"key": "│ ├",
|
||||
"format": "{2}",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green",
|
||||
"compactType": "original-with-refresh-rate"
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "swap",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"key": "│ └",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "sound",
|
||||
"key": " AUDIO",
|
||||
"format": "{2}",
|
||||
"keyColor": "magenta"
|
||||
},
|
||||
{
|
||||
"type": "player",
|
||||
"key": "│ ├",
|
||||
"keyColor": "magenta"
|
||||
},
|
||||
{
|
||||
"type": "media",
|
||||
"key": "│ └",
|
||||
"keyColor": "magenta"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m \u001b[39m \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m "
|
||||
},
|
||||
"break",
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
@@ -0,0 +1,17 @@
|
||||
# The current version of the config schema
|
||||
version: 1
|
||||
# What protocol to use when performing git operations. Supported values: ssh, https
|
||||
git_protocol: https
|
||||
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
|
||||
editor:
|
||||
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
|
||||
prompt: enabled
|
||||
# A pager program to send command output to, e.g. "less". If blank, will refer to environment. Set the value to "cat" to disable the pager.
|
||||
pager:
|
||||
# Aliases allow you to create nicknames for gh commands
|
||||
aliases:
|
||||
co: pr checkout
|
||||
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
|
||||
http_unix_socket:
|
||||
# What web browser gh should use when opening URLs. If blank, will refer to environment.
|
||||
browser:
|
||||
@@ -0,0 +1,5 @@
|
||||
github.com:
|
||||
git_protocol: ssh
|
||||
users:
|
||||
connor-johnstone:
|
||||
user: connor-johnstone
|
||||
@@ -0,0 +1,11 @@
|
||||
[Filechooser Settings]
|
||||
LocationMode=path-bar
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=31
|
||||
GeometryY=0
|
||||
GeometryWidth=948
|
||||
GeometryHeight=647
|
||||
SortColumn=name
|
||||
SortOrder=ascending
|
||||
StartupMode=recent
|
||||
@@ -0,0 +1,6 @@
|
||||
file:///tmp
|
||||
file:///home/connorjohnstone/Documents
|
||||
file:///home/connorjohnstone/Music
|
||||
file:///home/connorjohnstone/Pictures
|
||||
file:///home/connorjohnstone/Videos
|
||||
file:///home/connorjohnstone/Downloads
|
||||
@@ -0,0 +1,6 @@
|
||||
[Default Applications]
|
||||
x-scheme-handler/sc-1a5d6cc5d5f07e3e=/home/connorjohnstone/.local/share/applications/connectwisecontrol-1a5d6cc5d5f07e3e.desktop
|
||||
x-scheme-handler/claude-cli=claude-code-url-handler.desktop
|
||||
|
||||
[Added Associations]
|
||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
||||
@@ -0,0 +1,8 @@
|
||||
[window]
|
||||
width=1896
|
||||
height=1121
|
||||
sinkInputType=1
|
||||
sourceOutputType=1
|
||||
sinkType=0
|
||||
sourceType=1
|
||||
showVolumeMeters=1
|
||||
@@ -0,0 +1,149 @@
|
||||
-- General config
|
||||
swayimg.set_mode("viewer") -- mode at startup
|
||||
swayimg.enable_antialiasing(true) -- anti-aliasing
|
||||
swayimg.enable_decoration(true) -- window title/buttons/borders
|
||||
swayimg.enable_overlay(false) -- window overlay mode
|
||||
swayimg.enable_exif_orientation(true) -- image orientation by EXIF
|
||||
swayimg.set_dnd_button("MouseRight") -- drag-and-drop mouse button
|
||||
|
||||
-- Image list configuration
|
||||
swayimg.imagelist.set_order("numeric") -- list order
|
||||
swayimg.imagelist.enable_reverse(false) -- reverse order
|
||||
swayimg.imagelist.enable_recursive(false) -- recursive directory reading
|
||||
swayimg.imagelist.enable_adjacent(false) -- add adjacent files from same dir
|
||||
swayimg.imagelist.enable_fsmon(true) -- enable file system monitoring
|
||||
|
||||
-- Text overlay configuration
|
||||
swayimg.text.set_font("FiraCode Nerd Font") -- font name
|
||||
swayimg.text.set_size(24) -- font size in pixels
|
||||
swayimg.text.set_spacing(0) -- line spacing
|
||||
swayimg.text.set_padding(10) -- padding from window edge
|
||||
swayimg.text.set_foreground(0xffcccccc) -- foreground text color
|
||||
swayimg.text.set_background(0x00000000) -- text background color
|
||||
swayimg.text.set_shadow(0x0d000000) -- text shadow color
|
||||
swayimg.text.set_timeout(5) -- layer hide timeout
|
||||
swayimg.text.set_status_timeout(3) -- status message hide timeout
|
||||
|
||||
-- Image viewer mode
|
||||
swayimg.viewer.set_default_scale("optimal") -- default image scale
|
||||
swayimg.viewer.set_default_position("center") -- default image position
|
||||
swayimg.viewer.set_drag_button("MouseLeft") -- mouse button to drag image
|
||||
swayimg.viewer.set_window_background(0xff000000) -- window background color
|
||||
swayimg.viewer.set_image_chessboard(20, 0xff333333, 0xff4c4c4c) -- chessboard
|
||||
swayimg.viewer.enable_centering(true) -- enable automatic centering
|
||||
swayimg.viewer.enable_loop(true) -- enable image list loop mode
|
||||
swayimg.viewer.limit_preload(1) -- number of images to preload
|
||||
swayimg.viewer.limit_history(1) -- number of the history cache
|
||||
swayimg.viewer.set_mark_color(0xff808080) -- mark icon color
|
||||
swayimg.viewer.set_pinch_factor(1.0) -- pinch gesture factor
|
||||
swayimg.viewer.set_text("topleft", { -- top left text block scheme
|
||||
"File: {name}",
|
||||
"Format: {format}",
|
||||
"File size: {sizehr}",
|
||||
"File time: {time}",
|
||||
"EXIF date: {meta.Exif.Photo.DateTimeOriginal}",
|
||||
"EXIF camera: {meta.Exif.Image.Model}"
|
||||
})
|
||||
swayimg.viewer.set_text("topright", { -- top right text block scheme
|
||||
"Image: {list.index} of {list.total}",
|
||||
"Frame: {frame.index} of {frame.total}",
|
||||
"Size: {frame.width}x{frame.height}"
|
||||
})
|
||||
swayimg.viewer.set_text("bottomleft", { -- bottom left text block scheme
|
||||
"Scale: {scale}"
|
||||
})
|
||||
|
||||
-- Key and mouse bindings in viewer mode (example only, not all):
|
||||
|
||||
-- bind Escape key for exit
|
||||
swayimg.viewer.on_key("Escape", function()
|
||||
swayimg.exit()
|
||||
end)
|
||||
-- bind the left arrow key to move the image to the left by 1/10 of the application window size
|
||||
swayimg.viewer.on_key("Left", function()
|
||||
local wnd = swayimg.get_window_size()
|
||||
local pos = swayimg.viewer.get_position()
|
||||
swayimg.viewer.set_abs_position(math.floor(pos.x + wnd.width / 10), pos.y);
|
||||
end)
|
||||
-- bind mouse vertical scroll button with pressed Ctrl to zoom in the image at mouse pointer coordinates
|
||||
swayimg.viewer.on_mouse("Ctrl-ScrollUp", function()
|
||||
local pos = swayimg.get_mouse_pos()
|
||||
local scale = swayimg.viewer.get_scale()
|
||||
scale = scale + scale / 10
|
||||
swayimg.viewer.set_abs_scale(scale, pos.x, pos.y);
|
||||
end)
|
||||
|
||||
|
||||
-- Slide show mode, same config as for viewer mode with the following defaults:
|
||||
swayimg.slideshow.set_timeout(5) -- timeout to switch image
|
||||
swayimg.slideshow.set_default_scale("fit") -- default image scale
|
||||
swayimg.slideshow.set_window_background("auto") -- window background mode
|
||||
swayimg.slideshow.limit_history(0) -- number of the history cache
|
||||
swayimg.slideshow.set_text("topleft", { "{name}" }) -- top left text block scheme
|
||||
|
||||
|
||||
-- Gallery mode
|
||||
swayimg.gallery.set_aspect("fill") -- thumbnail aspect ratio
|
||||
swayimg.gallery.set_thumb_size(200) -- thumbnail size in pixels
|
||||
swayimg.gallery.set_padding_size(5) -- padding between thumbnails
|
||||
swayimg.gallery.set_border_size(5) -- border size for selected thumbnail
|
||||
swayimg.gallery.set_border_color(0xffaaaaaa) -- border color for selected thumbnail
|
||||
swayimg.gallery.set_selected_scale(1.15) -- scale for selected thumbnail
|
||||
swayimg.gallery.set_selected_color(0xff404040) -- background color for selected thumbnail
|
||||
swayimg.gallery.set_unselected_color(0xff202020) -- background color for unselected thumbnail
|
||||
swayimg.gallery.set_window_color(0xff000000) -- window background color
|
||||
swayimg.gallery.set_pinch_factor(100.0) -- pinch gesture factor
|
||||
swayimg.gallery.enable_hover(true) -- enable mouse following
|
||||
swayimg.gallery.limit_cache(100) -- number of thumbnails stored in memory
|
||||
swayimg.gallery.enable_embedded_thumb(true) -- use embedded thumbnails
|
||||
swayimg.gallery.enable_preload(false) -- preloading invisible thumbnails
|
||||
swayimg.gallery.enable_pstore(false) -- enable persistent storage for thumbnails
|
||||
swayimg.gallery.set_text("topleft", { -- top left text block scheme
|
||||
"File: {name}"
|
||||
})
|
||||
swayimg.gallery.set_text("topright", { -- top right text block scheme
|
||||
"{list.index} of {list.total}"
|
||||
})
|
||||
|
||||
-- Key and mouse bindings in gallery mode (example only, not all):
|
||||
|
||||
-- bind Enter key to open image in viewer
|
||||
swayimg.gallery.on_key("Return", function()
|
||||
swayimg.set_mode("viewer")
|
||||
end)
|
||||
-- bind the left arrow key to select thumbnail on the left side
|
||||
swayimg.gallery.on_key("Left", function()
|
||||
swayimg.gallery.switch_image("left")
|
||||
end)
|
||||
|
||||
--
|
||||
-- Other configuration examples
|
||||
--
|
||||
|
||||
-- force set scale mode on window resize (useful for tiling compositors)
|
||||
swayimg.on_window_resize(function()
|
||||
swayimg.viewer.set_fix_scale("optimal")
|
||||
end)
|
||||
|
||||
-- bind the Delete key in slide show mode to delete the current file and display a status message
|
||||
swayimg.slideshow.on_key("Delete", function()
|
||||
local image = swayimg.slideshow.get_image()
|
||||
os.remove(image.path)
|
||||
swayimg.text.set_status("File "..image.path.." removed")
|
||||
end)
|
||||
|
||||
-- set a custom window title in gallery mode
|
||||
swayimg.gallery.on_image_change(function()
|
||||
local image = swayimg.gallery.get_image()
|
||||
swayimg.set_title("Gallery: "..image.path)
|
||||
end)
|
||||
|
||||
-- print paths to all marked files by pressing Ctrl-p in gallery mode
|
||||
swayimg.gallery.on_key("Ctrl-p", function()
|
||||
local entries = swayimg.imagelist.get()
|
||||
for _, entry in ipairs(entries) do
|
||||
if entry.mark then
|
||||
print(entry.path)
|
||||
end
|
||||
end
|
||||
end)
|
||||
@@ -0,0 +1,148 @@
|
||||
-- General config
|
||||
swayimg.set_mode("viewer") -- mode at startup
|
||||
swayimg.enable_antialiasing(true) -- anti-aliasing
|
||||
swayimg.enable_decoration(true) -- window title/buttons/borders
|
||||
swayimg.enable_overlay(false) -- window overlay mode
|
||||
swayimg.enable_exif_orientation(true) -- image orientation by EXIF
|
||||
swayimg.set_dnd_button("MouseRight") -- drag-and-drop mouse button
|
||||
|
||||
-- Image list configuration
|
||||
swayimg.imagelist.set_order("numeric") -- list order
|
||||
swayimg.imagelist.enable_reverse(false) -- reverse order
|
||||
swayimg.imagelist.enable_recursive(false) -- recursive directory reading
|
||||
swayimg.imagelist.enable_adjacent(false) -- add adjacent files from same dir
|
||||
swayimg.imagelist.enable_fsmon(true) -- enable file system monitoring
|
||||
|
||||
-- Text overlay configuration
|
||||
swayimg.text.set_font("FiraCode Nerd Font") -- font name
|
||||
swayimg.text.set_size(12) -- font size in pixels
|
||||
swayimg.text.set_spacing(0) -- line spacing
|
||||
swayimg.text.set_padding(10) -- padding from window edge
|
||||
swayimg.text.set_foreground(0xffcccccc) -- foreground text color
|
||||
swayimg.text.set_background(0x00000000) -- text background color
|
||||
swayimg.text.set_shadow(0x0d000000) -- text shadow color
|
||||
swayimg.text.set_timeout(5) -- layer hide timeout
|
||||
swayimg.text.set_status_timeout(3) -- status message hide timeout
|
||||
|
||||
-- Image viewer mode
|
||||
swayimg.viewer.set_default_scale("optimal") -- default image scale
|
||||
swayimg.viewer.set_default_position("center") -- default image position
|
||||
swayimg.viewer.set_drag_button("MouseLeft") -- mouse button to drag image
|
||||
swayimg.viewer.set_window_background(0xff000000) -- window background color
|
||||
swayimg.viewer.set_image_chessboard(20, 0xff333333, 0xff4c4c4c) -- chessboard
|
||||
swayimg.viewer.enable_centering(true) -- enable automatic centering
|
||||
swayimg.viewer.enable_loop(true) -- enable image list loop mode
|
||||
swayimg.viewer.limit_preload(1) -- number of images to preload
|
||||
swayimg.viewer.limit_history(1) -- number of the history cache
|
||||
swayimg.viewer.set_mark_color(0xff808080) -- mark icon color
|
||||
swayimg.viewer.set_pinch_factor(1.0) -- pinch gesture factor
|
||||
swayimg.viewer.set_text("topleft", { -- top left text block scheme
|
||||
"File: {name}",
|
||||
"Format: {format}",
|
||||
"File size: {sizehr}",
|
||||
"File time: {time}",
|
||||
"EXIF date: {meta.Exif.Photo.DateTimeOriginal}",
|
||||
"EXIF camera: {meta.Exif.Image.Model}"
|
||||
})
|
||||
swayimg.viewer.set_text("topright", { -- top right text block scheme
|
||||
"Image: {list.index} of {list.total}",
|
||||
"Frame: {frame.index} of {frame.total}",
|
||||
"Size: {frame.width}x{frame.height}"
|
||||
})
|
||||
swayimg.viewer.set_text("bottomleft", { -- bottom left text block scheme
|
||||
"Scale: {scale}"
|
||||
})
|
||||
|
||||
-- Key and mouse bindings in viewer mode (example only, not all):
|
||||
|
||||
-- bind Escape key for exit
|
||||
swayimg.viewer.on_key("Escape", function()
|
||||
swayimg.exit()
|
||||
end)
|
||||
swayimg.viewer.on_key("q", function()
|
||||
swayimg.exit()
|
||||
end)
|
||||
swayimg.viewer.on_key("h", function()
|
||||
swayimg.viewer.switch_image("prev")
|
||||
end)
|
||||
swayimg.viewer.on_key("l", function()
|
||||
swayimg.viewer.switch_image("next")
|
||||
end)
|
||||
-- bind mouse vertical scroll button with pressed Ctrl to zoom in the image at mouse pointer coordinates
|
||||
swayimg.viewer.on_mouse("Ctrl-ScrollUp", function()
|
||||
local pos = swayimg.get_mouse_pos()
|
||||
local scale = swayimg.viewer.get_scale()
|
||||
scale = scale + scale / 10
|
||||
swayimg.viewer.set_abs_scale(scale, pos.x, pos.y);
|
||||
end)
|
||||
|
||||
|
||||
-- Slide show mode, same config as for viewer mode with the following defaults:
|
||||
swayimg.slideshow.set_timeout(5) -- timeout to switch image
|
||||
swayimg.slideshow.set_default_scale("fit") -- default image scale
|
||||
swayimg.slideshow.set_window_background("auto") -- window background mode
|
||||
swayimg.slideshow.limit_history(0) -- number of the history cache
|
||||
swayimg.slideshow.set_text("topleft", { "{name}" }) -- top left text block scheme
|
||||
|
||||
|
||||
-- Gallery mode
|
||||
swayimg.gallery.set_aspect("fill") -- thumbnail aspect ratio
|
||||
swayimg.gallery.set_thumb_size(200) -- thumbnail size in pixels
|
||||
swayimg.gallery.set_padding_size(5) -- padding between thumbnails
|
||||
swayimg.gallery.set_border_size(5) -- border size for selected thumbnail
|
||||
swayimg.gallery.set_border_color(0xffaaaaaa) -- border color for selected thumbnail
|
||||
swayimg.gallery.set_selected_scale(1.15) -- scale for selected thumbnail
|
||||
swayimg.gallery.set_selected_color(0xff404040) -- background color for selected thumbnail
|
||||
swayimg.gallery.set_unselected_color(0xff202020) -- background color for unselected thumbnail
|
||||
swayimg.gallery.set_window_color(0xff000000) -- window background color
|
||||
swayimg.gallery.set_pinch_factor(100.0) -- pinch gesture factor
|
||||
swayimg.gallery.enable_hover(true) -- enable mouse following
|
||||
swayimg.gallery.limit_cache(100) -- number of thumbnails stored in memory
|
||||
swayimg.gallery.enable_embedded_thumb(true) -- use embedded thumbnails
|
||||
swayimg.gallery.enable_preload(false) -- preloading invisible thumbnails
|
||||
swayimg.gallery.enable_pstore(false) -- enable persistent storage for thumbnails
|
||||
swayimg.gallery.set_text("topleft", { -- top left text block scheme
|
||||
"File: {name}"
|
||||
})
|
||||
swayimg.gallery.set_text("topright", { -- top right text block scheme
|
||||
"{list.index} of {list.total}"
|
||||
})
|
||||
|
||||
-- Key and mouse bindings in gallery mode (example only, not all):
|
||||
|
||||
-- bind Enter key to open image in viewer
|
||||
swayimg.gallery.on_key("Return", function()
|
||||
swayimg.set_mode("viewer")
|
||||
end)
|
||||
|
||||
--
|
||||
-- Other configuration examples
|
||||
--
|
||||
|
||||
-- force set scale mode on window resize (useful for tiling compositors)
|
||||
swayimg.on_window_resize(function()
|
||||
swayimg.viewer.set_fix_scale("optimal")
|
||||
end)
|
||||
|
||||
-- bind the Delete key in slide show mode to delete the current file and display a status message
|
||||
swayimg.slideshow.on_key("Delete", function()
|
||||
local image = swayimg.slideshow.get_image()
|
||||
os.remove(image.path)
|
||||
swayimg.text.set_status("File "..image.path.." removed")
|
||||
end)
|
||||
|
||||
-- set a custom window title in gallery mode
|
||||
swayimg.gallery.on_image_change(function()
|
||||
local image = swayimg.gallery.get_image()
|
||||
swayimg.set_title("Gallery: "..image.path)
|
||||
end)
|
||||
|
||||
-- print paths to all marked files by pressing Ctrl-p in gallery mode
|
||||
swayimg.gallery.on_key("Ctrl-p", function()
|
||||
local entries = swayimg.imagelist.get()
|
||||
for _, entry in ipairs(entries) do
|
||||
if entry.mark then
|
||||
print(entry.path)
|
||||
end
|
||||
end
|
||||
end)
|
||||
@@ -0,0 +1,19 @@
|
||||
@define-color background #121110;
|
||||
@define-color foreground #FCF7F2;
|
||||
|
||||
@define-color color0 #3A3939;
|
||||
@define-color color1 #A78C72;
|
||||
@define-color color2 #A99F97;
|
||||
@define-color color3 #ABB0A9;
|
||||
@define-color color4 #C9BBAC;
|
||||
@define-color color5 #F8DEC5;
|
||||
@define-color color6 #F7E7D9;
|
||||
@define-color color7 #F3EAE3;
|
||||
@define-color color8 #AAA49F;
|
||||
@define-color color9 #A78C72;
|
||||
@define-color color10 #A99F97;
|
||||
@define-color color11 #ABB0A9;
|
||||
@define-color color12 #C9BBAC;
|
||||
@define-color color13 #F8DEC5;
|
||||
@define-color color14 #F7E7D9;
|
||||
@define-color color15 #F3EAE3;
|
||||
@@ -0,0 +1 @@
|
||||
{"windows":[{"windowId":3,"isTiled":false,"tiledRect":null,"untiledRect":{"x":-233,"y":32,"width":2612,"height":1492}},{"windowId":45,"isTiled":true,"tiledRect":{"x":2560,"y":0,"width":963,"height":1440},"untiledRect":{"x":4005,"y":602,"width":978,"height":736}},{"windowId":28,"isTiled":true,"tiledRect":{"x":3523,"y":0,"width":1597,"height":1440},"untiledRect":{"x":4567,"y":337,"width":983,"height":529}}],"tileGroups":[[3538281541,[3538281558,3538281541]],[3538281558,[3538281558,3538281541]]]}
|
||||
@@ -0,0 +1 @@
|
||||
p5zLx2PnMWdldJdRKSqB
|
||||
@@ -0,0 +1,15 @@
|
||||
# This file is written by xdg-user-dirs-update
|
||||
# If you want to change or add directories, just edit the line you're
|
||||
# interested in. All local changes will be retained on the next run.
|
||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/"
|
||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||
XDG_TEMPLATES_DIR="$HOME/"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/"
|
||||
XDG_DOCUMENTS_DIR="$HOME/"
|
||||
XDG_MUSIC_DIR="$HOME/"
|
||||
XDG_PICTURES_DIR="$HOME/"
|
||||
XDG_VIDEOS_DIR="$HOME/"
|
||||
@@ -0,0 +1 @@
|
||||
{"binaries":["uv","uvx"],"binary_aliases":{},"cdylibs":[],"cstaticlibs":[],"install_layout":"flat","install_prefix":"/home/connorjohnstone/.local/bin","modify_path":true,"provider":{"source":"cargo-dist","version":"0.31.0"},"source":{"app_name":"uv","name":"uv","owner":"astral-sh","release_type":"github"},"version":"0.11.28"}
|
||||
@@ -0,0 +1,6 @@
|
||||
[preferred]
|
||||
default=hyprland;gtk
|
||||
org.freedesktop.impl.portal.ScreenCast=hyprland
|
||||
org.freedesktop.impl.portal.Screenshot=hyprland
|
||||
org.freedesktop.impl.portal.FileChooser=gtk
|
||||
org.freedesktop.impl.portal.Settings=gtk
|
||||
@@ -0,0 +1,3 @@
|
||||
[General]
|
||||
initialize_flag=1
|
||||
random_key="vdMTT5fo/jNYQ34IidotpXAfH9STJX7BbHw0Cixytbw="
|
||||
@@ -0,0 +1,66 @@
|
||||
[General]
|
||||
GeoLocale=system
|
||||
SensitiveInfoMaskOn=true
|
||||
ShowBiDirecSyncNoti=true
|
||||
autoPlayGif=false
|
||||
bForceMaximizeWM=false
|
||||
captureHDCamera=true
|
||||
cefInstanceCountLimit=-1
|
||||
cefRefreshTime=0
|
||||
chatListPanelLastWidth=320
|
||||
com.zoom.client.langid=0
|
||||
conf.webserver=https://zoom.us
|
||||
currentMeetingId=82199284629
|
||||
deviceID=44:F7:9F:DA:68:95
|
||||
disableCef=false
|
||||
disableUsePasskey=false
|
||||
enable.host.auto.grab=true
|
||||
enableAlphaBuffer=true
|
||||
enableCefGpu=false
|
||||
enableCefLog=false
|
||||
enableCefOsrMode=true
|
||||
enableCefTa=false
|
||||
enableCloudSwitch=true
|
||||
enableLog=true
|
||||
enableMiniWindow=true
|
||||
enableQmlCache=true
|
||||
enableScreenSaveGuard=false
|
||||
enableStartMeetingWithRoomSystem=false
|
||||
enableTestMode=false
|
||||
enableUnifywebviewTa=false
|
||||
enablegpucomputeutilization=false
|
||||
fake.version=
|
||||
flashChatTime=0
|
||||
forceEnableTrayIcon=true
|
||||
forceSSOURL=
|
||||
hideCrashReport=false
|
||||
host.auto.grab.interval=10
|
||||
isTransCoding=false
|
||||
legacyAvatarCacheCleaned=1781022922
|
||||
logLevel=info
|
||||
newMeetingWithVideo=true
|
||||
noSandbox=false
|
||||
playSoundForNewMessage=false
|
||||
shareBarTopMargin=0
|
||||
shortcut_as_global_ShortcutID_Screenshot=false
|
||||
shortcut_as_global_ShortcutID_ShowHideFloatingMeetingControls=true
|
||||
showOneTimePTAICTipHubble=false
|
||||
showOneTimeQueriesOptionTip=true
|
||||
showOneTimeSmartRecognitionCoackMark=true
|
||||
showOneTimeTranslationUpSellTip=false
|
||||
showSystemTitlebar=false
|
||||
speaker_volume=255
|
||||
sso_domain=.zoom.us
|
||||
sso_gov_domain=.zoomgov.com
|
||||
system.audio.type=default
|
||||
systemDockMargin=0
|
||||
timeFormat12HoursEnable=true
|
||||
translationFreeTrialTipShowTime=0
|
||||
upcoming_meeting_header_image=
|
||||
useSystemTheme=false
|
||||
userEmailAddress=
|
||||
webview.debug.enable=false
|
||||
xwayland=true
|
||||
|
||||
[AS]
|
||||
showframewindow=true
|
||||
Reference in New Issue
Block a user