Compare commits
1 Commits
master
...
4c6be29281
| Author | SHA1 | Date | |
|---|---|---|---|
|
4c6be29281
|
@@ -22,5 +22,5 @@ cd ~/.dotfiles
|
|||||||
3. Run stow
|
3. Run stow
|
||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
stow */
|
stow *
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import:
|
|||||||
incremental: yes
|
incremental: yes
|
||||||
quiet_fallback: skip
|
quiet_fallback: skip
|
||||||
timid: no
|
timid: no
|
||||||
plugins: fetchart embedart musicbrainz
|
plugins: fetchart embedart
|
||||||
art_filename: folder
|
art_filename: folder
|
||||||
fetchart:
|
fetchart:
|
||||||
cover_format: jpeg
|
cover_format: jpeg
|
||||||
|
|||||||
Binary file not shown.
@@ -1,2 +0,0 @@
|
|||||||
[MIME Cache]
|
|
||||||
x-scheme-handler/org-protocol=org-protocol.desktop;
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=org-protocol
|
|
||||||
Exec=emacsclient %u
|
|
||||||
Type=Application
|
|
||||||
Terminal=false
|
|
||||||
Categories=System;
|
|
||||||
MimeType=x-scheme-handler/org-protocol;
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"device": "alsa_output.pci-0000_00_1f.3.analog-stereo",
|
||||||
|
"device-description": "Built-in Audio Analog Stereo",
|
||||||
|
"device-profile": "analog-output-headphones",
|
||||||
|
"preset-name": "AKG K361"
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"device": "alsa_output.pci-0000_00_1f.3.analog-stereo",
|
||||||
|
"device-description": "Built-in Audio Analog Stereo",
|
||||||
|
"device-profile": "analog-output-speaker",
|
||||||
|
"preset-name": "Advanced Auto Gain"
|
||||||
|
}
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"device": "alsa_output.pci-0000_04_00.6.analog-stereo",
|
|
||||||
"device-description": "Family 17h/19h HD Audio Controller Analog Stereo",
|
|
||||||
"device-profile": "analog-output-headphones",
|
|
||||||
"preset-name": "AKG K361"
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"device": "alsa_output.pci-0000_04_00.6.analog-stereo",
|
|
||||||
"device-description": "Family 17h/19h HD Audio Controller Analog Stereo",
|
|
||||||
"device-profile": "analog-output-speaker",
|
|
||||||
"preset-name": "Laptop speakers"
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"output": {
|
|
||||||
"blocklist": [],
|
|
||||||
"convolver#0": {
|
|
||||||
"autogain": true,
|
|
||||||
"bypass": false,
|
|
||||||
"input-gain": 0.0,
|
|
||||||
"ir-width": 100,
|
|
||||||
"kernel-path": "/home/coolneng/.config/easyeffects/irs/AKG K361.irs",
|
|
||||||
"output-gain": 0.0
|
|
||||||
},
|
|
||||||
"plugins_order": [
|
|
||||||
"convolver#0"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"output": {
|
|
||||||
"blocklist": [],
|
|
||||||
"convolver#0": {
|
|
||||||
"autogain": true,
|
|
||||||
"bypass": false,
|
|
||||||
"input-gain": 0.0,
|
|
||||||
"ir-width": 100,
|
|
||||||
"kernel-path": "/home/coolneng/.config/easyeffects/irs/AKG K361.irs",
|
|
||||||
"output-gain": 0.0
|
|
||||||
},
|
|
||||||
"plugins_order": [
|
|
||||||
"convolver#0"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"output": {
|
|
||||||
"blocklist": [],
|
|
||||||
"convolver#0": {
|
|
||||||
"autogain": true,
|
|
||||||
"bypass": false,
|
|
||||||
"input-gain": 0.0,
|
|
||||||
"ir-width": 100,
|
|
||||||
"kernel-name": "AKG K361",
|
|
||||||
"output-gain": 0.0
|
|
||||||
},
|
|
||||||
"plugins_order": [
|
|
||||||
"convolver#0"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -6,16 +6,15 @@ set -g man_standout -o blue
|
|||||||
set -g man_bold -o magenta
|
set -g man_bold -o magenta
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
|
alias f "fff"
|
||||||
alias bc "bc -l"
|
alias bc "bc -l"
|
||||||
alias vim "nvim"
|
alias vim "nvim"
|
||||||
alias docker-compose "podman-compose"
|
alias docker-compose "podman-compose"
|
||||||
alias sc "systemctl"
|
alias sc "systemctl"
|
||||||
alias scu "systemctl --user"
|
alias scu "systemctl --user"
|
||||||
alias jc "journalctl -eu"
|
alias jc "journalctl -u"
|
||||||
alias jcu "journalctl --user -eu"
|
alias jcu "journalctl --user -u"
|
||||||
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
|
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
|
||||||
alias ns "nix-shell -p"
|
|
||||||
alias tmpdir "cd $(mktemp -d)"
|
|
||||||
|
|
||||||
# Additional paths
|
# Additional paths
|
||||||
set PATH $PATH $HOME/.emacs.d/bin
|
set PATH $PATH $HOME/.emacs.d/bin
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
SETUVAR __fish_init_2_39_8:\x1d
|
SETUVAR __fish_init_2_39_8:\x1d
|
||||||
SETUVAR __fish_init_2_3_0:\x1d
|
SETUVAR __fish_init_2_3_0:\x1d
|
||||||
SETUVAR __fish_init_3_x:\x1d
|
SETUVAR __fish_init_3_x:\x1d
|
||||||
SETUVAR __fish_initialized:3800
|
SETUVAR __fish_initialized:3400
|
||||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
SETUVAR fish_color_cancel:\x2dr
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
SETUVAR fish_color_command:white\x1e\x2d\x2dbold
|
SETUVAR fish_color_command:white\x1e\x2d\x2dbold
|
||||||
@@ -22,7 +22,7 @@ SETUVAR fish_color_operator:red
|
|||||||
SETUVAR fish_color_param:cyan
|
SETUVAR fish_color_param:cyan
|
||||||
SETUVAR fish_color_quote:green
|
SETUVAR fish_color_quote:green
|
||||||
SETUVAR fish_color_redirection:red
|
SETUVAR fish_color_redirection:red
|
||||||
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
|
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_color_status:red
|
SETUVAR fish_color_status:red
|
||||||
SETUVAR fish_color_user:brgreen
|
SETUVAR fish_color_user:brgreen
|
||||||
|
|||||||
@@ -14,11 +14,14 @@
|
|||||||
gpgsign = true
|
gpgsign = true
|
||||||
[gitlab]
|
[gitlab]
|
||||||
user = akasroua
|
user = akasroua
|
||||||
[lfs]
|
[filter "git-ignore-line.sh"]
|
||||||
activitytimeout = 60
|
clean = /home/coolneng/.dotfiles/scripts/.local/share/scripts/git-ignore-line.sh
|
||||||
[filter "lfs"]
|
smudge = cat
|
||||||
clean = git-lfs clean -- %f
|
[add.interactive]
|
||||||
smudge = git-lfs smudge -- %f
|
useBuiltin = false # required for git 2.37.0
|
||||||
process = git-lfs filter-process
|
[merge]
|
||||||
required = true
|
conflictstyle = diff3
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
[add.interactive]
|
||||||
|
useBuiltin = false # required for git 2.37.0
|
||||||
|
|||||||
@@ -4,10 +4,8 @@ CMakeFiles/
|
|||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
Debug/
|
Debug/
|
||||||
.ccls
|
|
||||||
.ccls-cache
|
.ccls-cache
|
||||||
.cache
|
.cache
|
||||||
.clang_complete
|
|
||||||
*.o
|
*.o
|
||||||
# LaTeX
|
# LaTeX
|
||||||
auto
|
auto
|
||||||
@@ -21,7 +19,6 @@ auto
|
|||||||
.mypy_cache
|
.mypy_cache
|
||||||
__pycache__
|
__pycache__
|
||||||
.ipynb_checkpoints
|
.ipynb_checkpoints
|
||||||
.venv
|
|
||||||
# Dev environment with Nix
|
# Dev environment with Nix
|
||||||
.envrc
|
.envrc
|
||||||
.direnv
|
.direnv
|
||||||
@@ -34,7 +31,3 @@ __pycache__
|
|||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
.settings
|
.settings
|
||||||
# Emacs
|
|
||||||
.projectile-cache.eld
|
|
||||||
# Platformio
|
|
||||||
.pio
|
|
||||||
|
|||||||
14
goimapnotify/.config/goimapnotify/disroot.conf
Normal file
14
goimapnotify/.config/goimapnotify/disroot.conf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"host": "disroot.org",
|
||||||
|
"port": 993,
|
||||||
|
"tls": true,
|
||||||
|
"tlsOptions": {
|
||||||
|
"rejectUnauthorized": true
|
||||||
|
},
|
||||||
|
"username": "akasroua@disroot.org",
|
||||||
|
"passwordCmd": "pass mail/disroot",
|
||||||
|
"onNewMail": "~/.local/share/scripts/mail-sync disroot",
|
||||||
|
"boxes": [
|
||||||
|
"INBOX"
|
||||||
|
]
|
||||||
|
}
|
||||||
14
goimapnotify/.config/goimapnotify/gmail.conf
Normal file
14
goimapnotify/.config/goimapnotify/gmail.conf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"host": "imap.gmail.com",
|
||||||
|
"port": 993,
|
||||||
|
"tls": true,
|
||||||
|
"tlsOptions": {
|
||||||
|
"rejectUnauthorized": true
|
||||||
|
},
|
||||||
|
"username": "akasroua@gmail.com",
|
||||||
|
"passwordCmd": "pass mail/gmail",
|
||||||
|
"onNewMail": "~/.local/share/scripts/mail-sync gmail",
|
||||||
|
"boxes": [
|
||||||
|
"INBOX"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
configurations:
|
|
||||||
-
|
|
||||||
host: disroot.org
|
|
||||||
port: 993
|
|
||||||
tls: true
|
|
||||||
tlsOptions:
|
|
||||||
rejectUnauthorized: true
|
|
||||||
username: akasroua@disroot.org
|
|
||||||
passwordCmd: 'pass mail/disroot'
|
|
||||||
onNewMail: '~/.local/share/scripts/mail-sync disroot'
|
|
||||||
-
|
|
||||||
host: imap.gmail.com
|
|
||||||
port: 993
|
|
||||||
tls: true
|
|
||||||
tlsOptions:
|
|
||||||
rejectUnauthorized: true
|
|
||||||
username: akasroua@gmail.com
|
|
||||||
passwordCmd: 'pass mail/gmail'
|
|
||||||
onNewMail: '~/.local/share/scripts/mail-sync gmail'
|
|
||||||
boxes:
|
|
||||||
-
|
|
||||||
mailbox: INBOX
|
|
||||||
15
goimapnotify/.config/goimapnotify/ugent.conf
Normal file
15
goimapnotify/.config/goimapnotify/ugent.conf
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"host": "outlook.office365.com",
|
||||||
|
"port": 993,
|
||||||
|
"tls": true,
|
||||||
|
"tlsOptions": {
|
||||||
|
"rejectUnauthorized": true
|
||||||
|
},
|
||||||
|
"username": "amin.kasrouaouam@ugent.be",
|
||||||
|
"passwordCmd": "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile",
|
||||||
|
"xoauth2": true,
|
||||||
|
"onNewMail": "~/.local/share/scripts/mail-sync ugent",
|
||||||
|
"boxes": [
|
||||||
|
"INBOX"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,26 +1,26 @@
|
|||||||
profile multihead-dock {
|
profile multihead-DP {
|
||||||
output eDP-1 enable position 1920,0
|
output eDP-1 enable
|
||||||
output DP-1 enable mode 1920x1080 position 0,0
|
output DP-1 enable
|
||||||
exec swaymsg workspace "1: ", move workspace to eDP-1
|
exec swaymsg workspace "1: ", move workspace to eDP-1
|
||||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||||
exec swaymsg workspace "2: ", move workspace to DP-1
|
exec swaymsg workspace "2: ", move workspace to DP-1
|
||||||
exec swaymsg workspace "4: ", move workspace to DP-1
|
exec swaymsg workspace "4: ", move workspace to DP-1
|
||||||
exec light -S 100
|
exec light -S 100
|
||||||
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
||||||
}
|
}
|
||||||
|
|
||||||
profile multihead-HDMI {
|
profile multihead-HDMI {
|
||||||
output eDP-1 enable position 0,0
|
output eDP-1 enable
|
||||||
output HDMI-A-1 enable mode 1920x1080 position 1920,0
|
output HDMI-A-2 enable
|
||||||
exec swaymsg workspace "1: ", move workspace to eDP-1
|
exec swaymsg workspace "1: ", move workspace to eDP-1
|
||||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||||
exec swaymsg workspace "2: ", move workspace to HDMI-A-2
|
exec swaymsg workspace "2: ", move workspace to HDMI-A-2
|
||||||
exec swaymsg workspace "4: ", move workspace to HDMI-A-2
|
exec swaymsg workspace "4: ", move workspace to HDMI-A-2
|
||||||
exec light -S 100
|
exec light -S 100
|
||||||
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
||||||
}
|
}
|
||||||
|
|
||||||
profile nomad {
|
profile nomad {
|
||||||
output eDP-1 enable
|
output eDP-1 enable
|
||||||
exec light -S 50
|
exec light -S 70
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -989,17 +989,14 @@ map kitty_mod+delete clear_terminal reset active
|
|||||||
#: }}}
|
#: }}}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
#
|
|
||||||
# Open URL by clicking on it
|
|
||||||
mouse_map left press ungrabbed,grabbed mouse_click_url
|
|
||||||
|
|
||||||
confirm_os_window_close 0
|
confirm_os_window_close 0
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
||||||| b37187f (Use delta as git diff pager)
|
||||||
|
|
||||||
# BEGIN_KITTY_THEME
|
=======
|
||||||
# Nord
|
>>>>>>> parent of b37187f (Use delta as git diff pager)
|
||||||
include current-theme.conf
|
|
||||||
# END_KITTY_THEME
|
|
||||||
|
|||||||
39
kitty/.config/kitty/themes/iceberg_dark.conf
Normal file
39
kitty/.config/kitty/themes/iceberg_dark.conf
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
background #161821
|
||||||
|
foreground #c6c8d1
|
||||||
|
|
||||||
|
selection_background #1e2132
|
||||||
|
selection_foreground #c6c8d1
|
||||||
|
|
||||||
|
cursor #d2d4de
|
||||||
|
|
||||||
|
# black
|
||||||
|
color0 #161821
|
||||||
|
color8 #6b7089
|
||||||
|
|
||||||
|
# red
|
||||||
|
color1 #e27878
|
||||||
|
color9 #e98989
|
||||||
|
|
||||||
|
# green
|
||||||
|
color2 #b4be82
|
||||||
|
color10 #c0ca8e
|
||||||
|
|
||||||
|
# yellow/orange
|
||||||
|
color3 #e2a478
|
||||||
|
color11 #e9b189
|
||||||
|
|
||||||
|
# blue
|
||||||
|
color4 #84a0c6
|
||||||
|
color12 #91acd1
|
||||||
|
|
||||||
|
# magenta/purple
|
||||||
|
color5 #a093c7
|
||||||
|
color13 #ada0d3
|
||||||
|
|
||||||
|
# cyan
|
||||||
|
color6 #89b8c2
|
||||||
|
color14 #95c4ce
|
||||||
|
|
||||||
|
# white
|
||||||
|
color7 #c6c8d1
|
||||||
|
color15 #d2d4de
|
||||||
40
kitty/.config/kitty/themes/iceberg_light.conf
Normal file
40
kitty/.config/kitty/themes/iceberg_light.conf
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
background #e8e9ec
|
||||||
|
foreground #33374c
|
||||||
|
|
||||||
|
selection_background #d2d4dd
|
||||||
|
selection_foreground #33374c
|
||||||
|
|
||||||
|
cursor #33374c
|
||||||
|
cursor_text_color #e8e9ec
|
||||||
|
|
||||||
|
# black
|
||||||
|
color0 #dcdfe7
|
||||||
|
color8 #8389a3
|
||||||
|
|
||||||
|
# red
|
||||||
|
color1 #cc517a
|
||||||
|
color9 #cc3768
|
||||||
|
|
||||||
|
# green
|
||||||
|
color2 #668e3d
|
||||||
|
color10 #598030
|
||||||
|
|
||||||
|
# yellow/orange
|
||||||
|
color3 #c57339
|
||||||
|
color11 #b6662d
|
||||||
|
|
||||||
|
# blue
|
||||||
|
color4 #2d539e
|
||||||
|
color12 #22478e
|
||||||
|
|
||||||
|
# magenta/purple
|
||||||
|
color5 #7759b4
|
||||||
|
color13 #6845ad
|
||||||
|
|
||||||
|
# cyan
|
||||||
|
color6 #3f83a6
|
||||||
|
color14 #327698
|
||||||
|
|
||||||
|
# white
|
||||||
|
color7 #33374c
|
||||||
|
color15 #262a3f
|
||||||
@@ -4,7 +4,7 @@ Host imap.gmail.com
|
|||||||
User akasroua@gmail.com
|
User akasroua@gmail.com
|
||||||
AuthMechs LOGIN
|
AuthMechs LOGIN
|
||||||
PassCmd "pass mail/gmail"
|
PassCmd "pass mail/gmail"
|
||||||
TLSType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
IMAPStore gmail-remote
|
IMAPStore gmail-remote
|
||||||
@@ -61,12 +61,82 @@ Channel sync-gmail-trash
|
|||||||
Channel sync-gmail-junk
|
Channel sync-gmail-junk
|
||||||
Channel sync-gmail-archive
|
Channel sync-gmail-archive
|
||||||
|
|
||||||
|
IMAPAccount ugent
|
||||||
|
Host outlook.office365.com
|
||||||
|
User amin.kasrouaouam@ugent.be
|
||||||
|
AuthMechs XOAUTH2
|
||||||
|
PassCmd "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'"
|
||||||
|
SSLType IMAPS
|
||||||
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
|
IMAPStore ugent-remote
|
||||||
|
Account ugent
|
||||||
|
|
||||||
|
MaildirStore ugent-local
|
||||||
|
Subfolders Verbatim
|
||||||
|
# The trailing "/" is important
|
||||||
|
Path ~/.mail/ugent/
|
||||||
|
Inbox ~/.mail/ugent/inbox/
|
||||||
|
|
||||||
|
Channel ugent-default
|
||||||
|
Far :ugent-remote:
|
||||||
|
Near :ugent-local:
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
|
Channel ugent-sent
|
||||||
|
Far :ugent-remote:"Sent Items"
|
||||||
|
Near :ugent-local:sent
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
|
Channel ugent-trash
|
||||||
|
Far :ugent-remote:"Deleted Items"
|
||||||
|
Near :ugent-local:trash
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
|
Channel ugent-archive
|
||||||
|
Far :ugent-remote:"Archive"
|
||||||
|
Near :ugent-local:archive
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
Channel ugent-junk
|
||||||
|
Far :ugent-remote:"Junk Email"
|
||||||
|
Near :ugent-local:junk
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
Channel ugent-mailing-lists
|
||||||
|
Far :ugent-remote:"Mailing Lists"
|
||||||
|
Near :ugent-local:mailing-lists
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
Group ugent
|
||||||
|
Channel ugent-default
|
||||||
|
Channel ugent-sent
|
||||||
|
Channel ugent-trash
|
||||||
|
Channel ugent-archive
|
||||||
|
Channel ugent-junk
|
||||||
|
Channel ugent-mailing-lists
|
||||||
|
|
||||||
IMAPAccount disroot
|
IMAPAccount disroot
|
||||||
Host disroot.org
|
Host disroot.org
|
||||||
User akasroua@disroot.org
|
User akasroua@disroot.org
|
||||||
AuthMechs LOGIN
|
AuthMechs LOGIN
|
||||||
PassCmd "pass mail/disroot"
|
PassCmd "pass mail/disroot"
|
||||||
TLSType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
IMAPStore disroot-remote
|
IMAPStore disroot-remote
|
||||||
@@ -152,14 +222,6 @@ Create Both
|
|||||||
Expunge Both
|
Expunge Both
|
||||||
SyncState *
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
Channel sync-disroot-jobs
|
|
||||||
Far :disroot-remote:"Jobs"
|
|
||||||
Near :disroot-local:jobs
|
|
||||||
Create Both
|
|
||||||
Expunge Both
|
|
||||||
SyncState *
|
|
||||||
|
|
||||||
Group disroot
|
Group disroot
|
||||||
Channel sync-disroot-default
|
Channel sync-disroot-default
|
||||||
Channel sync-disroot-sent
|
Channel sync-disroot-sent
|
||||||
@@ -172,4 +234,3 @@ Channel sync-disroot-services
|
|||||||
Channel sync-disroot-smart
|
Channel sync-disroot-smart
|
||||||
Channel sync-disroot-travel
|
Channel sync-disroot-travel
|
||||||
Channel sync-disroot-archive
|
Channel sync-disroot-archive
|
||||||
Channel sync-disroot-jobs
|
|
||||||
|
|||||||
@@ -1,72 +1,8 @@
|
|||||||
|
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
|
application/pdf=org.pwmt.zathura.desktop
|
||||||
|
text/html=firefox.desktop
|
||||||
x-scheme-handler/http=firefox.desktop
|
x-scheme-handler/http=firefox.desktop
|
||||||
x-scheme-handler/https=firefox.desktop
|
x-scheme-handler/https=firefox.desktop
|
||||||
x-scheme-handler/about=firefox.desktop
|
x-scheme-handler/about=firefox.desktop
|
||||||
x-scheme-handler/unknown=firefox.desktop
|
x-scheme-handler/unknown=firefox.desktop
|
||||||
x-scheme-handler/msteams=teams-for-linux.desktop
|
|
||||||
application/vnd.ms-asf=mpv.desktop
|
|
||||||
application/vnd.rn-realmedia=mpv.desktop
|
|
||||||
application/smil+xml=mpv.desktop
|
|
||||||
application/x-matroska=mpv.desktop
|
|
||||||
application/mxf=mpv.desktop
|
|
||||||
application/ogg=mpv.desktop
|
|
||||||
application/x-shorten=mpv.desktop
|
|
||||||
application/x-mobipocket-ebook=calibre-gui.desktop
|
|
||||||
application/x-sony-bbeb=calibre-gui.desktop
|
|
||||||
application/pdf=org.pwmt.zathura.desktop
|
|
||||||
application/vnd.oasis.opendocument.spreadsheet-flat-xml=calc.desktop
|
|
||||||
application/vnd.ms-works=calc.desktop
|
|
||||||
application/vnd.ms-excel=calc.desktop
|
|
||||||
application/x-quattropro=calc.desktop
|
|
||||||
application/vnd.dbf=calc.desktop
|
|
||||||
application/vnd.stardivision.calc=calc.desktop
|
|
||||||
application/vnd.oasis.opendocument.spreadsheet-template=calc.desktop
|
|
||||||
application/vnd.oasis.opendocument.chart=calc.desktop
|
|
||||||
application/vnd.oasis.opendocument.chart-template=calc.desktop
|
|
||||||
application/vnd.sun.xml.calc.template=calc.desktop
|
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=calc.desktop
|
|
||||||
application/x-gnumeric=calc.desktop
|
|
||||||
application/vnd.apple.numbers=calc.desktop
|
|
||||||
application/vnd.lotus-1-2-3=calc.desktop
|
|
||||||
application/vnd.oasis.opendocument.spreadsheet=calc.desktop
|
|
||||||
application/vnd.sun.xml.calc=calc.desktop
|
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.template=calc.desktop
|
|
||||||
application/vnd.stardivision.chart=calc.desktop
|
|
||||||
image/jpeg=swayimg.desktop
|
|
||||||
image/tiff=swayimg.desktop
|
|
||||||
image/x-tga=swayimg.desktop
|
|
||||||
image/png=swayimg.desktop
|
|
||||||
image/x-exr=swayimg.desktop
|
|
||||||
image/gif=swayimg.desktop
|
|
||||||
image/x-portable-anymap=swayimg.desktop
|
|
||||||
image/webp=swayimg.desktop
|
|
||||||
image/heif=swayimg.desktop
|
|
||||||
image/avif=swayimg.desktop
|
|
||||||
image/bmp=swayimg.desktop
|
|
||||||
image/svg+xml=swayimg.desktop
|
|
||||||
text/x-tex=emacsclient.desktop
|
|
||||||
text/x-c++src=emacsclient.desktop
|
|
||||||
text/x-java=emacsclient.desktop
|
|
||||||
text/x-chdr=emacsclient.desktop
|
|
||||||
text/tcl=emacsclient.desktop
|
|
||||||
text/markdown=emacsclient.desktop
|
|
||||||
text/x-pascal=emacsclient.desktop
|
|
||||||
text/x-makefile=emacsclient.desktop
|
|
||||||
text/x-moc=emacsclient.desktop
|
|
||||||
text/plain=emacsclient.desktop
|
|
||||||
text/x-csrc=emacsclient.desktop
|
|
||||||
text/x-c++hdr=emacsclient.desktop
|
|
||||||
text/html=firefox.desktop
|
|
||||||
application/bitwig-device=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-remote-controls=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-package=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-preset=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-module=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-scene=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/vnd.bitwig.dawproject=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-project=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-template=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-modulator=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-extension=com.bitwig.BitwigStudio.desktop
|
|
||||||
application/bitwig-clip=com.bitwig.BitwigStudio.desktop
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ statusbar_visibility = "yes"
|
|||||||
cyclic_scrolling = "yes"
|
cyclic_scrolling = "yes"
|
||||||
titles_visibility = "no"
|
titles_visibility = "no"
|
||||||
display_bitrate = "yes"
|
display_bitrate = "yes"
|
||||||
playlist_separate_albums = "yes"
|
playlist_separate_albums = "no"
|
||||||
ask_before_clearing_playlists = "no"
|
ask_before_clearing_playlists = "no"
|
||||||
media_library_primary_tag = "album_artist"
|
media_library_primary_tag = "album_artist"
|
||||||
media_library_hide_album_dates = "yes"
|
media_library_hide_album_dates = "yes"
|
||||||
|
|||||||
@@ -5,21 +5,17 @@ sub-font='Roboto Condensed'
|
|||||||
sub-auto=all
|
sub-auto=all
|
||||||
sub-file-paths=Subs:subs
|
sub-file-paths=Subs:subs
|
||||||
## HW Decoding
|
## HW Decoding
|
||||||
hwdec=vaapi
|
hwdec=auto-safe
|
||||||
vo=gpu
|
vo=gpu
|
||||||
profile=gpu-hq
|
profile=gpu-hq
|
||||||
## Volume settings
|
## Volume settings
|
||||||
volume-max=200
|
volume-max=200
|
||||||
af=acompressor
|
af=acompressor
|
||||||
## Youtube-dl settings
|
## Youtube-dl settings
|
||||||
ytdl-format=bestvideo[height<=1080][vcodec!=av1]+bestaudio/best
|
ytdl-format=bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best
|
||||||
## Wayland
|
## Wayland
|
||||||
gpu-context=wayland
|
gpu-context=wayland
|
||||||
## Default window size
|
## Default window size
|
||||||
geometry=70%x70%
|
geometry=70%x70%
|
||||||
## HACK use API instead of lcoal database for sponsorblock
|
## HACK use API instead of lcoal database for sponsorblock
|
||||||
script-opts-append=sponsorblock-local_database=no
|
script-opts-append=sponsorblock-local_database=no
|
||||||
## Use pipewire for audio
|
|
||||||
ao=pipewire
|
|
||||||
## Save position of the video
|
|
||||||
save-position-on-quit
|
|
||||||
|
|||||||
@@ -13,6 +13,13 @@ from akasroua@gmail.com
|
|||||||
user akasroua@gmail.com
|
user akasroua@gmail.com
|
||||||
passwordeval "pass mail/gmail"
|
passwordeval "pass mail/gmail"
|
||||||
|
|
||||||
|
account ugent
|
||||||
|
auth xoauth2
|
||||||
|
host smtp.office365.com
|
||||||
|
from amin.kasrouaouam@ugent.be
|
||||||
|
user amin.kasrouaouam@ugent.be
|
||||||
|
passwordeval "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'"
|
||||||
|
|
||||||
account disroot
|
account disroot
|
||||||
host disroot.org
|
host disroot.org
|
||||||
from akasroua@disroot.org
|
from akasroua@disroot.org
|
||||||
|
|||||||
@@ -32,13 +32,11 @@ let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
|||||||
""Vim-plug
|
""Vim-plug
|
||||||
call plug#begin('~/.config/nvim/plugged')
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
Plug 'Raimondi/delimitMate'
|
Plug 'Raimondi/delimitMate'
|
||||||
Plug 'nordtheme/vim'
|
Plug 'cocopon/iceberg.vim'
|
||||||
Plug 'rose-pine/neovim'
|
|
||||||
Plug 'LnL7/vim-nix'
|
Plug 'LnL7/vim-nix'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
""Colors
|
""Colors
|
||||||
|
colorscheme iceberg
|
||||||
set termguicolors
|
set termguicolors
|
||||||
colorscheme nord
|
|
||||||
set background=light
|
|
||||||
""Disabe status line
|
""Disabe status line
|
||||||
set laststatus=0
|
set laststatus=0
|
||||||
|
|||||||
4
nix/.config/nixpkgs/config.nix
Normal file
4
nix/.config/nixpkgs/config.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
allowUnfree = true;
|
||||||
|
android_sdk.accept_license = true;
|
||||||
|
}
|
||||||
@@ -3,11 +3,6 @@ target=api/gitea
|
|||||||
username_extractor=specific_line
|
username_extractor=specific_line
|
||||||
line_username=1
|
line_username=1
|
||||||
skip_username=7
|
skip_username=7
|
||||||
[git.psydnd.org*]
|
|
||||||
target=api/gitea
|
|
||||||
username_extractor=specific_line
|
|
||||||
line_username=1
|
|
||||||
skip_username=7
|
|
||||||
[github.com*]
|
[github.com*]
|
||||||
target=api/github
|
target=api/github
|
||||||
username_extractor=specific_line
|
username_extractor=specific_line
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
[virtualenvs]
|
|
||||||
in-project = true
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
tmp_dir="/tmp/cliphist"
|
|
||||||
rm -rf "$tmp_dir"
|
|
||||||
|
|
||||||
if [[ -n "$1" ]]; then
|
|
||||||
cliphist decode <<<"$1" | wl-copy
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p "$tmp_dir"
|
|
||||||
|
|
||||||
read -r -d '' prog <<EOF
|
|
||||||
/^[0-9]+\s<meta http-equiv=/ { next }
|
|
||||||
match(\$0, /^([0-9]+)\s(\[\[\s)?binary.*(jpg|jpeg|png|bmp)/, grp) {
|
|
||||||
system("echo " grp[1] "\\\\\t | cliphist decode >$tmp_dir/"grp[1]"."grp[3])
|
|
||||||
print \$0"\0icon\x1f$tmp_dir/"grp[1]"."grp[3]
|
|
||||||
next
|
|
||||||
}
|
|
||||||
1
|
|
||||||
EOF
|
|
||||||
cliphist list | gawk "$prog"
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
IMAGE_URL="https://earthview.withgoogle.com/download"
|
|
||||||
ID_FILE="${HOME}/Documents/Misc/earthview-ids"
|
|
||||||
MAX_ID="$(wc -l <"${ID_FILE}")"
|
|
||||||
OUTPUT_FILE=/tmp/earthview-wallpaper.jpg
|
|
||||||
|
|
||||||
get_random_id() {
|
|
||||||
RANDOM_ID="$(shuf -n 1 -i 1-"${MAX_ID}")"
|
|
||||||
ID="$(sed -n "${RANDOM_ID}p" "$ID_FILE")"
|
|
||||||
}
|
|
||||||
|
|
||||||
set -e
|
|
||||||
get_random_id
|
|
||||||
curl -fLs "${IMAGE_URL}/${ID}.jpg" -o "${OUTPUT_FILE}"
|
|
||||||
swaymsg "output * bg $OUTPUT_FILE fill"
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
search_directory=~/Documents
|
search_directory=~/Documents
|
||||||
downloads=~/Downloads
|
|
||||||
|
|
||||||
xdg-open "$(rg --no-messages --no-ignore --files $search_directory $downloads -g "*.{pdf,docx,doc,xlsx,xls,pptx,ppt}" |
|
xdg-open "$(rg --no-messages --no-ignore --files $search_directory -g "{*.pdf}" -g "{*.doc[x]}" -g "{*.xls[x]}" -g "{*.ppt[x]}" |
|
||||||
rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
|
rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
|
||||||
|
|||||||
87
scripts/.local/share/scripts/git-ignore-line.sh
Executable file
87
scripts/.local/share/scripts/git-ignore-line.sh
Executable file
@@ -0,0 +1,87 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Git filter to ignore lines in your files.
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017-2019 Aryel Mota Góis <aryel.gois@gmail.com>
|
||||||
|
#
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# SETUP:
|
||||||
|
#
|
||||||
|
# cp git-ignore-line.sh ~/bin/git-ignore-line
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# USAGE:
|
||||||
|
#
|
||||||
|
# Mark single lines you want to ignore with 'GITIGNORE'. It ignores
|
||||||
|
# the whole line. It is recommended to be inside a comment in your code.
|
||||||
|
#
|
||||||
|
# Mark multiple lines surrounding them with 'GITIGNORE START' and
|
||||||
|
# 'GITIGNORE END'. It can not be nested.
|
||||||
|
#
|
||||||
|
# NOTE: Ignored lines might be lost on checkout.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Add files to ignore:
|
||||||
|
#
|
||||||
|
# git ignore-line <pattern>
|
||||||
|
#
|
||||||
|
# Remove patterns with:
|
||||||
|
#
|
||||||
|
# git ignore-line -r <pattern>
|
||||||
|
#
|
||||||
|
# List configured patterns:
|
||||||
|
#
|
||||||
|
# git ignore-line -l
|
||||||
|
#
|
||||||
|
# PATTERN can be a file or a glob pattern: '*.html'. Remember to
|
||||||
|
# escape the `*`.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# TODO:
|
||||||
|
#
|
||||||
|
# - Stash the lines ignored by this filter before a git checkout.
|
||||||
|
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
|
||||||
|
# Check if stdin is not tty and remove ignored lines from it.
|
||||||
|
|
||||||
|
[ -t 0 ] || exec sed \
|
||||||
|
'/GITIGNORE START/,/GITIGNORE END/d; /GITIGNORE/d' \
|
||||||
|
/dev/stdin
|
||||||
|
|
||||||
|
|
||||||
|
# Running from tty.
|
||||||
|
|
||||||
|
program=$(basename "$0")
|
||||||
|
|
||||||
|
# Find git repository.
|
||||||
|
git_dir=$(git rev-parse --git-dir)
|
||||||
|
|
||||||
|
# Path to attributes file.
|
||||||
|
attr_file=$git_dir/info/attributes
|
||||||
|
|
||||||
|
# Check arguments.
|
||||||
|
if [ $# -eq 2 ] && [ "$1" = '-r' ]; then
|
||||||
|
# Remove filter for pattern.
|
||||||
|
sed "s|^$2 filter=$program||" "$attr_file" > "$attr_file.tmp"
|
||||||
|
mv -- "$attr_file.tmp" "$attr_file"
|
||||||
|
elif [ $# -eq 1 ]; then
|
||||||
|
if [ "$1" = '-l' ]; then
|
||||||
|
# List patterns.
|
||||||
|
grep "filter=$program" "$attr_file" || true
|
||||||
|
else
|
||||||
|
# Add filter for pattern.
|
||||||
|
echo "$1 filter=$program" >> "$attr_file"
|
||||||
|
# Configure filter.
|
||||||
|
git config --global "filter.$program.clean" "$program"
|
||||||
|
git config --global "filter.$program.smudge" cat
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# Show help.
|
||||||
|
>&2 echo "Usage: $program [-r] <pattern>"
|
||||||
|
>&2 echo " or: $program -l"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ACCOUNT="$1"
|
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
ACCOUNT="-a"
|
echo "Usage: mail-sync <account name>"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mbsync "$ACCOUNT"
|
mbsync "$1"
|
||||||
if pgrep -f 'mu server'; then
|
if pgrep -f 'mu server'; then
|
||||||
emacsclient -e '(mu4e-update-index)'
|
emacsclient -e '(mu4e-update-index)'
|
||||||
else
|
else
|
||||||
|
|||||||
5
scripts/.local/share/scripts/niv-init
Executable file
5
scripts/.local/share/scripts/niv-init
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
niv init
|
||||||
|
niv update nixpkgs -b nixpkgs-unstable
|
||||||
|
sed "s/pkgs ? import <nixpkgs>/sources ? import .\/nix\/sources.nix, pkgs ? import sources.nixpkgs/" -i shell.nix
|
||||||
@@ -2,11 +2,10 @@
|
|||||||
|
|
||||||
directory=/tmp/webtorrent
|
directory=/tmp/webtorrent
|
||||||
player=mpv
|
player=mpv
|
||||||
data_file=$HOME/Documents/Misc/peerflix-db.csv
|
data_file=$HOME/Documents/IT/peerflix-db.csv
|
||||||
|
|
||||||
parse_csv() {
|
parse_csv() {
|
||||||
show_name=$(echo "$1" | cut -d "=" -f 3 | awk -F "S[0-9]|[S|s]eason|[C|c]omplete|([0-9]+)" '{print $1}' |
|
show_name=$(echo "$1" | cut -d "=" -f 3 | cut -d "%" -f 1 | tr + " ")
|
||||||
tr -d "[:digit:]" | tr "[:punct:]" " " | sed -e 's/[[:space:]]*$//')
|
|
||||||
episode=$(awk -F ',' -v var="$show_name" '$1 ~ var {print $2}' "$data_file")
|
episode=$(awk -F ',' -v var="$show_name" '$1 ~ var {print $2}' "$data_file")
|
||||||
line_number=$(awk -F ',' -v var="$show_name" '$1 ~ var {print NR}' "$data_file")
|
line_number=$(awk -F ',' -v var="$show_name" '$1 ~ var {print NR}' "$data_file")
|
||||||
}
|
}
|
||||||
@@ -16,15 +15,6 @@ increment_episode() {
|
|||||||
sed -e "$line_number s/$episode/$next_episode/" -i "$data_file"
|
sed -e "$line_number s/$episode/$next_episode/" -i "$data_file"
|
||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "Usage: peerflix <magnet link>"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
|
||||||
usage
|
|
||||||
fi
|
|
||||||
|
|
||||||
parse_csv "$1"
|
parse_csv "$1"
|
||||||
if [ -z "$episode" ]; then
|
if [ -z "$episode" ]; then
|
||||||
webtorrent download "$1" -s -o "$directory" --"$player"
|
webtorrent download "$1" -s -o "$directory" --"$player"
|
||||||
|
|||||||
@@ -5,23 +5,18 @@ usage() {
|
|||||||
echo "type git: VCS project"
|
echo "type git: VCS project"
|
||||||
echo "type remote-git: VCS project with README, LICENSE and tests"
|
echo "type remote-git: VCS project with README, LICENSE and tests"
|
||||||
echo "type src: Simple coding project"
|
echo "type src: Simple coding project"
|
||||||
echo "type init: Initialize populated project"
|
|
||||||
echo "type doc: Assignment"
|
echo "type doc: Assignment"
|
||||||
echo "type nix-ld: Run unpatched programs with Nix"
|
echo "type nix-ld: Run unpatched programs with Nix"
|
||||||
echo "type datasci: Python data science project"
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_nix_files() {
|
copy_nix_files() {
|
||||||
if [ "$1" = "flake" ]; then
|
if [ "$1" = "flake" ]; then
|
||||||
cp ~/Projects/devenv/flake-template.nix flake.nix
|
cp ~/Documents/IT/flake-template.nix flake.nix
|
||||||
elif [ "$1" = "nix-ld" ]; then
|
elif [ "$1" = "nix-ld" ]; then
|
||||||
cp ~/Projects/devenv/nix-ld.nix shell.nix
|
cp ~/Documents/IT/nix-ld.nix shell.nix
|
||||||
elif [ "$1" = "datasci" ]; then
|
|
||||||
cp ~/Projects/devenv/python-data-science.nix shell.nix
|
|
||||||
else
|
|
||||||
cp ~/Projects/devenv/shell.nix .
|
|
||||||
fi
|
fi
|
||||||
|
cp ~/Documents/IT/shell.nix .
|
||||||
}
|
}
|
||||||
|
|
||||||
git_initialization() {
|
git_initialization() {
|
||||||
@@ -39,12 +34,6 @@ direnv_integration() {
|
|||||||
direnv allow
|
direnv allow
|
||||||
}
|
}
|
||||||
|
|
||||||
create_dir() {
|
|
||||||
if [ ! -d "$1" ]; then
|
|
||||||
mkdir "$1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $# != 1 ]; then
|
if [ $# != 1 ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
@@ -52,43 +41,29 @@ fi
|
|||||||
type=$1
|
type=$1
|
||||||
|
|
||||||
if [ "$type" = "git" ]; then
|
if [ "$type" = "git" ]; then
|
||||||
copy_nix_files "nix"
|
mkdir src data
|
||||||
create_dir data
|
copy_nix_files "flake"
|
||||||
create_dir src
|
|
||||||
git_initialization
|
git_initialization
|
||||||
direnv_integration "nix"
|
direnv_integration "flake"
|
||||||
elif [ "$type" = "remote-git" ]; then
|
elif [ "$type" = "remote-git" ]; then
|
||||||
touch README.org
|
touch README.org
|
||||||
cp ~/Projects/devenv/LICENSE.md LICENSE.md
|
cp ~/Documents/IT/gpl-3.0.md LICENSE.md
|
||||||
copy_nix_files "flake"
|
copy_nix_files "flake"
|
||||||
create_dir data
|
mkdir src tests data
|
||||||
create_dir src
|
|
||||||
git_initialization
|
git_initialization
|
||||||
direnv_integration "flake"
|
direnv_integration "flake"
|
||||||
elif [ "$type" = "doc" ]; then
|
elif [ "$type" = "doc" ]; then
|
||||||
create_dir assets
|
mkdir docs docs/assets
|
||||||
touch Report.org
|
touch docs/Summary.org
|
||||||
touch .project
|
touch .project
|
||||||
elif [ "$type" = "src" ]; then
|
elif [ "$type" = "src" ]; then
|
||||||
copy_nix_files "nix"
|
copy_nix_files "nix"
|
||||||
create_dir data
|
mkdir src data
|
||||||
create_dir src
|
|
||||||
touch .project
|
touch .project
|
||||||
direnv_integration "nix"
|
direnv_integration "nix"
|
||||||
elif [ "$type" = "init" ]; then
|
|
||||||
touch .project
|
|
||||||
if [ ! -f shell.nix ]; then
|
|
||||||
copy_nix_files "nix"
|
|
||||||
fi
|
|
||||||
direnv_integration "nix"
|
|
||||||
elif [ "$type" = "nix-ld" ]; then
|
elif [ "$type" = "nix-ld" ]; then
|
||||||
copy_nix_files "nix-ld"
|
copy_nix_files "nix-ld"
|
||||||
direnv_integration "nix"
|
direnv_integration "nix"
|
||||||
elif [ "$type" = "datasci" ]; then
|
|
||||||
copy_nix_files "datasci"
|
|
||||||
create_dir data
|
|
||||||
touch .project
|
|
||||||
direnv_integration "nix"
|
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Convert ZFS legacy mountpoints to ZFS mounts
|
|
||||||
zfs list -Ho name | while read -r dataset; do
|
|
||||||
zfs set mountpoint="/$dataset" "$dataset"
|
|
||||||
done
|
|
||||||
@@ -1,12 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "Usage: shebang-patcher <script>"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $# != 1 ]; then
|
|
||||||
usage
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed "s/#!\/bin\/bash/#!\/usr\/bin\/env bash/" -i "$1"
|
sed "s/#!\/bin\/bash/#!\/usr\/bin\/env bash/" -i "$1"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
echo "Usage: subject <subject name> <subject type>"
|
echo "Usage: subject <subject name> <subject type>"
|
||||||
echo "subject type 0: programming"
|
echo "subject type 0: programming"
|
||||||
@@ -10,11 +11,10 @@ fi
|
|||||||
name=$1
|
name=$1
|
||||||
type=$2
|
type=$2
|
||||||
|
|
||||||
formatted_name=$(echo "$name" | tr -s ' ' '_')
|
mkdir -p "$name"/Labs
|
||||||
mkdir -p "$formatted_name"/Labs
|
mkdir -p "$name"/Exercises
|
||||||
mkdir -p "$formatted_name"/Exercises
|
touch "$name"/.project
|
||||||
touch "$formatted_name"/.project
|
|
||||||
|
|
||||||
if [ "$type" -eq 0 ]; then
|
if [ "$type" -eq 0 ]; then
|
||||||
mkdir -p "$formatted_name"/Code
|
mkdir -p "$name"/Code
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,24 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
LIGHT_THEME="rose-pine"
|
|
||||||
DARK_THEME="nord"
|
|
||||||
KITTY_LIGHT_THEME="Rosé Pine Dawn"
|
|
||||||
NVIM_COLORSCHEME_LINE=41
|
|
||||||
|
|
||||||
capitalize() {
|
capitalize() {
|
||||||
printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]"
|
printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]"
|
||||||
printf '%s' "$1" | tail -c '+2' | tr "-" " " | tr "e" "é"
|
printf '%s' "$1" | tail -c '+2'
|
||||||
}
|
}
|
||||||
|
|
||||||
change_theme() {
|
change_theme() {
|
||||||
sed -e "$NVIM_COLORSCHEME_LINE s/$1/$2/" -i ~/.config/nvim/init.vim
|
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/kitty/kitty.conf
|
||||||
sed -i "s/$1/$2/" ~/.config/zathura/zathurarc
|
sed -i "s/bg=$1/bg=$2/" ~/.config/nvim/init.vim
|
||||||
if [ "$2" = "$LIGHT_THEME" ]; then
|
sed -i "s/iceberg_$1/iceberg_$2/" ~/.dotfiles/tmux/.tmux.conf
|
||||||
kitty +kitten themes --reload-in=all "$KITTY_LIGHT_THEME"
|
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/zathura/zathurarc
|
||||||
else
|
kitty +kitten themes --reload-in=all "Iceberg $(capitalize "$2")"
|
||||||
kitty +kitten themes --reload-in=all "$(capitalize "$2")"
|
tmux source-file ~/.tmux.conf
|
||||||
fi
|
nvr --remote-send ":source ~/.config/nvim/init.vim <CR> :set nonumber <CR> :set norelativenumber <CR>"
|
||||||
nvr --remote-send ":source ~/.config/nvim/init.vim <CR>"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
recolor_zathura() {
|
recolor_zathura() {
|
||||||
@@ -40,11 +34,11 @@ fi
|
|||||||
mode=$1
|
mode=$1
|
||||||
|
|
||||||
if [ "$mode" = "light" ]; then
|
if [ "$mode" = "light" ]; then
|
||||||
emacsclient --eval "(load-theme 'os1 'no-confirm)"
|
emacsclient --eval "(load-theme 'doom-flatwhite 'no-confirm)"
|
||||||
change_theme "$DARK_THEME" "$LIGHT_THEME"
|
change_theme dark light
|
||||||
recolor_zathura
|
recolor_zathura
|
||||||
else
|
else
|
||||||
emacsclient --eval "(load-theme 'doom-one 'no-confirm)"
|
emacsclient --eval "(load-theme 'doom-one 'no-confirm)"
|
||||||
change_theme "$LIGHT_THEME" "$DARK_THEME"
|
change_theme light dark
|
||||||
recolor_zathura
|
recolor_zathura
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
host zion
|
host zion
|
||||||
user coolneng
|
user coolneng
|
||||||
hostname 192.168.128.2
|
hostname 192.168.13.2
|
||||||
port 22
|
port 22
|
||||||
identityfile ~/.ssh/zion
|
identityfile ~/.ssh/zion
|
||||||
|
|
||||||
@@ -20,8 +20,8 @@ host kobo
|
|||||||
port 22
|
port 22
|
||||||
identityfile ~/.ssh/kobo
|
identityfile ~/.ssh/kobo
|
||||||
|
|
||||||
host kathreftis
|
host kermit-gpu
|
||||||
user root
|
user aminka
|
||||||
hostname 192.168.13.131
|
hostname bw26gpu1.ugent.be
|
||||||
port 22
|
port 4480
|
||||||
identityfile ~/.ssh/kathreftis
|
identityfile ~/.ssh/kermit-gpu
|
||||||
|
|||||||
BIN
ssh/.ssh/kermit-gpu
Normal file
BIN
ssh/.ssh/kermit-gpu
Normal file
Binary file not shown.
BIN
ssh/.ssh/kermit-gpu.pub
Normal file
BIN
ssh/.ssh/kermit-gpu.pub
Normal file
Binary file not shown.
Binary file not shown.
@@ -59,14 +59,10 @@ output * bg ~/Photos/Wallpapers/The_parallel_microscopic_Universe_II.jpg fill
|
|||||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
# Keyboard layout
|
# Keyboard layout
|
||||||
input type:keyboard {
|
input * xkb_layout "es"
|
||||||
xkb_layout us
|
|
||||||
xkb_variant altgr-intl
|
|
||||||
xkb_options eurosign:4
|
|
||||||
}
|
|
||||||
|
|
||||||
# Touchpad settings
|
# Touchpad settings
|
||||||
input type:touchpad {
|
input "2:7:SynPS/2_Synaptics_TouchPad" {
|
||||||
dwt enabled
|
dwt enabled
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
@@ -134,12 +130,12 @@ bindsym $mod+L focus right
|
|||||||
set $workspace1 "1: "
|
set $workspace1 "1: "
|
||||||
set $workspace2 "2: "
|
set $workspace2 "2: "
|
||||||
set $workspace3 "3: "
|
set $workspace3 "3: "
|
||||||
set $workspace4 "4: "
|
set $workspace4 "4: "
|
||||||
set $workspace5 "5: "
|
set $workspace5 "5: "
|
||||||
set $workspace6 "6: "
|
set $workspace6 "6: "
|
||||||
set $workspace7 "7: "
|
set $workspace7 "7: "
|
||||||
set $workspace8 "8: "
|
set $workspace8 "8: "
|
||||||
set $workspace9 "9: "
|
set $workspace9 "9: 辶"
|
||||||
set $workspace10 "10: "
|
set $workspace10 "10: "
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace $workspace1
|
bindsym $mod+1 workspace $workspace1
|
||||||
@@ -254,7 +250,6 @@ for_window [app_id="imv"] floating enable
|
|||||||
for_window [app_id="popup"] floating enable, resize set 1280 720
|
for_window [app_id="popup"] floating enable, resize set 1280 720
|
||||||
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 735 415; sticky enable
|
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 735 415; sticky enable
|
||||||
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
|
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
|
||||||
for_window [title="Firefox — Sharing Indicator"] kill;
|
|
||||||
# Resize R plots to 40% in tiling mode
|
# Resize R plots to 40% in tiling mode
|
||||||
for_window [class="R_x11"] resize set width 40 ppt
|
for_window [class="R_x11"] resize set width 40 ppt
|
||||||
# Split windows vertically
|
# Split windows vertically
|
||||||
@@ -274,22 +269,21 @@ bindsym XF86AudioMicMute exec ~/.local/share/scripts/pulseaudio-mic-mute
|
|||||||
bindsym XF86MonBrightnessUp exec light -A 10
|
bindsym XF86MonBrightnessUp exec light -A 10
|
||||||
bindsym XF86MonBrightnessDown exec light -U 10
|
bindsym XF86MonBrightnessDown exec light -U 10
|
||||||
# Media control
|
# Media control
|
||||||
bindsym XF86Messenger exec mpc toggle
|
bindsym XF86Tools exec mpc toggle
|
||||||
bindsym XF86AudioPlay exec mpc toggle
|
bindsym XF86AudioPlay exec mpc toggle
|
||||||
bindsym XF86Go exec mpc stop
|
bindsym XF86Search exec mpc stop
|
||||||
bindsym Cancel exec mpc prev
|
bindsym XF86LaunchA exec mpc prev
|
||||||
bindsym XF86Favorites exec mpc next
|
bindsym XF86Explorer exec mpc next
|
||||||
|
|
||||||
#
|
#
|
||||||
# Program keybindings
|
# Program keybindings
|
||||||
#
|
#
|
||||||
# clipman
|
# clipman
|
||||||
bindsym $mod+c exec rofi -modi clipboard:~/.local/share/scripts/cliphist-rofi-img -show clipboard -show-icons
|
bindsym $mod+c exec clipman pick -t rofi --max-items=50
|
||||||
# grim
|
# grim
|
||||||
bindsym Print exec grim
|
bindsym Print exec grim
|
||||||
# slurp + grim to clipboard
|
# slurp + grim to clipboard
|
||||||
bindsym Shift+Print exec slurp | grim -g - - | wl-copy
|
bindsym Shift+Print exec slurp | grim -g - - | wl-copy
|
||||||
#bindsym Shift+Super_L exec slurp | grim -g - - | wl-copy
|
|
||||||
# find PDFs with rofi
|
# find PDFs with rofi
|
||||||
bindsym $mod+f exec ~/.local/share/scripts/finder
|
bindsym $mod+f exec ~/.local/share/scripts/finder
|
||||||
# recurrent action launcher
|
# recurrent action launcher
|
||||||
@@ -298,8 +292,6 @@ bindsym $mod+Shift+a exec ~/.local/share/scripts/recurrent-actions
|
|||||||
bindsym $mod+Shift+s exec ~/.local/share/scripts/tmuxp-session
|
bindsym $mod+Shift+s exec ~/.local/share/scripts/tmuxp-session
|
||||||
# power menu
|
# power menu
|
||||||
bindsym $mod+Shift+p exec ~/.local/share/scripts/power-menu
|
bindsym $mod+Shift+p exec ~/.local/share/scripts/power-menu
|
||||||
# earth view wallpaper
|
|
||||||
bindsym $mod+Shift+w exec ~/.local/share/scripts/earth-view-wallpaper
|
|
||||||
|
|
||||||
# theme switcher menu
|
# theme switcher menu
|
||||||
bindsym $mod+Shift+t mode "$Theme-switch"
|
bindsym $mod+Shift+t mode "$Theme-switch"
|
||||||
@@ -319,15 +311,16 @@ set $lock_bg ~/Photos/Wallpapers/wallhaven-638719.png
|
|||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
before-sleep 'swaylock -f -c 000000 -i $lock_bg'
|
before-sleep 'swaylock -f -c 000000 -i $lock_bg'
|
||||||
|
|
||||||
# apply color profile to laptop screen
|
# disable external monitor when lid is closed
|
||||||
output eDP-1 color_profile icc ~/.config/colord/E14-G3.icm
|
set $monitor DP-1
|
||||||
|
bindswitch --reload --locked lid:on output $monitor disable
|
||||||
|
bindswitch --reload --locked lid:off output $monitor enable
|
||||||
|
|
||||||
#
|
#
|
||||||
# Autostart programs
|
# Autostart programs
|
||||||
#
|
#
|
||||||
# clipman
|
# clipman
|
||||||
exec wl-paste -t text --watch cliphist store
|
exec wl-paste -t text --watch clipman store --max-items=50
|
||||||
exec wl-paste -t image --watch cliphist store
|
|
||||||
# kanshi
|
# kanshi
|
||||||
exec kanshi
|
exec kanshi
|
||||||
# easyeffects
|
# easyeffects
|
||||||
@@ -339,7 +332,7 @@ exec kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml
|
|||||||
assign [app_id="firefox"] $workspace2
|
assign [app_id="firefox"] $workspace2
|
||||||
exec firefox
|
exec firefox
|
||||||
# emacs
|
# emacs
|
||||||
assign [app_id="emacs"] $workspace3
|
assign [class=".*[Ee]macs.*"] $workspace3
|
||||||
# HACK Run a doom sync before launching emacs
|
# HACK Run a doom sync before launching emacs
|
||||||
exec ~/.emacs.d/bin/doom sync && exec emacs
|
exec ~/.emacs.d/bin/doom sync && exec emacs
|
||||||
|
|
||||||
@@ -359,9 +352,7 @@ assign [app_id="mpv"] $workspace9
|
|||||||
# calibre
|
# calibre
|
||||||
assign [app_id="calibre"] $workspace10
|
assign [app_id="calibre"] $workspace10
|
||||||
# chromium
|
# chromium
|
||||||
assign [app_id="chromium-browser"] $workspace10
|
assign [class="Chromium-browser"] $workspace10
|
||||||
# teams
|
|
||||||
assign [class="teams-for-linux"] $workspace6
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ set -g bell-action any
|
|||||||
|
|
||||||
## Set default terminal
|
## Set default terminal
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||||
|
|
||||||
|
|
||||||
# i3 split bindings
|
# i3 split bindings
|
||||||
@@ -77,4 +78,3 @@ set -g mouse on
|
|||||||
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
|
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
|
||||||
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
|
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
|
||||||
|
|
||||||
source ~/.tmux/statusbar.conf
|
|
||||||
|
|||||||
11
tmux/.tmux/iceberg_dark.tmux.conf
Normal file
11
tmux/.tmux/iceberg_dark.tmux.conf
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
set -g status-justify "centre"
|
||||||
|
set -g status "on"
|
||||||
|
set -g status-left-style "none"
|
||||||
|
set -g status-style "none,bg=#1e2132"
|
||||||
|
set -g status-left "#[bold] #S"
|
||||||
|
set -g status-right ""
|
||||||
|
set -g pane-border-style "fg=#2e3244"
|
||||||
|
set -g pane-active-border-style "fg=#454b68"
|
||||||
|
setw -g window-status-style "none,fg=#c6c8d1,bg=#1e2132"
|
||||||
|
setw -g window-status-format " #[fg=#c6c8d1] #I #W "
|
||||||
|
setw -g window-status-current-format " #[fg=#c6c8d1,bg=#2e3244,bold] #I #W "
|
||||||
11
tmux/.tmux/iceberg_light.tmux.conf
Normal file
11
tmux/.tmux/iceberg_light.tmux.conf
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
set -g status-justify "centre"
|
||||||
|
set -g status "on"
|
||||||
|
set -g status-left-style "none"
|
||||||
|
set -g status-style "none,bg=#d2d4dd"
|
||||||
|
set -g status-left "#[bold] #S"
|
||||||
|
set -g status-right ""
|
||||||
|
set -g pane-border-style "fg=#c6c8d1"
|
||||||
|
set -g pane-active-border-style "fg=#33374c"
|
||||||
|
setw -g window-status-style "none,fg=#33374c,bg=#d2d4dd"
|
||||||
|
setw -g window-status-format " #[fg=#afafaf] #I #W "
|
||||||
|
setw -g window-status-current-format " #[fg=#282a2e,bold] #I #W "
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
set -g status-justify "centre"
|
|
||||||
set -g status "on"
|
|
||||||
set -g status-left-style "none"
|
|
||||||
set -g status-style "none,bg=black"
|
|
||||||
set -g status-left "#[bold] #S"
|
|
||||||
set -g status-right ""
|
|
||||||
set -g pane-border-style "fg=#2e3244"
|
|
||||||
set -g pane-active-border-style "fg=#454b68"
|
|
||||||
setw -g window-status-style "none,fg=black,bg=brightblack"
|
|
||||||
setw -g window-status-format "#[fg=black,bg=brightblack] #I #W "
|
|
||||||
setw -g window-status-current-format "#[fg=black,bg=cyan,bold] #I #W "
|
|
||||||
@@ -25,6 +25,10 @@ windows:
|
|||||||
panes:
|
panes:
|
||||||
- ncmpcpp
|
- ncmpcpp
|
||||||
|
|
||||||
|
- window_name: IM
|
||||||
|
panes:
|
||||||
|
- gomuks
|
||||||
|
|
||||||
- window_name: stream
|
- window_name: stream
|
||||||
panes:
|
panes:
|
||||||
- null
|
- null
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ windows:
|
|||||||
focus: true
|
focus: true
|
||||||
layout: even-vertical
|
layout: even-vertical
|
||||||
panes:
|
panes:
|
||||||
- ssh root@zion
|
- ssh -C root@zion
|
||||||
- ssh root@zion
|
- ssh -C root@zion
|
||||||
|
|
||||||
- window_name: canvas
|
- window_name: canvas
|
||||||
layout: even-vertical
|
layout: even-vertical
|
||||||
panes:
|
panes:
|
||||||
- ssh zion
|
- ssh -C zion
|
||||||
- ssh zion
|
- ssh -C zion
|
||||||
|
|
||||||
- window_name: monitor
|
- window_name: monitor
|
||||||
panes:
|
panes:
|
||||||
- ssh -t zion "htop"
|
- ssh -C -t zion "htop"
|
||||||
|
|||||||
@@ -1,9 +1,25 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top", // Waybar at top layer
|
||||||
"height": 25,
|
"height": 25, // Waybar height (to be removed for auto height)
|
||||||
"modules-left": ["sway/workspaces" ],
|
"modules-left": ["sway/workspaces" ],
|
||||||
"modules-center": ["custom/org-pomodoro", "clock"],
|
"modules-center": ["custom/org-pomodoro", "clock"],
|
||||||
"modules-right": ["mpd", "network", "pulseaudio", "battery" ],
|
"modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"],
|
||||||
|
// Modules configuration
|
||||||
|
// "sway/workspaces": {
|
||||||
|
// "disable-scroll": true,
|
||||||
|
// "all-outputs": true,
|
||||||
|
// "format": "{name}: {icon}",
|
||||||
|
// "format-icons": {
|
||||||
|
// "1": "",
|
||||||
|
// "2": "",
|
||||||
|
// "3": "",
|
||||||
|
// "4": "",
|
||||||
|
// "5": "",
|
||||||
|
// "urgent": "",
|
||||||
|
// "focused": "",
|
||||||
|
// "default": ""
|
||||||
|
// }
|
||||||
|
// },
|
||||||
"mpd": {
|
"mpd": {
|
||||||
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
@@ -14,14 +30,12 @@
|
|||||||
"on": " "
|
"on": " "
|
||||||
},
|
},
|
||||||
"state-icons": {
|
"state-icons": {
|
||||||
"paused": "",
|
"paused": "",
|
||||||
"playing": ""
|
"playing": ""
|
||||||
},
|
},
|
||||||
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
|
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||||
"title-len": 50,
|
"title-len": 50
|
||||||
"on-click": "mpc toggle",
|
|
||||||
"on-click-right": "mpc stop"
|
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a %d %b %H:%M}",
|
"format": "{:%a %d %b %H:%M}",
|
||||||
@@ -35,29 +49,52 @@
|
|||||||
"critical": 10
|
"critical": 10
|
||||||
},
|
},
|
||||||
"format": "<span foreground='#88C0D0'>{icon}</span> {capacity}%",
|
"format": "<span foreground='#88C0D0'>{icon}</span> {capacity}%",
|
||||||
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
// "format-good": "", // An empty format will hide the module
|
||||||
"format-icons": ["", "", ""]
|
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
||||||
|
"format-icons": ["", "", ""]
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT1",
|
||||||
|
"states": {
|
||||||
|
"good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 10
|
||||||
|
},
|
||||||
|
"format": "<span foreground='#88C0D0'>{icon}</span> {capacity}%",
|
||||||
|
"format-charging": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
|
"format-plugged": "<span foreground='#88C0D0'></span> {capacity}%",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
"format-full": "<span foreground='#88C0D0'></span> 100%",
|
||||||
|
"format-icons": ["", "", ""]
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
|
"format-wifi": "<span foreground='#88C0D0'>{icon}</span> {essid}",
|
||||||
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
|
"format-ethernet": "<span foreground='#88C0D0'></span> Connected",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
"format-disconnected": "<span foreground='#88C0D0'>睊</span> Disconnected",
|
"format-disconnected": "<span foreground='#88C0D0'>睊</span> Disconnected",
|
||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||||
"format-icons": ["", "", ""],
|
"format-icons": ["直", "直", "直"],
|
||||||
"tooltip-format": "Online",
|
"tooltip-format": "Online",
|
||||||
"tooltip-format-disconnected": "Offline"
|
"tooltip-format-disconnected": "Offline"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
|
"format": "<span foreground='#88C0D0'>{icon}</span> {volume}%",
|
||||||
"format-muted": "<span foreground='#88C0D0'></span>",
|
"format-muted": "<span foreground='#88C0D0'>婢</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ["", "", ""]
|
"default": ["", "墳", ""]
|
||||||
},
|
},
|
||||||
"on-click": "",
|
"on-click": "",
|
||||||
"ignored-sinks": ["Easy Effects Sink"]
|
"ignored-sinks": ["EasyEffects Sink"]
|
||||||
|
},
|
||||||
|
"custom/org-pomodoro": {
|
||||||
|
"format": "<span foreground='#88C0D0'>祥</span> {}",
|
||||||
|
"exec": "$HOME/.local/share/scripts/org-clock-status",
|
||||||
|
"interval": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
all: unset;
|
|
||||||
font-family: Inconsolata Nerd Font;
|
font-family: Inconsolata Nerd Font;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
@@ -167,5 +166,3 @@ label:focus {
|
|||||||
|
|
||||||
#mpd.paused {
|
#mpd.paused {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
# Limit resolution to 1080p and exclude AV1
|
|
||||||
-f bestvideo[height<=1080][vcodec!=av1]+bestaudio/best
|
|
||||||
# Use HEVC codec to save space
|
|
||||||
-S vcodec:h265
|
|
||||||
5
zathura/.config/zathura/iceberg_dark.conf
Normal file
5
zathura/.config/zathura/iceberg_dark.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
set recolor-lightcolor "#161821"
|
||||||
|
set recolor-darkcolor "#c6c8d1"
|
||||||
|
set completion-bg "#161821"
|
||||||
|
set statusbar-bg "#161821"
|
||||||
|
set statusbar-fg "#c6c8d1"
|
||||||
5
zathura/.config/zathura/iceberg_light.conf
Normal file
5
zathura/.config/zathura/iceberg_light.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
set recolor-lightcolor "#e8e9ec"
|
||||||
|
set recolor-darkcolor "#33374c"
|
||||||
|
set completion-bg "#e8e9ec"
|
||||||
|
set statusbar-bg "#e8e9ec"
|
||||||
|
set statusbar-fg "#33374c"
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
set completion-bg "#2E3440"
|
|
||||||
set statusbar-bg "#2E3440"
|
|
||||||
set statusbar-fg "#E5E9F0"
|
|
||||||
set recolor-lightcolor "#2E3440"
|
|
||||||
set recolor-darkcolor "#ECEFF4"
|
|
||||||
set default-bg "#2E3440"
|
|
||||||
set default-fg "#ECEFF4"
|
|
||||||
set render-loading true
|
|
||||||
set render-loading-bg "#2E3440"
|
|
||||||
set render-loading-fg "#ECEFF4"
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# https://github.com/rose-pine/rose-pine-theme
|
|
||||||
# Soho vibes for Zathura: Rosé Pine Dawn
|
|
||||||
#
|
|
||||||
# Usage:
|
|
||||||
# Copy contents of this file to ~/.config/zathura/zathurarc
|
|
||||||
#
|
|
||||||
# Change 'recolor' and 'recolor-keephue' to true to change
|
|
||||||
# the document colors for a more uniform viewing experience.
|
|
||||||
|
|
||||||
set default-bg "#faf4ed"
|
|
||||||
set default-fg "#575279"
|
|
||||||
|
|
||||||
set statusbar-fg "#9893a5"
|
|
||||||
set statusbar-bg "#fffaf3"
|
|
||||||
|
|
||||||
set inputbar-bg "#6e6a86"
|
|
||||||
set inputbar-fg "#faf4ed"
|
|
||||||
|
|
||||||
set notification-bg "#6e6a86"
|
|
||||||
set notification-fg "#faf4ed"
|
|
||||||
|
|
||||||
set notification-error-bg "#6e6a86"
|
|
||||||
set notification-error-fg "#ea9d34"
|
|
||||||
|
|
||||||
set notification-warning-bg "#6e6a86"
|
|
||||||
set notification-warning-fg "#ea9d34"
|
|
||||||
|
|
||||||
set highlight-color "#b4637a"
|
|
||||||
set highlight-active-color "#d7827e"
|
|
||||||
|
|
||||||
set completion-bg "#6e6a86"
|
|
||||||
set completion-fg "#d7827e"
|
|
||||||
|
|
||||||
set completion-highlight-fg "#575279"
|
|
||||||
set completion-highlight-bg "#d7827e"
|
|
||||||
|
|
||||||
set recolor-lightcolor "#faf4ed"
|
|
||||||
set recolor-darkcolor "#575279"
|
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
# Zathura configuration
|
# Zathura configuration
|
||||||
set adjust-open "best-fit"
|
set adjust-open "width"
|
||||||
set selection-clipboard clipboard
|
set selection-clipboard clipboard
|
||||||
|
set recolor true
|
||||||
set recolor-keephue true
|
set recolor-keephue true
|
||||||
set window-title-basename true
|
set window-title-basename true
|
||||||
set completion-bg "#161821"
|
set completion-bg "#161821"
|
||||||
set highlight-color "#a093c7"
|
set highlight-color "#a093c7"
|
||||||
set highlight-active-color "#a093c7"
|
set highlight-active-color "#a093c7"
|
||||||
set font "Terminus \(TTF\) 15"
|
set font "Terminus \(TTF\) 15"
|
||||||
|
|
||||||
include nord.conf
|
|
||||||
|
|||||||
Reference in New Issue
Block a user