Compare commits
8 commits
23b6da6235
...
9c17598ac2
Author | SHA1 | Date | |
---|---|---|---|
9c17598ac2 | |||
052fed87e3 | |||
87ff521a9a | |||
f03106b34f | |||
9c41e72e6b | |||
c0a03f803b | |||
e5cea72bd9 | |||
caa50bd52b |
19 changed files with 166 additions and 12 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
lfm/.config/lfm/lfm.history
|
lfm/.config/lfm/lfm.history
|
||||||
|
|
||||||
lazygit/.config/jesseduffield/lazygit/state.yml
|
lazygit/.config/lazygit/**/*.patch
|
||||||
lazygit/.config/**/*.patch
|
lazygit/.config/lazygit/state.yml
|
||||||
|
|
||||||
bin/.local/bin/
|
bin/.local/bin/
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@ mutt/.config/mutt/*.mailboxes
|
||||||
matterhorn/.config/matterhorn/history.txt
|
matterhorn/.config/matterhorn/history.txt
|
||||||
matterhorn/.config/matterhorn/last_run_state_*.json
|
matterhorn/.config/matterhorn/last_run_state_*.json
|
||||||
|
|
||||||
|
nvim/.config/nvim/plugin/packer_compiled.lua
|
||||||
|
nvim/.config/nvim/spell
|
||||||
|
|
||||||
ssh/.ssh/*
|
ssh/.ssh/*
|
||||||
ssh/.ssh/known_hosts*
|
ssh/.ssh/known_hosts*
|
||||||
!ssh/.ssh/config
|
!ssh/.ssh/config
|
||||||
|
@ -27,10 +30,8 @@ vifm/.config/vifm/vifminfo.json*
|
||||||
vim/.vim/autoload/
|
vim/.vim/autoload/
|
||||||
vim/.vim/colors/
|
vim/.vim/colors/
|
||||||
vim/.vim/plugged/
|
vim/.vim/plugged/
|
||||||
|
vim/.vim/spell
|
||||||
vim/.vim/swap/
|
vim/.vim/swap/
|
||||||
vim/.vim/undo/
|
vim/.vim/undo/
|
||||||
|
|
||||||
lazygit/.config/lazygit/state.yml
|
wofi/.config/wofi/style.css
|
||||||
nvim/.config/nvim/plugin/packer_compiled.lua
|
|
||||||
nvim/.config/nvim/spell
|
|
||||||
vim/.vim/spell
|
|
||||||
|
|
|
@ -132,3 +132,30 @@ bf90155a8ee60c1804963c45a83fa2e42df57f4e:git/.gitconfig:generic-api-key:4
|
||||||
964a5a3c30e100b800709cbd7476acd41ec2e14e:vdirsyncer/.config/vdirsyncer/config:generic-api-key:15
|
964a5a3c30e100b800709cbd7476acd41ec2e14e:vdirsyncer/.config/vdirsyncer/config:generic-api-key:15
|
||||||
5bb838514a61299e111fd24299f1132b7380a151:vdirsyncer/.config/vdirsyncer/config:generic-api-key:15
|
5bb838514a61299e111fd24299f1132b7380a151:vdirsyncer/.config/vdirsyncer/config:generic-api-key:15
|
||||||
|
|
||||||
|
ae6c54de5832855c0792c91ec5d29ec3213f8078:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
c548aa41b88976c86e531255ff3586283fd84312:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
56db9f65f9b63293688aae104f2fe98cb02c6b3c:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
76632ef9a4f3214497ddf88fb4ddb5256da889ee:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
67d501575f91f9347572cd84f817df984fb8fc64:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
a9bc0b9fb85863cd79cc9250fc8d4b3cd6344e85:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
425d0d74f32971b14719dd7b40a05ef0f507ad3e:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
5a71b0cbae1e4a9d91cceb5fe306b29a9151e609:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
fdd5a5cccf289b61fa19acf714ceab8426d24af5:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
ea99083a336e76b427c737239a811fe3921d8c7c:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
d86bff5878e1a35f8a6ff6ec1f0618f6d27fe494:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
a14038ec7aa05fe8fdef18acd88d018f623de9ed:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
fb4c1a93d2af17e6a1c02f36a325ce840ed7c55f:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
ab1a3cd1aa761895f0ca373c7664b0878053037e:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
7b00b7ead143361aba85cd8ef463eee841aa83e5:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
10d57a6596b438a571d8cf7f71a6ef303c9fe182:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
e3aa3425b45d8c8e74256db1b2f0f2ed5ef6f750:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
a1b7abe1e5703fbf6f50a38b4c6d841df30079fc:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
3402523d1795ec47c0d5ad3c8646950ce8df343b:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
9d9296f99035a5e96c8fab0f4b825588ad4345c5:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
2b11b24c703a07acb6ec8877bfe442d72dee0752:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
4a19729a6052d0ec9396f2a130399848a35de7e4:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
1e20a0d5812aeeac5af3c72f94b0c68f8a65d045:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
5f9c661751d2bd961a7a9e8449e448908bc5ea98:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
554687b2c5a7537999e34343f06fad0d304d41f4:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
e17d3cf8083414914c6daf7b104504469156b298:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
b4e1c169a3f5830697601f038ce878dca5997f00:fish/.config/fish/functions/stashplay.fish:jwt:2
|
||||||
|
|
4
darkman/.config/darkman/config.yaml
Normal file
4
darkman/.config/darkman/config.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
lat: 43.7
|
||||||
|
lng: 7.2
|
||||||
|
dbusserver: true
|
||||||
|
portal: true
|
5
darkman/.local/share/dark-mode.d/gtk-theme.sh
Executable file
5
darkman/.local/share/dark-mode.d/gtk-theme.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark
|
||||||
|
|
6
darkman/.local/share/dark-mode.d/notification.sh
Executable file
6
darkman/.local/share/dark-mode.d/notification.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||||
|
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||||
|
|
||||||
|
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to dark mode"
|
6
darkman/.local/share/dark-mode.d/wofi.sh
Executable file
6
darkman/.local/share/dark-mode.d/wofi.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cat \
|
||||||
|
"$HOME/.config/wofi/colors-dark.css" \
|
||||||
|
"$HOME/.config/wofi/base.css" \
|
||||||
|
> "$HOME/.config/wofi/style.css"
|
5
darkman/.local/share/light-mode.d/gtk-theme.sh
Executable file
5
darkman/.local/share/light-mode.d/gtk-theme.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-light
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
|
||||||
|
|
6
darkman/.local/share/light-mode.d/notification.sh
Executable file
6
darkman/.local/share/light-mode.d/notification.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||||
|
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||||
|
|
||||||
|
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"
|
6
darkman/.local/share/light-mode.d/wofi.sh
Executable file
6
darkman/.local/share/light-mode.d/wofi.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cat \
|
||||||
|
"$HOME/.config/wofi/colors-light.css" \
|
||||||
|
"$HOME/.config/wofi/base.css" \
|
||||||
|
> "$HOME/.config/wofi/style.css"
|
|
@ -19,9 +19,13 @@ merge-args = ["-d", "$left", "$output", "$right", "-c", "wincmd l"]
|
||||||
merge-tool-edits-conflict-markers = true
|
merge-tool-edits-conflict-markers = true
|
||||||
|
|
||||||
[signing]
|
[signing]
|
||||||
behavior = "own"
|
behavior = "drop"
|
||||||
backend = "gpg"
|
backend = "gpg"
|
||||||
|
|
||||||
|
[git]
|
||||||
|
private-commits = "description(glob:'wip:*') | description(glob:'private:*')"
|
||||||
|
sign-on-push = true
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
"rest" = "bright green"
|
"rest" = "bright green"
|
||||||
"working_copy empty" = "green"
|
"working_copy empty" = "green"
|
||||||
|
@ -50,6 +54,3 @@ concat(
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
[git]
|
|
||||||
private-commits = "description(glob:'wip:*') | description(glob:'private:*')"
|
|
||||||
|
|
|
@ -206,8 +206,9 @@ local config = {
|
||||||
require("neo-tree").setup(config)
|
require("neo-tree").setup(config)
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>n", ":Neotree reveal<cr>")
|
vim.keymap.set("n", "<leader>n", ":Neotree reveal<cr>")
|
||||||
vim.keymap.set("n", "<leader>nf", ":Neotree reveal<cr>")
|
vim.keymap.set("n", "<leader>nn", ":Neotree reveal<cr>")
|
||||||
vim.keymap.set("n", "<leader>nb", ":Neotree reveal buffers<cr>")
|
vim.keymap.set("n", "<leader>nb", ":Neotree reveal buffers<cr>")
|
||||||
vim.keymap.set("n", "<leader>ng", ":Neotree reveal git_status<cr>")
|
vim.keymap.set("n", "<leader>ng", ":Neotree reveal git_status<cr>")
|
||||||
vim.keymap.set("n", "<leader>no", ":Neotree reveal document_symbols<cr>")
|
vim.keymap.set("n", "<leader>no", ":Neotree reveal document_symbols<cr>")
|
||||||
vim.keymap.set("n", "<leader>nd", ":Neotree reveal diagnostics<cr>")
|
vim.keymap.set("n", "<leader>nd", ":Neotree reveal diagnostics<cr>")
|
||||||
|
vim.keymap.set("n", "<C-n>", ":Neotree close<cr>")
|
||||||
|
|
|
@ -14,4 +14,5 @@ vim.cmd [[
|
||||||
autocmd FileType vimwiki setlocal tw=80 ts=2 sts=2 sw=2 expandtab
|
autocmd FileType vimwiki setlocal tw=80 ts=2 sts=2 sw=2 expandtab
|
||||||
autocmd FileType xml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType xml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
autocmd FileType mail set spell spelllang=fr
|
||||||
]]
|
]]
|
||||||
|
|
|
@ -286,7 +286,7 @@ bindsym XF86MonBrightnessUp exec ddcutil setvcp 10 + 5
|
||||||
#bindsym --release Shift+Print exec --no-startup-id scrot -s -e 'mv $f ~/Images/screenshots/'
|
#bindsym --release Shift+Print exec --no-startup-id scrot -s -e 'mv $f ~/Images/screenshots/'
|
||||||
|
|
||||||
## Locker and reboot
|
## Locker and reboot
|
||||||
set $Locker swaylock -i /home/bca/Images/waarp_wallpaper_x3.png && sleep 1
|
set $Locker swaylock --daemonize --show-failed-attempts -i /home/bca/Images/waarp_wallpaper_x3.png && sleep 1
|
||||||
|
|
||||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (S) shutdown
|
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (S) shutdown
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"custom/ddcbrightness",
|
"custom/ddcbrightness",
|
||||||
|
"custom/light-dark-mode",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
@ -210,5 +211,16 @@
|
||||||
"format-ok": "",
|
"format-ok": "",
|
||||||
"system": true, // Monitor failed systemwide units.
|
"system": true, // Monitor failed systemwide units.
|
||||||
"user": true // Ignore failed user units.
|
"user": true // Ignore failed user units.
|
||||||
|
},
|
||||||
|
"custom/light-dark-mode": {
|
||||||
|
"exec": "/home/bca/.config/waybar/darkman",
|
||||||
|
"return-type": "json",
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip": true,
|
||||||
|
"on-click": "darkman toggle",
|
||||||
|
"format-icons": {
|
||||||
|
"light": " ",
|
||||||
|
"dark": " "
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
19
waybar/.config/waybar/darkman
Executable file
19
waybar/.config/waybar/darkman
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# vim: ft=bash
|
||||||
|
|
||||||
|
print_json() {
|
||||||
|
case "$1" in
|
||||||
|
prefer-dark)
|
||||||
|
echo '{"text": "dark", "alt": "dark", "class": "dark", "tooltip": "Dark mode"}'
|
||||||
|
;;
|
||||||
|
prefer-light)
|
||||||
|
echo '{"text": "light", "alt": "light", "class": "light", "tooltip": "Light mode"}'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
print_json "$(gsettings get org.gnome.desktop.interface color-scheme | cut -nd"'" -f 2)"
|
||||||
|
gsettings monitor org.gnome.desktop.interface color-scheme | while read -r l; do
|
||||||
|
print_json "$(echo "$l" | cut -d"'" -f 2)"
|
||||||
|
done
|
||||||
|
|
|
@ -97,6 +97,7 @@ button:hover {
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#scratchpad,
|
#scratchpad,
|
||||||
#power-profiles-daemon,
|
#power-profiles-daemon,
|
||||||
|
#customcustom-light-dark-mode,
|
||||||
#custom-ddcbrightness,
|
#custom-ddcbrightness,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#mpd {
|
#mpd {
|
||||||
|
|
42
wofi/.config/wofi/base.css
Normal file
42
wofi/.config/wofi/base.css
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
#window {
|
||||||
|
background-color: @window-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 10px;
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry{
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: @background-selected;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expander-box {
|
||||||
|
margin-left: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
expander {
|
||||||
|
color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(expander) > * > .entry {
|
||||||
|
margin-left: 1.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
color: @foreground;
|
||||||
|
background-color: @background;
|
||||||
|
border: 0;
|
||||||
|
}
|
6
wofi/.config/wofi/colors-dark.css
Normal file
6
wofi/.config/wofi/colors-dark.css
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
@define-color window-background rgba(255, 255, 255, 0.1);
|
||||||
|
@define-color background #002b36;
|
||||||
|
@define-color background-selected #073642;
|
||||||
|
@define-color foreground #839496;
|
||||||
|
|
||||||
|
|
5
wofi/.config/wofi/colors-light.css
Normal file
5
wofi/.config/wofi/colors-light.css
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@define-color window-background rgba(255, 255, 255, 0.1);
|
||||||
|
@define-color background #fdf6e3;
|
||||||
|
@define-color background-selected #eee8d5;
|
||||||
|
@define-color foreground #657b83;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue