Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,19 @@ Xft.hintstyle: hintslight
Xft.rgba: none
Xft.lcdfilter: lcddefault
Xcursor.theme: Remus-Black

st.font: VictorMono Nerd Font Mono:size=12:antialias=true:autohint=true
st.alpha: 0.88
st.borderpx: 2
st.shell: /bin/sh
st.bellvolume: 0
st.blinktimeout: 0
st.tabspaces: 4
st.cursorColor: #ebdbb2
st.termname: st-256color
st.chscale: 0.877
st.cwscale: 1

Nsxiv.window.background: #000000
Nsxiv.bar.background: #1c1c1c
Nsxiv.bar.foreground: #d4d4d4
2 changes: 2 additions & 0 deletions .config/awesome/themes/luci4/application_icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ local cakeWallet_icon = baseDir .. "cake_wallet.svg"
local koreader_icon = baseDir .. "koreader.svg"
local sonobus_icon = baseDir .. "sonobus.svg"
local deltaChat_icon = baseDir .. "delta-chat.svg"
local luakit_icon = baseDir .. "luakit.svg"

-- LUCI4 ICON THEME
local icons = {
Expand Down Expand Up @@ -91,6 +92,7 @@ local icons = {
cakeWallet = cakeWallet_icon,
koreader = koreader_icon,
sonobus = sonobus_icon,
luakit = luakit_icon,
deltaChat = deltaChat_icon
}
-- END LUCI4 Icon Theme
Expand Down
2,121 changes: 2,121 additions & 0 deletions .config/awesome/themes/luci4/icons/luakit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 78 additions & 15 deletions .config/awesome/wm_applications.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local groupLuci4 = "luci4"
local groupLauncher = "launcher"

local browserCmd = "librewolf"
local terminalCmd = "kitty"
local terminalCmd = HomeEnv.TERMINAL_CMD -- or "st" --"kitty --single-instance"
local editorCmd = terminalCmd .. " -e " .. (os.getenv("EDITOR") or "nvim")
local modkey = "Mod4"

Expand Down Expand Up @@ -194,7 +194,7 @@ local muteVolume = {
}
}
local brightnessUp = {
command = homeDir .. "/scripts/shell_common/brightnessctl.sh --inc",
command = homeDir .. "/scripts/wm_common/brightnessctl.sh --inc",
description = "Increase screen brightness",
group = groupLuci4,
shell = false,
Expand All @@ -204,7 +204,7 @@ local brightnessUp = {
}
}
local brightnessDown = {
command = homeDir .. "/scripts/shell_common/brightnessctl.sh --dec",
command = homeDir .. "/scripts/wm_common/brightnessctl.sh --dec",
description = "Decrease screen brightness",
group = groupLuci4,
shell = false,
Expand Down Expand Up @@ -264,7 +264,7 @@ local shareMenu = {
}
}
local shareMenuEncrypted = {
-- launching with kitty is not a good idea, switch to something more compatible like bash
-- launching with terminalCmd is not a good idea, switch to something more compatible like bash
command = terminalCmd .. " " .. homeDir .. "/scripts/wm_common/launch_share_encrypted.sh",
description = "Zip, encrypt, get a share link and copy to clipboard",
group = groupLuci4,
Expand Down Expand Up @@ -301,11 +301,20 @@ local resetTor = {
group = groupLuci4,
shell = true,
keyBinding = {
key1 = { modkey },
key1 = { modkey, "Mod1" },
key2 = "i"
}
}

local resetPicom = {
command = homeDir .. "/scripts/reset-picom.sh",
description = "Reset picom",
group = groupLuci4,
shell = true,
keyBinding = {
key1 = { modkey, "Mod1" },
key2 = "p"
}
}
local placement = {
centered = "centered",
bottom_right = "bottom_right",
Expand Down Expand Up @@ -405,14 +414,47 @@ local applications = {
askOllama = {
command = askOllama
},
resetPicom = {
command = resetPicom
},
resetTor = {
command = resetTor
},
terminal = {
label = "Kitty terminal",
class = "kitty",
label = "Default Terminal",
class = "xterm-256color",
command = terminal,
subGroup = subGroup.terminals,
-- icon = icons.kitty,
favourite = true
},
kitty = {
label = "Kitty Terminal",
class = "kitty",
command = {
command = "kitty --single-instance",
description = "Open Kitty terminal",
group = groupLauncher,
shell = false,
},
subGroup = subGroup.terminals,
icon = icons.kitty,
favourite = true
},
terminalQuake = {
label = "Kitty Quake Terminal",
class = "kitty-quick-access",
command = {
command = "kitten quick-access-terminal",
description = "Open a Quake-style terminal",
group = groupLauncher,
shell = false,
keyBinding = {
key1 = { modkey, "Shift" },
key2 = "Return"
}
},
subGroup = subGroup.terminals,
icon = icons.kitty,
favourite = true
},
Expand Down Expand Up @@ -555,8 +597,12 @@ local applications = {
command = {
command = "keepassxc",
description = "Password manager",
group = "",
shell = false
group = groupLuci4,
shell = false,
keyBinding = {
key1 = { modkey, "Shift" },
key2 = "x"
}
},
subGroup = subGroup.utils,
-- icon = icons.keePass,
Expand Down Expand Up @@ -714,13 +760,17 @@ local applications = {
command = {
command = "flatpak run im.nheko.Nheko",
description = "Nheko messenger",
group = "",
shell = false
group = groupLuci4,
shell = false,
keyBinding = {
key1 = { modkey },
key2 = "z"
}
},
subGroup = subGroup.messaging,
-- icon = icons.telegram,
properties = {
tag = "8",
-- tag = "8",
floating = true,
width = 1100,
height = 800,
Expand Down Expand Up @@ -946,6 +996,19 @@ local applications = {
subGroup = subGroup.internet,
properties = propertiesFloatingCentered
},
luakit = {
label = "Luakit",
class = "",
favourite = true,
command = {
command = homeDir .. "/apps/Luakit",
description = "luakit browser",
group = "",
shell = true
},
icon = icons.luakit,
subGroup = subGroup.internet
},
steam = {
label = "Steam",
class = "",
Expand Down Expand Up @@ -1212,8 +1275,8 @@ local applications = {
class = "",
favourite = false,
command = {
command = homeDir .. "/apps/Audacity.AppImage",
description = "Audacity audio editor",
command = homeDir .. "/apps/Tenacity.AppImage",
description = "Tenacity audio editor",
group = "",
shell = false
},
Expand Down
9 changes: 9 additions & 0 deletions .config/distrobox/distrobox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[music-arch]
image="quay.io/toolbx/arch-toolbox:latest"
home="/mnt/lucie/distrobox-home/music"
additional_packages="picard pipewire pipewire-pulse pipewire-alsa libpulse git curl fish neovim lua luarocks"
pre_init_hooks="export SHELL=/usr/bin/fish;"
# mnt volumes are already mounted by default
pull=true
replace=false

45 changes: 45 additions & 0 deletions .config/distrobox/link_configs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env bash
#
# link_configs.sh - Symlink dotfiles from source to destination home directory
#
# Usage:
# ./link_configs.sh /home/lucie/dotfiles /home/lucie
#
# Arguments:
# homeDirSource - Directory containing the original config files/dirs
# homeDirDest - Destination home directory where symlinks will be created
#
# Notes:
# - Edit the 'paths' array below to add/remove configurations
# - Handles both files and directories (e.g. .config/fish/config.fish)
# - Parent directories are created automatically in the destination
# - Existing symlinks are overwritten (-f flag)

homeDirSource="$1"
homeDirDest="$2"

paths=(
".config/fontconfig"
".local/share"
".config/gtk-3.0"
".config/gtk-4.0"
".config/qt5ct"
".config/qt6ct"
".config/Kvantum"
".config/fish/config.fish"
".config/fish/conf.d"
".config/fish/functions"
".config/kitty"
".config/nvim"
".local/share/themes"
".local/share/icons"
".local/share/fonts"
"scripts"
".shell_env"
)

for p in "${paths[@]}"; do
mkdir -p "${homeDirDest}/$(dirname "${p}")"
ln -sf "${homeDirSource}/${p}" "${homeDirDest}/${p}"
done

19 changes: 11 additions & 8 deletions .config/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,13 @@ if status is-interactive

### OS SPECIFIC ###
if test (uname -s) = "Darwin"
set OS_NAME (sw_vers -productName)
set -g OS_NAME macos
else
set OS_NAME (lsb_release -is)
end
set -g OS_NAME linux
if test -e /etc/os-release
set -g OS_NAME (grep '^ID=' /etc/os-release | string replace -r '^ID="?(.+)"?$' '$1')
end
end

# if the variable $CONTAINER_ID exists, the sessions is in a distrobox container
if test -n "$CONTAINER_ID"
Expand All @@ -163,11 +166,11 @@ if status is-interactive
end

switch $OS_NAME
case "Ubuntu"
case "ubuntu"
abbr --add ca batcat --color=always
alias cat='batcat -p --color=always'
abbr --add upd "sudo apt update && sudo apt upgrade -y"
case "Arch"
case "arch"
abbr --add ca bat --color=always
alias cat='bat -p --color=always'
# pacman and yay
Expand All @@ -184,7 +187,7 @@ if status is-interactive
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"

case "Fedora"
case "fedora"
alias dmenu='wofi --dmenu'
abbr --add vi "nvim"
abbr --add upd "sudo dnf upgrade"
Expand All @@ -194,10 +197,10 @@ if status is-interactive
exec Hyprland
end

case "macOS"
case "macos"
abbr --add ca bat --color=always
alias cat='bat -p --color=always'
case "Linuxmint"
case "linuxmint"
abbr --add ca batcat --color=always
alias cat='batcat -p --color=always'
abbr --add upd "sudo apt update && sudo apt upgrade -y"
Expand Down
8 changes: 8 additions & 0 deletions .config/kitty/quick-access-terminal.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
edge none
# 50% width on a 2560 wide screen = 1280px
columns 1100px
# 66% height on a 1600 tall screen = 1056px
lines 628px

background_opacity 0.75
kitty_override window_border_width=0
3 changes: 3 additions & 0 deletions .config/kitty/ssh.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hostname *
forward_remote_control yes

20 changes: 20 additions & 0 deletions .config/luakit/luci_search.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
local settings = require("settings")

local midoriUrl = os.getenv("SEARCH_AI_URL")
local default = os.getenv("SEARCH_URL")
local duckUrl = "https://duckduckgo.com/?q=%s"
local duckAiUrl = "https://duck.ai/?q=%s"

settings.window.search_engines = {
aur = "https://aur.archlinux.org/packages?K=%s",
midori = midoriUrl,
m = midoriUrl,
duck = duckUrl,
d = duckUrl,
ai = duckAiUrl,
searxng = default,
default = default,
}

settings.window.default_search_engine = "default"

35 changes: 35 additions & 0 deletions .config/luakit/luci_session.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
local modes = require("modes")
local session = require("session")

-- :wsave <path> — save current session to a file (like :w in vim)
-- :wload <path> — restore session from a file (like :source in vim)
modes.add_cmds({
{ ":wsave", "Save session to file.", function (w, o)
local file = o.arg
if not file or file == "" then
w:error("Usage: :wsave <file>")
return
end
session.save(file)
w:notify("Session saved to " .. file)
end, format = "{file}" },

{ ":wload", "Load session from file.", function (w, o)
local file = o.arg
if not file or file == "" then
w:error("Usage: :wload <file>")
return
end
if not os.exists(file) then
w:error("File not found: " .. file)
return
end
-- Temporarily swap the session file path so restore() picks it up
local original = session.session_file
session.session_file = file
session.restore(false) -- false = don't delete the file
session.session_file = original
w:notify("Session loaded from " .. file)
end, format = "{file}" },
})

Loading