I3 to Sway (#1)

Added some ignored folders and files

Updated waybar clock for Debian 11

Fixed bug on screen definition

Fixed Iiyama North America PL2483H 1173700204528

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Some changes for work environment

Some changes for work environment

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Added .mp3 files

Updated waybar config for laptop

Added vim-jsx

Added Teams to startup section (sad day in life!)

Updated mpd config (local source)

Added script for syncing my music

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Updated ranger config

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Replaced termite with alacritty

Replaced termite by alacritty

Updated rsync.sh results

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Updated github user

Updated irc alias

Minor changes

Added master if fail fait dev*

Added zsh prompt

Updated output definitions

Added KDEConnect at startup

Added second screen

Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway

Updated README

Added C.A.V.A.

Fixed bug for vte

Added Tofu HHKB keyboard config

Added script to update system

Updated FuzzFm entry

Added menu entry for Carnet

Added qcad's ebuild

Updated waybar for Thinkpad

Updated temperature list for Thinkpad

Fixed bug

Updated input for thinkpad

Added script to order files for Alpine car audio system

Updated Fuzz url

Added Grammalecte plugin

Added displays for ThinkStation and ThinkPad

Merge branch 'gentoo-sway' of framagit.org:dbroqua/home into gentoo-sway

Updated waybar for laptop

Fixed bug on adjust brightness

Moved applications

Co-authored-by: dbroqua <contact@darkou.fr>
Co-authored-by: dbroqua <dbroqua@mousur.org>
Reviewed-on: #1
Co-Authored-By: Damien Broqua <dbroqua@noreply.localhost>
Co-Committed-By: Damien Broqua <dbroqua@noreply.localhost>
This commit is contained in:
Damien Broqua 2021-10-21 21:40:47 +02:00
parent 9969d212cc
commit 0d384b22bf
148 changed files with 5837 additions and 4018 deletions

58
.gitignore vendored
View file

@ -1,32 +1,32 @@
fluxbox/lastwallpaper
fluxbox/apps
config/JetBrains
config/Nextcloud
config/VSCodium
config/dconf
config/libreoffice
config/pulse
config/spotify
local/share/Android Open Source Project
local/share/fonts
local/share/Google
local/share/gvfs-metadata
local/share/JetBrains
local/share/keyrings
local/share/meld
local/share/mime
local/share/Nextcloud
local/share/recently-used.xbel
local/share/Trash
config/Android Open Source Project
config/configstore
config/geary/account_*
local/share/geary
config/enchant
config/GIMP
*.swp
config/neomutt/accounts
config/neomutt/signature
Bin/calameco.sh
config/i3/wallpaper
dotfiles/vim/plugged
dotfiles/vim/autoload/plug.vim
dotfiles/.vim/plugged
dotfiles/.vim/autoload/plug.vim
config/gtk-3.0/bookmarks
config/bpytop/error.log
config/ranger/plugins/__pycache__
dotfiles/.ncmpcpp/error.log
dotfiles/.vim/.netrwhist
config/JetBrains
config/Microsoft
config/Nextcloud
config/Postman
config/QtProject.conf
config/Signal
config/autostart
config/dconf
config/libreoffice
config/teams
config/pulse
config/mimeapps.list
local/share/JetBrains
local/share/Nextcloud
local/share/fonts
local/share/gvfs-metadata
local/share/keyrings
local/share/mime/
local/share/ranger
local/share/recently-used.xbel
local/share/tracker

View file

@ -1 +0,0 @@
/opt/Inkscape

View file

@ -1,93 +0,0 @@
#!/bin/bash
TYPE='' # usb / sshfs
CMD=rsync
ARGS='-avz --delete
--exclude /Nextcloud
--exclude /.cache
--exclude /Downloads
--exclude /.thunderbird
--exclude /Projects
--exclude /Software
--exclude /tmp
--exclude /fonts
--exclude /Music
--exclude /node_modules
--exclude /snap
--exclude /.local/share/Trash
--exclude /.npm
--exclude /.thumbnails
--exclude /Android
--exclude /.AndroidStudio*
--exclude /.android
--exclude /.bundle/cache
--exclude /.config/cache
--exclude /.config/Code/Cache
--exclude /.config/Code/CachedData
--exclude /.config/Slack
--exclude /.config/*/Cache
--exclude /.config/chromium
--exclude /.mozilla
--exclude /.config/discord
--exclude /.config/spotify
--exclude /.crashlytics
--exclude /.fastlane
--exclude /.gradle
--exclude ./Software
--exclude /.local
--exclude /.DataGrip*'
ORIG='/home/dbroqua/'
DEST=''
HOSTNAME=`hostname`
# USB
UUID='6e3f7ae3-8fa1-43f3-88c0-a12651519ffb'
MOUNT='/mnt/backup'
DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
# SSHFS
DEST_SSHFS="storage:Backup/${HOSTNAME}/dbroqua/"
echo `date` > ${ORIG}/lastBackup
while getopts t:h opt
do
case $opt in
t)
case ${OPTARG} in
usb)
TYPE='usb'
DEST=${DEST_USB}
;;
sshfs)
TYPE='sshfs'
DEST=${DEST_SSHFS}
;;
*)
echo "usb / sshfs attendu"
exit 1;
esac
;;
esac
done
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
if [ "${TYPE}" != '' ] ; then
case ${TYPE} in
usb)
sudo cryptsetup luksOpen /dev/sdb1 backup
sudo mount /dev/mapper/backup ${MOUNT}
echo "Go !"
if [ $? == 0 ] ; then
${CMD} ${ARGS} ${ORIG} ${DEST}
fi
sudo umount ${MOUNT}
sudo cryptsetup luksClose backup
;;
sshfs)
${CMD} ${ARGS} ${ORIG} ${DEST}
;;
esac
fi

View file

@ -1,21 +1,26 @@
# home
My GNU/Linux home config
## Requirements
Based on Gentoo with Wayland/Sway.
* i3
* py3status
* rofi (and rofi-scripts)
* rxvt-unicode
* tmux
* vim (and vimrc from https://github.com/amix/vimrc.git)
* maim
* ffmpeg
* xss-lock
* feh
* compton
* scrot
* ruby-notify
* qdbus
* i3lock-fancy
* zsh
Theme: nord palette
## Dependencies
* [Zsh: Nord (theme)](https://github.com/TyWR/Nord-zsh)
* [Zsh: Yarn autocompletions (plugin)](https://github.com/g-plane/zsh-yarn-autocompletions)
* [Tmux: tpm (plugin manager)](https://github.com/tmux-plugins/tpm)
* [Font: Powerline](https://github.com/powerline/fonts)
* [Font: Nerd-fonts](https://github.com/ryanoasis/nerd-fonts)
* [GTK: Nordic](https://github.com/EliverLara/Nordic)
* [Icons: NordArc](https://www.gnome-look.org/p/1427194/)
* [Cursors: Comix](https://www.gnome-look.org/p/999996)
* [Grammalecte](https://grammalecte.net/) (Extract [zip](https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v2.1.0.zip) into ~/.Grammalecte)
* [CAVA](https://github.com/karlstav/cava)
## Inspirations
* https://www.nordtheme.com/
* https://github.com/nboughton/dotfiles
* https://www.reddit.com/r/nordtheme/

8
TODO.md Normal file
View file

@ -0,0 +1,8 @@
# Missing
* Chromium
* QCAD
# Not Working
* ~~Sound with Firefox on few sites~~

9
bin/autoFocus.sh Executable file
View file

@ -0,0 +1,9 @@
#! /bin/bash
swaymsg -t get_outputs|grep 'eDP-1' > /dev/null
if [ $? == 0 ]; then
swaymsg focus output eDP-1
else
swaymsg focus output HDMI-A-3
fi

39
bin/btswitch.sh Executable file
View file

@ -0,0 +1,39 @@
#! /bin/bash
HEADPHONE="88:D0:39:7D:6A:70"
SPEAKERS="EC:81:93:94:92:73"
if [ -z "$1" ]; then
echo "Missing profil"
echo "example: btswitch.sh <headphone|speakers>"
exit 1
fi
case ${1} in
headphone)
bluetoothctl disconnect ${SPEAKERS}
bluetoothctl connect ${HEADPHONE}
# INFO: Dirty
sleep 5
;;
speakers)
bluetoothctl disconnect ${HEADPHONE}
bluetoothctl connect ${SPEAKERS}
;;
*)
echo "Unknown mode"
exit 1
esac
OUTPUTID=`pactl list short sinks|grep bluez|cut -f 1`
echo "Set Bluetooth as default output"
pacmd set-default-sink ${OUTPUTID}
echo "Move streams to default output"
pactl list short sink-inputs|while read stream; do
streamId=$(echo $stream|cut '-d ' -f1)
echo "moving stream $streamId"
pactl move-sink-input "$streamId" "${OUTPUTID}"
done

13
bin/build-kernel.sh Executable file
View file

@ -0,0 +1,13 @@
#! /bin/bash
cd /usr/src/linux
make oldconfig
make menuconfig
make -j17
make modules_install
make install
grub-mkconfig -o /boot/grub/grub.cfg

View file

@ -8,7 +8,7 @@ choice=`echo -e "0: Logout\n1: Shutdown\n2: Suspend\n3: Reboot\n4: Cancel" | rof
case "$choice" in
0) i3-msg exit & ;;
1) systemctl poweroff & ;;
2) ~/Bin/lock.sh & sleep 2 && systemctl suspend & ;;
2) ~/bin/lock.sh & sleep 2 && systemctl suspend & ;;
3) systemctl reboot & ;;
4) exit ;;
esac

16
bin/orderForAlpine.sh Executable file
View file

@ -0,0 +1,16 @@
#! /bin/bash
DATE=`date +%Y%m%e%k`
INC=1
DATE=$((DATE*100 + 00))
for file in *; do
echo ${file} $((DATE+INC))
touch -a -m -t $((DATE+INC)).00 "${file}"
INC=$((INC+1))
if [ ${INC} == 60 ]; then
INC=0
DATE=$((DATE+100))
fi
done

14
bin/qmkCreateBranch.sh Executable file
View file

@ -0,0 +1,14 @@
#! /bin/bash
if [ -z "$1" ]; then
echo "Missing branch name"
exit 1
fi
git checkout master
git fetch upstream
git pull upstream master
git push origin master
git checkout -b $1
git push --set-upstream origin $1

5
bin/rebuild-world.sh Executable file
View file

@ -0,0 +1,5 @@
#! /bin/bash
emerge --ask --verbose --update --changed-use --deep @world
emerge --ask --verbose --depclean

View file

@ -7,6 +7,10 @@ if [ $? = 1 ] ; then
git checkout dev
fi
if [ $? = 1 ] ; then
git checkout master
fi
# Get last changes
git pull

102
bin/rsync.sh Executable file
View file

@ -0,0 +1,102 @@
#!/bin/bash
TYPE='' # usb / sshfs
CMD=rsync
ARGS='-avz --delete
--exclude /Nextcloud
--exclude /.cache
--exclude /Downloads
--exclude /.thunderbird
--exclude /Projects
--exclude /Software
--exclude /tmp
--exclude /fonts
--exclude /Music
--exclude /node_modules
--exclude /snap
--exclude /.local/share/Trash
--exclude /.npm
--exclude /.thumbnails
--exclude /Android
--exclude /.AndroidStudio*
--exclude /.android
--exclude /.bundle/cache
--exclude /.config/cache
--exclude /.config/Code/Cache
--exclude /.config/Code/CachedData
--exclude /.config/Slack
--exclude /.config/*/Cache
--exclude /.config/chromium
--exclude /.mozilla
--exclude /.config/discord
--exclude /.config/spotify
--exclude /.crashlytics
--exclude /.fastlane
--exclude /.gradle
--exclude ./Software
--exclude /.local
--exclude /.DataGrip*'
ORIG='/home/dbroqua/'
DEST=''
HOSTNAME=`hostname`
# USB
UUID='6e3f7ae3-8fa1-43f3-88c0-a12651519ffb'
MOUNT='/mnt/backup'
DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
# SSHFS
DEST_SSHFS="storage:Backup/${HOSTNAME}/dbroqua/"
while getopts t:h opt
do
case $opt in
t)
case ${OPTARG} in
usb)
TYPE='usb'
DEST=${DEST_USB}
;;
sshfs)
TYPE='sshfs'
DEST=${DEST_SSHFS}
;;
*)
echo "usb / sshfs attendu"
exit 1;
esac
;;
esac
done
if [ "${TYPE}" != '' ] ; then
case ${TYPE} in
usb)
sudo cryptsetup luksOpen /dev/sdb1 backup
sudo mount /dev/mapper/backup ${MOUNT}
echo "Go !"
if [ $? == 0 ] ; then
${CMD} ${ARGS} ${ORIG} ${DEST}
fi
sudo umount ${MOUNT}
sudo cryptsetup luksClose backup
;;
sshfs)
${CMD} ${ARGS} ${ORIG} ${DEST}
;;
esac
fi
echo $?
if [ $? == 0 ] ; then
echo `date` > ${ORIG}/lastBackup
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
rm ${ORIG}/lastFailBackup
else
echo `date` > ${ORIG}/lastFailBackup
echo "Method: ${TYPE}" >> ${ORIG}/lastFailBackup
fi

View file

@ -69,4 +69,4 @@ case $nextconfig in
esac
# Reset wallpaper
~/Bin/wallpaper.sh
~/bin/wallpaper.sh

View file

@ -23,4 +23,4 @@ case $chosen in
;;
esac
~/Bin/screenlayout.sh $mode
~/bin/screenlayout.sh $mode

View file

5
bin/syncMusic.sh Executable file
View file

@ -0,0 +1,5 @@
#! /bin/bash
chmod a+r ~/Music/**/*.flac ~/Music/**/*.mp3
rsync -avz --delete ~/Music storage:/srv/dev-disk-by-label-storage/medias/

8
bin/update-world.sh Executable file
View file

@ -0,0 +1,8 @@
#! /bin/bash
emerge --sync
emaint sync -a
emerge --ask --verbose --update --changed-use --deep @world
emerge --ask --verbose --depclean

View file

@ -1,35 +0,0 @@
[profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
foreground-color='#A1B0B8'
visible-name='Default'
login-shell=true
palette=['#252525', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5', '#708284', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5']
badge-color='#AC7EA8'
badge-color-set=false
cursor-shape='underline'
cursor-colors-set=false
highlight-colors-set=false
use-system-font=false
bold-color-set=false
font='Droid Sans Mono for Powerline 10'
use-theme-colors=false
scrollback-unlimited=true
cursor-blink-mode='on'
background-color='#263238'
background-transparency-percent=12
[/]
quake-specific-monitor=0
tab-position='left'
copy-on-select=true
auto-hide-mouse=true
terminal-title-style='small'
window-state=128
theme-variant='dark'
session-name='${hostname}'
window-save-state=true
[keybindings]
session-add-right='<Alt>backslash'
win-switch-to-previous-session='<Shift>Left'
session-add-down='<Alt>minus'
win-switch-to-next-session='<Shift>Right'

View file

@ -1,30 +1,21 @@
window:
dimensions:
columns: 80
lines: 24
padding:
x: 5
y: 10
decorations: full
scrolling:
history: 10000
multiplier: 3
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2017-present Sven Greb <code@svengreb.de>
# Project: Nord Alacritty
# Version: 0.1.0
# Repository: https://github.com/arcticicestudio/nord-alacritty
# License: MIT
# References:
# https://github.com/alacritty/alacritty
#
font:
size: 9
normal:
family: Droid Sans Mono Slashed for Powerline
style: Regular
bold:
family: Droid Sans Mono Slashed for Powerline
# style: Bold
italic:
family: Droid Sans Mono Slashed for Powerline
# style: Italic
@ -77,120 +68,3 @@ colors:
magenta: '#8c738c'
cyan: '#6d96a5'
white: '#aeb3bb'
cursor:
style:
shape: Block
blinking: Always
preview_images: true
background_opacity: 0.85
key_bindings:
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
- { key: Paste, action: Paste }
- { key: Copy, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Insert, mods: Shift, action: PasteSelection }
- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" }
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
- { key: PageDown, chars: "\x1b[6~" }
- { key: Tab, mods: Shift, chars: "\x1b[Z" }
- { key: Back, chars: "\x7f" }
- { key: Back, mods: Alt, chars: "\x1b\x7f" }
- { key: Insert, chars: "\x1b[2~" }
- { key: Delete, chars: "\x1b[3~" }
- { key: Left, mods: Shift, chars: "\x1b[1;2D" }
- { key: Left, mods: Control, chars: "\x1b[1;5D" }
- { key: Left, mods: Alt, chars: "\x1b[1;3D" }
- { key: Left, chars: "\x1b[D", mode: ~AppCursor }
- { key: Left, chars: "\x1bOD", mode: AppCursor }
- { key: Right, mods: Shift, chars: "\x1b[1;2C" }
- { key: Right, mods: Control, chars: "\x1b[1;5C" }
- { key: Right, mods: Alt, chars: "\x1b[1;3C" }
- { key: Right, chars: "\x1b[C", mode: ~AppCursor }
- { key: Right, chars: "\x1bOC", mode: AppCursor }
- { key: Up, mods: Shift, chars: "\x1b[1;2A" }
- { key: Up, mods: Control, chars: "\x1b[1;5A" }
- { key: Up, mods: Alt, chars: "\x1b[1;3A" }
- { key: Up, chars: "\x1b[A", mode: ~AppCursor }
- { key: Up, chars: "\x1bOA", mode: AppCursor }
- { key: Down, mods: Shift, chars: "\x1b[1;2B" }
- { key: Down, mods: Control, chars: "\x1b[1;5B" }
- { key: Down, mods: Alt, chars: "\x1b[1;3B" }
- { key: Down, chars: "\x1b[B", mode: ~AppCursor }
- { key: Down, chars: "\x1bOB", mode: AppCursor }
- { key: F1, chars: "\x1bOP" }
- { key: F2, chars: "\x1bOQ" }
- { key: F3, chars: "\x1bOR" }
- { key: F4, chars: "\x1bOS" }
- { key: F5, chars: "\x1b[15~" }
- { key: F6, chars: "\x1b[17~" }
- { key: F7, chars: "\x1b[18~" }
- { key: F8, chars: "\x1b[19~" }
- { key: F9, chars: "\x1b[20~" }
- { key: F10, chars: "\x1b[21~" }
- { key: F11, chars: "\x1b[23~" }
- { key: F12, chars: "\x1b[24~" }
- { key: F1, mods: Shift, chars: "\x1b[1;2P" }
- { key: F2, mods: Shift, chars: "\x1b[1;2Q" }
- { key: F3, mods: Shift, chars: "\x1b[1;2R" }
- { key: F4, mods: Shift, chars: "\x1b[1;2S" }
- { key: F5, mods: Shift, chars: "\x1b[15;2~" }
- { key: F6, mods: Shift, chars: "\x1b[17;2~" }
- { key: F7, mods: Shift, chars: "\x1b[18;2~" }
- { key: F8, mods: Shift, chars: "\x1b[19;2~" }
- { key: F9, mods: Shift, chars: "\x1b[20;2~" }
- { key: F10, mods: Shift, chars: "\x1b[21;2~" }
- { key: F11, mods: Shift, chars: "\x1b[23;2~" }
- { key: F12, mods: Shift, chars: "\x1b[24;2~" }
- { key: F1, mods: Control, chars: "\x1b[1;5P" }
- { key: F2, mods: Control, chars: "\x1b[1;5Q" }
- { key: F3, mods: Control, chars: "\x1b[1;5R" }
- { key: F4, mods: Control, chars: "\x1b[1;5S" }
- { key: F5, mods: Control, chars: "\x1b[15;5~" }
- { key: F6, mods: Control, chars: "\x1b[17;5~" }
- { key: F7, mods: Control, chars: "\x1b[18;5~" }
- { key: F8, mods: Control, chars: "\x1b[19;5~" }
- { key: F9, mods: Control, chars: "\x1b[20;5~" }
- { key: F10, mods: Control, chars: "\x1b[21;5~" }
- { key: F11, mods: Control, chars: "\x1b[23;5~" }
- { key: F12, mods: Control, chars: "\x1b[24;5~" }
- { key: F1, mods: Alt, chars: "\x1b[1;6P" }
- { key: F2, mods: Alt, chars: "\x1b[1;6Q" }
- { key: F3, mods: Alt, chars: "\x1b[1;6R" }
- { key: F4, mods: Alt, chars: "\x1b[1;6S" }
- { key: F5, mods: Alt, chars: "\x1b[15;6~" }
- { key: F6, mods: Alt, chars: "\x1b[17;6~" }
- { key: F7, mods: Alt, chars: "\x1b[18;6~" }
- { key: F8, mods: Alt, chars: "\x1b[19;6~" }
- { key: F9, mods: Alt, chars: "\x1b[20;6~" }
- { key: F10, mods: Alt, chars: "\x1b[21;6~" }
- { key: F11, mods: Alt, chars: "\x1b[23;6~" }
- { key: F12, mods: Alt, chars: "\x1b[24;6~" }
- { key: F1, mods: Super, chars: "\x1b[1;3P" }
- { key: F2, mods: Super, chars: "\x1b[1;3Q" }
- { key: F3, mods: Super, chars: "\x1b[1;3R" }
- { key: F4, mods: Super, chars: "\x1b[1;3S" }
- { key: F5, mods: Super, chars: "\x1b[15;3~" }
- { key: F6, mods: Super, chars: "\x1b[17;3~" }
- { key: F7, mods: Super, chars: "\x1b[18;3~" }
- { key: F8, mods: Super, chars: "\x1b[19;3~" }
- { key: F9, mods: Super, chars: "\x1b[20;3~" }
- { key: F10, mods: Super, chars: "\x1b[21;3~" }
- { key: F11, mods: Super, chars: "\x1b[23;3~" }
- { key: F12, mods: Super, chars: "\x1b[24;3~" }

View file

@ -1,21 +1,28 @@
#? Config file for bpytop v. 1.0.43
#? Config file for bpytop v. 1.0.63
#* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme.
#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai"
color_theme="nord"
#* If the theme set background should be shown, set to False if you want terminal background transparency
theme_background=False
theme_background=True
#* Set bpytop view mode, "full" for everything shown, "proc" for cpu stats and processes, "stat" for cpu, mem, disks and net stats shown.
view_mode=full
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor=True
#* Manually set which boxes to show. Available values are "cpu mem net proc", seperate values with whitespace.
shown_boxes="cpu mem net proc"
#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
update_ms=2000
#* Processes update multiplier, sets how often the process list is updated as a multiplier of "update_ms".
#* Set to 2 or higher to greatly decrease bpytop cpu usage. (Only integers)
proc_update_mult=2
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
#* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly.
proc_sorting="program"
proc_sorting="cpu lazy"
#* Reverse sorting order, True or False.
proc_reversed=False
@ -38,12 +45,37 @@ proc_per_core=False
#* Show process memory as bytes instead of percent
proc_mem_bytes=True
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_upper="total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_lower="total"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower=True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph=False
#* Shows the system uptime in the CPU box.
show_uptime=True
#* Check cpu temperature, needs "osx-cpu-temp" on MacOS X.
check_temp=True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor=Auto
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found
show_coretemp=True
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine"
temp_scale="celsius"
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
draw_clock="%X"
@ -53,8 +85,8 @@ background_update=True
#* Custom cpu model name, empty string to disable.
custom_cpu_name=""
#* Optional filter for shown disks, should be last folder in path of a mountpoint, "root" replaces "/", separate multiple values with comma.
#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=boot, home"
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with a comma ",".
#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=/boot, /home/user"
disks_filter=""
#* Show graphs instead of meters for memory values.
@ -64,11 +96,30 @@ mem_graphs=True
show_swap=True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk=False
swap_disk=True
#* If mem box should be split to also show disks info.
show_disks=True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical=True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab=False
#* Toggles if io stats should be shown in regular disk usage view
show_io_stat=True
#* Toggles io mode for disks, showing only big graphs for disk read/write speeds.
io_mode=False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined=False
#* Set the top speed for the io graphs in MiB/s (10 by default), use format "device:speed" seperate disks with a comma ",".
#* Example: "/dev/sda:100, /dev/sdb:20"
io_graph_speeds=""
#* Set fixed values for network graphs, default "10M" = 10 Mibibytes, possible units "K", "M", "G", append with "bit" for bits instead of bytes, i.e "100mbit"
net_download="10M"
net_upload="10M"
@ -82,14 +133,17 @@ net_sync=False
#* If the network graphs color gradient should scale to bandwith usage or auto scale, bandwith usage is based on "net_download" and "net_upload" values
net_color_fixed=False
#* Starts with the Network Interface specified here.
net_iface=""
#* Show battery stats in top right if battery is present
show_battery=True
show_battery=False
#* Show init screen at startup, the init screen is purely cosmetical
show_init=True
#* Enable check for new version from github.com/aristocratos/bpytop at start.
update_check=True
update_check=False
#* Set loglevel for "~/.config/bpytop/error.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.

View file

@ -1,6 +0,0 @@
19/10/20 (16:22:23) | ERROR: Exception when sending signal 2 to pid 982
19/10/20 (16:22:23) | ERROR: [Errno 1] Operation not permitted
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/bpytop.py", line 4683, in process_keys
os.kill(pid, sig)
PermissionError: [Errno 1] Operation not permitted

View file

@ -1,161 +0,0 @@
; caja GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/DirViewActions/Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/Start Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/TabsNext" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/DirViewActions/Location Poll" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Trash" "")
; (gtk_accel_path "<Actions>/IconViewActions/Stretch" "")
; (gtk_accel_path "<Actions>/DirViewActions/MoveToMenu" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal")
; (gtk_accel_path "<Actions>/DirViewActions/LocationTrash" "")
; (gtk_accel_path "<Actions>/DirViewActions/RenameSelectAll" "<Shift>F2")
; (gtk_accel_path "<Actions>/ShellActions/About Caja" "")
; (gtk_accel_path "<Actions>/DirViewActions/Undo" "<Primary>z")
; (gtk_accel_path "<Actions>/NavigationActions/Back" "<Alt>Left")
; (gtk_accel_path "<Actions>/DirViewActions/Location Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Format Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/CopyToMenu" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationRestoreFromTrash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Empty Trash" "")
; (gtk_accel_path "<Actions>/ShellActions/Close" "<Primary>w")
; (gtk_accel_path "<Actions>/NavigationActions/Add Bookmark" "<Primary>d")
; (gtk_accel_path "<Actions>/IconViewActions/Manual Layout" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Extra Pane" "F3")
; (gtk_accel_path "<Actions>/DirViewActions/Create Link" "<Primary>m")
; (gtk_accel_path "<Actions>/DirViewActions/LocationDelete" "")
; (gtk_accel_path "<Actions>/DirViewActions/Mount Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Trash Time" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenInNewTab" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication2" "")
; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication1" "")
; (gtk_accel_path "<Actions>/NavigationActions/Folder Window" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Statusbar" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab9" "<Alt>0")
; (gtk_accel_path "<Actions>/ShellActions/Connect to Server" "")
; (gtk_accel_path "<Actions>/ShellActions/Help" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab6" "<Alt>7")
; (gtk_accel_path "<Actions>/NavigationActions/Clear History" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/NavigationActions/Tab8" "<Alt>9")
; (gtk_accel_path "<Actions>/ShellActions/Caja Manual" "F1")
; (gtk_accel_path "<Actions>/NavigationActions/ShowSearch" "<Primary>f")
; (gtk_accel_path "<Actions>/NavigationActions/Tab5" "<Alt>6")
; (gtk_accel_path "<Actions>/NavigationActions/Tab4" "<Alt>5")
; (gtk_accel_path "<Actions>/NavigationActions/Tab3" "<Alt>4")
; (gtk_accel_path "<Actions>/ShellActions/File" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab1" "<Alt>2")
; (gtk_accel_path "<Actions>/NavigationActions/Tab7" "<Alt>8")
; (gtk_accel_path "<Actions>/DirViewActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveRight" "<Primary><Shift>Page_Down")
; (gtk_accel_path "<Actions>/NavigationActions/TabsPrevious" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/ShellActions/Go to Network" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab2" "<Alt>3")
; (gtk_accel_path "<Actions>/ClipboardActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Type" "")
; (gtk_accel_path "<Actions>/ShellActions/View" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Empty File" "")
; (gtk_accel_path "<Actions>/NavigationActions/Tab0" "<Alt>1")
; (gtk_accel_path "<Actions>/DirViewActions/Location Eject Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Unstretch" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Location Bar" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "<Shift><Alt>Down")
; (gtk_accel_path "<Actions>/DirViewActions/Open" "<Primary>o")
; (gtk_accel_path "<Actions>/DirViewActions/Self Format Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/Bookmarks" "")
; (gtk_accel_path "<Actions>/DirViewActions/Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Connect To Server Link" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Reset to Defaults" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenFolderWindow" "")
; (gtk_accel_path "<Actions>/DirViewActions/Paste Files Into" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCut" "")
; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus")
; (gtk_accel_path "<Actions>/DirViewActions/Self Eject Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewNextPane" "F6")
; (gtk_accel_path "<Actions>/ClipboardActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/IconViewActions/Tighter Layout" "")
; (gtk_accel_path "<Actions>/NavigationActions/Edit Bookmarks" "<Primary>b")
; (gtk_accel_path "<Actions>/DirViewActions/LocationCopy" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Copy" "<Primary>c")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAccel" "<Alt>Down")
; (gtk_accel_path "<Actions>/DirViewActions/Open With" "")
; (gtk_accel_path "<Actions>/ShellActions/Edit" "")
; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")
; (gtk_accel_path "<Actions>/DirViewActions/Open Scripts Folder" "")
; (gtk_accel_path "<Actions>/ClipboardActions/Cut" "<Primary>x")
; (gtk_accel_path "<Actions>/NavigationActions/Forward" "<Alt>Right")
; (gtk_accel_path "<Actions>/DirViewActions/New Documents" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go to Location" "<Primary>l")
; (gtk_accel_path "<Actions>/ShellActions/Reload" "<Primary>r")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Home" "")
; (gtk_accel_path "<Actions>/ShellActions/Backgrounds and Emblems" "")
; (gtk_accel_path "<Actions>/DirViewActions/No Templates" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Format Volume" "")
; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/NavigationActions/SplitViewSameLocation" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationPasteFilesInto" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Size" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select All" "<Primary>a")
; (gtk_accel_path "<Actions>/DirViewActions/OpenAlternate" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/ShellActions/Preferences" "")
; (gtk_accel_path "<Actions>/DirViewActions/Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Select Pattern" "<Primary>s")
; (gtk_accel_path "<Actions>/IconViewActions/Reversed Order" "")
; (gtk_accel_path "<Actions>/ShellActions/Go to Computer" "")
; (gtk_accel_path "<Actions>/NavigationActions/Go" "")
; (gtk_accel_path "<Actions>/DirViewActions/Restore From Trash" "")
; (gtk_accel_path "<Actions>/DirViewActions/Location Stop Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationProperties" "")
; (gtk_accel_path "<Actions>/DirViewActions/Rename" "F2")
; (gtk_accel_path "<Actions>/DirViewActions/Redo" "<Primary>y")
; (gtk_accel_path "<Actions>/ShellActions/Go to Templates" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenInNewTab" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Start Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/OpenFolderWindow" "")
; (gtk_accel_path "<Actions>/ShellActions/Show Hidden Files" "<Primary>h")
; (gtk_accel_path "<Actions>/DirViewActions/Stop Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Duplicate" "")
; (gtk_accel_path "<Actions>/DirViewActions/Eject Volume" "")
; (gtk_accel_path "<Actions>/IconViewActions/Clean Up" "")
; (gtk_accel_path "<Actions>/NavigationActions/New Tab" "<Primary>t")
; (gtk_accel_path "<Actions>/ShellActions/Home" "<Alt>Home")
; (gtk_accel_path "<Actions>/NavigationActions/New Window" "<Primary>n")
; (gtk_accel_path "<Actions>/DirViewActions/PropertiesAccel" "<Primary>i")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Modification Date" "")
; (gtk_accel_path "<Actions>/DirViewActions/Save Search As" "")
; (gtk_accel_path "<Actions>/IconViewActions/Keep Aligned" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Launcher" "")
; (gtk_accel_path "<Actions>/NavigationActions/Search" "")
; (gtk_accel_path "<Actions>/DirViewActions/Properties" "<Alt>Return")
; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveLeft" "<Primary><Shift>Page_Up")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Desktop" "")
; (gtk_accel_path "<Actions>/ShellActions/Stop" "")
; (gtk_accel_path "<Actions>/DirViewActions/New Folder" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/DirViewActions/Self Poll" "")
; (gtk_accel_path "<Actions>/DirViewActions/Move to Desktop" "")
; (gtk_accel_path "<Actions>/DirViewActions/Cut" "<Primary>x")
; (gtk_accel_path "<Actions>/DirViewActions/Delete" "")
; (gtk_accel_path "<Actions>/IconViewActions/Sort by Name" "")
; (gtk_accel_path "<Caja-Window>/view_as_2" "<Primary>2")
; (gtk_accel_path "<Caja-Window>/view_as_3" "<Primary>3")
; (gtk_accel_path "<Actions>/DirViewActions/Paste" "<Primary>v")
; (gtk_accel_path "<Actions>/DirViewActions/Invert Selection" "<Primary><Shift>i")
; (gtk_accel_path "<Caja-Window>/view_as_1" "<Primary>1")
; (gtk_accel_path "<Actions>/NavigationActions/Close All Windows" "<Primary>q")
; (gtk_accel_path "<Actions>/IconViewActions/Arrange Items" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Sidebar" "F9")
; (gtk_accel_path "<Actions>/DirViewActions/Self Stop Volume" "")
; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Toolbar" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Mount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to Home" "")
; (gtk_accel_path "<Actions>/DirViewActions/Self Unmount Volume" "")
; (gtk_accel_path "<Actions>/DirViewActions/Copy to next pane" "")
; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenAlternate" "")

165
config/cava/config Normal file
View file

@ -0,0 +1,165 @@
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem'
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
; method = pulse
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; sample_rate = 44100
; sample_bits = 16
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
[output]
# Output method. Can be 'ncurses', 'noncurses' or 'raw'.
# 'noncurses' uses a custom framebuffer technique and draws only changes
# from frame to frame. 'ncurses' is default if supported
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
; method = ncurses
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
; channels = stereo
; mono_option = average
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt.
# if supported, ncurses mode will be forced on if user defined colors are used.
# default is to keep current terminal color
; background = default
; foreground = default
# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
; gradient = 1
; gradient_count = 8
; gradient_color_1 = '#59cc33'
; gradient_color_2 = '#80cc33'
; gradient_color_3 = '#a6cc33'
; gradient_color_4 = '#cccc33'
; gradient_color_5 = '#cca633'
; gradient_color_6 = '#cc8033'
; gradient_color_7 = '#cc5933'
; gradient_color_8 = '#cc3333'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
; ignore = 0
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

View file

@ -1,58 +0,0 @@
## FROM: https://github.com/addy-dclxvi/i3-starterpack
## shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 12;
shadow-offset-x = -12;
shadow-offset-y = -12;
shadow-opacity = 0.95;
shadow-red = 0.18;
shadow-green = 0.20;
shadow-blue = 0.25;
shadow-exclude = [ "class_g = 'Cairo-clock'" ,
"class_g = 'CoverGloobus'",
"class_g = 'Tilda'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Firefox'",
"class_g = 'Firefox-esr'",
"class_g = 'Dmenu'",
"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c"
];
## fading
fading = true;
fade-delta = 0.25;
fade-in-step = 0.02;
fade-out-step = 0.02;
fade-exclude = [
];
## other
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ,
"class_g = 'CoverGloobus'",
"class_g = 'Tilda'",
"class_g = 'Firefox'",
"class_g = 'Firefox-esr'"
];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
};

View file

@ -1,11 +0,0 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=0
GeometryY=152
GeometryWidth=1280
GeometryHeight=800
SortColumn=name
SortOrder=ascending
StartupMode=recent

View file

@ -1,4 +0,0 @@
file:///home/dbroqua/Nextcloud
file:///home/dbroqua/Projects Projects
file:///home/dbroqua/Nextcloud/Photos Photos
file:///home/dbroqua/Pictures

View file

@ -1,8 +1,9 @@
[Settings]
gtk-theme-name=vimix-laptop
gtk-icon-theme-name=Tela
gtk-font-name=DejaVu Sans Mono for Powerline 10
gtk-cursor-theme-name=Breeze_Snow
gtk-application-prefer-dark-theme=1
gtk-theme-name=Nordic
gtk-icon-theme-name=NordArc-Icons
gtk-font-name=Sans 10
gtk-cursor-theme-name=ComixCursors-Opaque-White
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -1 +0,0 @@
limit = 256

View file

@ -1,211 +0,0 @@
version = 2.14.2
away_auto_unmark = 0
away_omit_alerts = 0
away_reason = I'm busy
away_show_once = 1
away_size_max = 300
away_timeout = 60
away_track = 1
completion_amount = 5
completion_auto = 0
completion_sort = 1
completion_suffix = ,
dcc_auto_chat = 0
dcc_auto_recv = 1
dcc_auto_resume = 1
dcc_blocksize = 1024
dcc_completed_dir =
dcc_dir = /home/dbroqua/Downloads
dcc_fast_send = 1
dcc_global_max_get_cps = 0
dcc_global_max_send_cps = 0
dcc_ip =
dcc_ip_from_server = 0
dcc_max_get_cps = 0
dcc_max_send_cps = 0
dcc_permissions = 384
dcc_port_first = 0
dcc_port_last = 0
dcc_remove = 0
dcc_save_nick = 0
dcc_send_fillspaces = 0
dcc_stall_timeout = 60
dcc_timeout = 180
flood_ctcp_num = 5
flood_ctcp_time = 30
flood_msg_num = 5
flood_msg_time = 30
gui_autoopen_chat = 1
gui_autoopen_dialog = 1
gui_autoopen_recv = 1
gui_autoopen_send = 1
gui_chanlist_maxusers = 9999
gui_chanlist_minusers = 5
gui_compact = 0
gui_dialog_height = 256
gui_dialog_left = 0
gui_dialog_top = 0
gui_dialog_width = 500
gui_filesize_iec = 0
gui_focus_omitalerts = 0
gui_hide_menu = 0
gui_input_attr = 1
gui_input_icon = 1
gui_input_nick = 1
gui_input_spell = 1
gui_input_style = 1
gui_join_dialog = 1
gui_lagometer = 1
gui_lang = 15
gui_mode_buttons = 0
gui_pane_divider_position = 0
gui_pane_left_size = 128
gui_pane_right_size = 100
gui_pane_right_size_min = 80
gui_quit_dialog = 1
gui_search_pos = 0
gui_slist_fav = 0
gui_slist_select = 30
gui_slist_skip = 0
gui_tab_chans = 1
gui_tab_dialogs = 1
gui_tab_dots = 0
gui_tab_icons = 1
gui_tab_layout = 2
gui_tab_middleclose = 1
gui_tab_newtofront = 2
gui_tab_pos = 1
gui_tab_scrollchans = 0
gui_tab_server = 1
gui_tab_small = 0
gui_tab_sort = 1
gui_tab_trunc = 20
gui_tab_utils = 0
gui_throttlemeter = 1
gui_topicbar = 1
gui_transparency = 255
gui_tray = 1
gui_tray_away = 0
gui_tray_blink = 1
gui_tray_close = 1
gui_tray_minimize = 0
gui_tray_quiet = 0
gui_ulist_buttons = 0
gui_ulist_color = 0
gui_ulist_count = 1
gui_ulist_doubleclick = QUERY %s
gui_ulist_hide = 0
gui_ulist_icons = 1
gui_ulist_pos = 3
gui_ulist_show_hosts = 0
gui_ulist_sort = 0
gui_ulist_style = 1
gui_url_mod = 0
gui_usermenu = 0
gui_win_height = 767
gui_win_fullscreen = 0
gui_win_left = 0
gui_win_modes = 0
gui_win_save = 1
gui_win_state = 0
gui_win_swap = 0
gui_win_top = 14
gui_win_ucount = 0
gui_win_width = 1280
identd_server = 0
identd_port = 0
input_balloon_chans = 0
input_balloon_hilight = 0
input_balloon_priv = 0
input_beep_chans = 0
input_beep_hilight = 0
input_beep_priv = 0
input_command_char = /
input_filter_beep = 1
input_flash_chans = 0
input_flash_hilight = 1
input_flash_priv = 1
input_perc_ascii = 0
input_perc_color = 0
input_tray_chans = 0
input_tray_hilight = 1
input_tray_priv = 1
irc_auto_rejoin = 0
irc_reconnect_rejoin = 1
irc_ban_type = 1
irc_cap_server_time = 1
irc_conf_mode = 0
irc_extra_hilight =
irc_hide_nickchange = 0
irc_hide_version = 0
irc_hidehost = 0
irc_id_ntext =
irc_id_ytext =
irc_invisible = 0
irc_join_delay = 5
irc_logging = 1
irc_logmask = %n/%c.log
irc_nick1 = DarKou
irc_nick2 = DarKou_
irc_nick3 = dbroqua__
irc_nick_hilight =
irc_no_hilight = NickServ,ChanServ,InfoServ,N,Q
irc_notice_pos = 0
irc_part_reason = Leaving
irc_quit_reason = Leaving
irc_raw_modes = 0
irc_real_name = realname
irc_servernotice = 0
irc_skip_motd = 0
irc_user_name = dbroqua
irc_wallops = 0
irc_who_join = 1
irc_whois_front = 1
net_auto_reconnect = 1
net_auto_reconnectonfail = 0
net_bind_host =
net_ping_timeout = 60
net_proxy_auth = 0
net_proxy_host =
net_proxy_pass =
net_proxy_port = 0
net_proxy_type = 0
net_proxy_use = 0
net_proxy_user =
net_reconnect_delay = 10
net_throttle = 1
notify_timeout = 15
notify_whois_online = 0
perl_warnings = 0
stamp_log = 1
stamp_log_format = %b %d %H:%M:%S
stamp_text = 1
stamp_text_format = [%H:%M:%S]
text_autocopy_color = 0
text_autocopy_stamp = 0
text_autocopy_text = 1
text_background =
text_color_nicks = 0
text_font = Monospace 9
text_font_main = Monospace 9
text_font_alternative = Arial Unicode MS,Segoe UI Emoji,Lucida Sans Unicode,Meiryo,Symbola,Unifont
text_indent = 1
text_max_indent = 256
text_max_lines = 5000
text_replay = 1
text_search_case_match = 0
text_search_highlight_all = 0
text_search_follow = 1
text_search_regexp = 0
text_show_marker = 1
text_show_sep = 1
text_spell_langs = en_US
text_stripcolor_msg = 0
text_stripcolor_replay = 1
text_stripcolor_topic = 1
text_thin_sep = 1
text_transparent = 0
text_wordwrap = 1
url_grabber = 1
url_grabber_limit = 100
url_logging = 0

View file

@ -1,7 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 21:59:43 2020
May 03 21:59:43 Perl interface loaded
May 03 21:59:43 Checksum plugin loaded
May 03 21:59:43 FiSHLiM plugin loaded
May 03 21:59:43 Sysinfo plugin loaded
May 03 21:59:43 Python interface loaded

View file

@ -1,13 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 22:02:36 2020
May 03 22:02:36 * Now talking on #debian-facile
May 03 22:02:36 * Topic for #debian-facile is: Debian-Facile, salon d'entraide | Asso/forum/doc: http://debian-facile.org | Hors-Sujet: #df-offtopic | Collage: http://debian-facile.org/paste | Activité/flood: #df-flood || Staff DF voicé
May 03 22:02:36 * Topic for #debian-facile set by captnfab!~captnfab@unaffiliated/captnfab (Sun Apr 19 22:11:25 2020)
May 03 22:02:36 -ChanServ- [#debian-facile] Entraide pour Debian | IRC≠hotline, ATTENDEZ ! | Asso, forum, doc: https://debian-facile.org/ | Collage, logs (publics) IRC du salon: https://debian-facile.org/portail-outils.php | Log forum/wiki/git: #df-flood || Staff DF voicé
May 03 22:02:36 * Channel #debian-facile url: http://debian-facile.org/
May 03 22:06:44 * Xubl0f has quit (Quit: Leaving)
May 03 22:09:34 * Xubl0f (~memory@45.162.228.187) has joined
May 03 22:11:01 Python interface unloaded
May 03 22:11:01 FiSHLiM plugin unloaded
**** ENDING LOGGING AT Sun May 3 22:11:01 2020

View file

@ -1,9 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 21:59:59 2020
May 03 21:59:59 * Now talking on #paulla
May 03 21:59:59 * Topic for #paulla is: PauLLA | Pau Logiciels Libres Association | https://www.paulla.asso.fr | PauLLa a 20 ans ! | Un élève de l'EISTI a aimé: "L'intervention du DSI des pompiers" -> dam64
May 03 21:59:59 * Topic for #paulla set by jpcw!~jpcw@hermes.camguilhem.net (Wed Oct 23 21:15:14 2019)
May 03 22:00:00 * Channel #paulla url: http://www.paulla.asso.fr
May 03 22:00:16 * ChanServ gives voice to DarKou
**** ENDING LOGGING AT Sun May 3 22:11:01 2020

View file

@ -1,22 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 21:59:43 2020
May 03 21:59:43 * Connecting to chat.freenode.net (204.225.96.251:6697)
May 03 21:59:44 * * Subject: /O=Digital Signature Trust Co./CN=DST Root CA X3
May 03 21:59:44 * * Issuer: /O=Digital Signature Trust Co./CN=DST Root CA X3
May 03 21:59:44 * * Subject: /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
May 03 21:59:44 * * Issuer: /O=Digital Signature Trust Co./CN=DST Root CA X3
May 03 21:59:44 * * Subject: /CN=tolkien.freenode.net
May 03 21:59:44 * * Issuer: /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
May 03 21:59:44 * * Certification info:
May 03 21:59:44 * Subject:
May 03 21:59:44 * CN=tolkien.freenode.net
May 03 21:59:44 * Issuer:
May 03 21:59:44 * C=US
May 03 21:59:44 * O=Let's Encrypt
May 03 21:59:44 * CN=Let's Encrypt Authority X3
May 03 21:59:44 * Public key algorithm: rsaEncryption (4096 bits)
May 03 21:59:44 * Sign algorithm sha256WithRSAEncryption
May 03 21:59:44 * Valid since Apr 6 05:02:46 2020 GM to Jul 5 05:02:46 2020 GM
May 03 21:59:44 * * Cipher info:
May 03 21:59:44 * Version: TLSv1.3, cipher TLS_AES_256_GCM_SHA384 (256 bits)
May 03 21:59:44 * Connected. Now logging in.

View file

@ -1,79 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 21:59:45 2020
May 03 21:59:45 * *** Looking up your hostname...
May 03 21:59:45 * *** Checking Ident
May 03 21:59:45 * *** Found your hostname
May 03 21:59:49 * *** No Ident response
May 03 21:59:49 * Capabilities supported: account-notify away-notify cap-notify chghost extended-join identify-msg multi-prefix sasl tls
May 03 21:59:49 * Capabilities requested: account-notify away-notify cap-notify chghost extended-join identify-msg multi-prefix
May 03 21:59:49 * Capabilities acknowledged: account-notify away-notify cap-notify chghost extended-join identify-msg multi-prefix
**** ENDING LOGGING AT Sun May 3 21:59:49 2020
**** BEGIN LOGGING AT Sun May 3 21:59:49 2020
May 03 21:59:49 * Welcome to the freenode Internet Relay Chat Network DarKou
May 03 21:59:49 * Your host is tolkien.freenode.net[204.225.96.251/6697], running version ircd-seven-1.1.9
May 03 21:59:49 * This server was created Fri Apr 24 2020 at 22:19:21 UTC
May 03 21:59:49 * tolkien.freenode.net ircd-seven-1.1.9 DOQRSZaghilopsuwz CFILMPQSbcefgijklmnopqrstuvz bkloveqjfI
May 03 21:59:49 * CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstuz CHANLIMIT=#:120 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=freenode STATUSMSG=@+ CALLERID=g CASEMAPPING=rfc1459 :are supported by this server
May 03 21:59:49 * CHARSET=ascii NICKLEN=16 CHANNELLEN=50 TOPICLEN=390 DEAF=D FNC TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: EXTBAN=$,ajrxz CLIENTVER=3.0 SAFELIST ELIST=CTU KNOCK :are supported by this server
May 03 21:59:49 * WHOX ETRACE CPRIVMSG CNOTICE MONITOR=100 :are supported by this server
May 03 21:59:49 * There are 96 users and 84365 invisible on 31 servers
May 03 21:59:49 * 34 :IRC Operators online
May 03 21:59:49 * 32 :unknown connection(s)
May 03 21:59:49 * 43446 :channels formed
May 03 21:59:49 * I have 3633 clients and 1 servers
May 03 21:59:49 * 3633 4695 :Current local users 3633, max 4695
May 03 21:59:49 * 84461 87645 :Current global users 84461, max 87645
May 03 21:59:49 * Highest connection count: 4696 (4695 clients) (99183 connections received)
May 03 21:59:49 * - tolkien.freenode.net Message of the Day -
May 03 21:59:49 * - Welcome to tolkien.freenode.net in Sanford, NC, US. Thanks to
May 03 21:59:49 * - https://travelingmailbox.com/ for sponsoring this server
May 03 21:59:49 * - Welcome to freenode - supporting the free and open source
May 03 21:59:49 * - software communities since 1998.
May 03 21:59:49 * -
May 03 21:59:49 * - By connecting to freenode you indicate that you have read and
May 03 21:59:49 * - accept our policies and guidelines as set out on https://freenode.net
May 03 21:59:49 * -
May 03 21:59:49 * - In the event that you observe behaviour that contravenes our policies,
May 03 21:59:49 * - please notify a volunteer staff member via private message, or send us an
May 03 21:59:49 * - e-mail to complaints@freenode.net -- we will do our best to address the
May 03 21:59:49 * - situation within a reasonable period of time, and we may request further
May 03 21:59:49 * - information or, as appropriate, involve other parties such as channel operators
May 03 21:59:49 * - Group Contacts representing an on-topic group.
May 03 21:59:49 * -
May 03 21:59:49 * - freenode runs an open proxy scanner.
May 03 21:59:49 * -
May 03 21:59:49 * - If you are looking for assistance, you may be able to find a list of
May 03 21:59:49 * - volunteer staff on '/stats p' (shows only on-call staff) or by joining
May 03 21:59:49 * - #freenode and using the '/who freenode/staff/*' command. You may message
May 03 21:59:49 * - any of us at any time. Please note that freenode predominantly provides
May 03 21:59:49 * - assistance via private message, and while we have a network channel the
May 03 21:59:49 * - primary venue for support requests is via private message to a member
May 03 21:59:49 * - of the volunteer staff team.
May 03 21:59:49 * -
May 03 21:59:49 * - From time to time, volunteer staff may send server-wide notices relating to
May 03 21:59:49 * - the project, or the communities that we host. The majority of such notices
May 03 21:59:49 * - will be sent as wallops, and you can '/mode <yournick> +w' to ensure that you
May 03 21:59:49 * - do not miss them. Important messages relating to the freenode project, including
May 03 21:59:49 * - notices of upcoming maintenance and other scheduled downtime will be issued as
May 03 21:59:49 * - global notices.
May 03 21:59:49 * -
May 03 21:59:49 * - Representing an on-topic project? Don't forget to register, more information
May 03 21:59:49 * - can be found on the https://freenode.net website under "Group Registration".
May 03 21:59:50 * -
May 03 21:59:50 * - Thank you also to our server sponsors for the sustained support in keeping the
May 03 21:59:50 * - network going for close to two decades.
May 03 21:59:50 * -
May 03 21:59:50 * - Thank you for using freenode!
May 03 21:59:50 * End of /MOTD command.
May 03 21:59:50 * DarKou sets mode +Z on DarKou
May 03 21:59:50 * DarKou sets mode +i on DarKou
May 03 21:59:50 -NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
May 03 22:00:15 >nickserv< identify ****
May 03 22:00:16 -NickServ- You are now identified for DarKou.
May 03 22:11:01 Sysinfo plugin unloaded
May 03 22:11:01 Checksum plugin unloaded
May 03 22:11:01 Perl interface unloaded
**** ENDING LOGGING AT Sun May 3 22:11:01 2020

View file

@ -1,3 +0,0 @@
**** BEGIN LOGGING AT Sun May 3 21:59:43 2020
May 03 21:59:43 * Looking up chat.freenode.net

View file

@ -1,9 +0,0 @@
T 1588536156 19* Now talking on 22#debian-facile
T 1588536156 22* Topic for 22#debian-facile is: Debian-Facile, salon d'entraide | Asso/forum/doc: http://debian-facile.org | Hors-Sujet: #df-offtopic | Collage: http://debian-facile.org/paste | Activité/flood: #df-flood || Staff DF voicé
T 1588536156 22* Topic for 22#debian-facile set by 26captnfab!~captnfab@unaffiliated/captnfab (24Sun Apr 19 22:11:25 2020)
T 1588536156 -18ChanServ- [#debian-facile] Entraide pour Debian | IRC≠hotline, ATTENDEZ ! | Asso, forum, doc: https://debian-facile.org/ | Collage, logs (publics) IRC du salon: https://debian-facile.org/portail-outils.php | Log forum/wiki/git: #df-flood || Staff DF voicé
T 1588536156 22* Channel 22#debian-facile url: 24http://debian-facile.org/
T 1588536404 24* Xubl0f has quit (Quit: Leaving)
T 1588536574 23* Xubl0f (~memory@45.162.228.18723) has joined
T 1588536661 Python interface unloaded
T 1588536661 FiSHLiM plugin unloaded

View file

@ -1,5 +0,0 @@
T 1588535999 19* Now talking on 22#paulla
T 1588535999 22* Topic for 22#paulla is: PauLLA | Pau Logiciels Libres Association | https://www.paulla.asso.fr | PauLLa a 20 ans ! | Un élève de l'EISTI a aimé: "L'intervention du DSI des pompiers" -> dam64
T 1588535999 22* Topic for 22#paulla set by 26jpcw!~jpcw@hermes.camguilhem.net (24Wed Oct 23 21:15:14 2019)
T 1588536000 22* Channel 22#paulla url: 24http://www.paulla.asso.fr
T 1588536016 22* 26ChanServ gives voice to 18DarKou

View file

@ -1,571 +0,0 @@
v=2.14.2
N=2600net
E=UTF-8 (Unicode)
F=19
D=0
S=irc.2600.net
N=2ch
E=iso-2022-jp
F=19
D=0
S=irc.2ch.sc
S=irc.nurs.or.jp
S=irc.juggler.jp
N=AccessIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.accessirc.net
N=AfterNET
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.afternet.org
N=Aitvaras
E=UTF-8 (Unicode)
F=19
D=0
S=irc.data.lt/+6668
S=irc.omnitel.net/+6668
S=irc.ktu.lt/+6668
S=irc.kis.lt/+6668
S=irc.vub.lt/+6668
S=irc.data.lt
S=irc.omnitel.net
S=irc.ktu.lt
S=irc.kis.lt
S=irc.vub.lt
N=Anthrochat
E=UTF-8 (Unicode)
F=23
D=0
S=irc.anthrochat.net
N=ARCNet
E=UTF-8 (Unicode)
F=19
D=0
S=arcnet-irc.org
N=AustNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.austnet.org
N=AzzurraNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.azzurra.org
N=BetaChat
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.betachat.net
N=BuddyIM
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.buddy.im
N=Canternet
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.canternet.org
N=Chat4all
E=UTF-8 (Unicode)
F=23
D=0
S=irc.chat4all.org
N=ChatJunkies
E=UTF-8 (Unicode)
F=19
D=0
S=irc.chatjunkies.org
N=ChatNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.chatnet.org
N=ChatSpike
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.chatspike.net
N=ChattingAway
E=UTF-8 (Unicode)
F=19
D=0
S=irc.chattingaway.com
N=Criten
E=UTF-8 (Unicode)
F=19
D=0
S=irc.criten.net
N=DALnet
L=2
E=UTF-8 (Unicode)
F=19
D=0
S=us.dal.net
N=DarkMyst
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.darkmyst.org
N=Dark-Tou-Net
E=UTF-8 (Unicode)
F=19
D=0
S=irc.d-t-net.de
N=DeltaAnime
E=UTF-8 (Unicode)
F=19
D=0
S=irc.deltaanime.net
N=EFnet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.choopa.net
S=irc.paraphysics.net
S=efnet.port80.se
S=irc.underworld.no
S=irc.inet.tele.dk
N=ElectroCode
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.electrocode.net
N=EnterTheGame
E=UTF-8 (Unicode)
F=19
D=0
S=irc.enterthegame.com
N=EntropyNet
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.entropynet.net
N=EsperNet
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.esper.net
N=EUIrc
E=UTF-8 (Unicode)
F=19
D=0
S=irc.euirc.net
N=EuropNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.europnet.org
N=FDFNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.fdfnet.net
N=freenode
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=chat.freenode.net
S=irc.freenode.net
N=Furnet
E=UTF-8 (Unicode)
F=23
D=0
S=irc.furnet.org
N=GalaxyNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.galaxynet.org
N=GameSurge
E=UTF-8 (Unicode)
F=19
D=0
S=irc.gamesurge.net
N=GeeksIRC
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.geeksirc.net
N=GeekShed
E=UTF-8 (Unicode)
F=23
D=0
S=irc.geekshed.net
N=German-Elite
E=CP1252
F=19
D=0
S=irc.german-elite.net
N=GIMPNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.gimp.org
S=irc.gnome.org
N=GlobalGamers
E=UTF-8 (Unicode)
F=19
D=0
S=irc.globalgamers.net/+6660
S=irc.globalgamers.net
N=Hashmark
E=UTF-8 (Unicode)
F=19
D=0
S=irc.hashmark.net
N=IdleMonkeys
E=UTF-8 (Unicode)
F=19
D=0
S=irc.idlemonkeys.net
N=IndirectIRC
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.indirectirc.com
N=Interlinked
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.interlinked.me
N=IRC4Fun
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.irc4fun.net
N=IRCHighWay
E=UTF-8 (Unicode)
F=23
D=0
S=irc.irchighway.net
N=IRCNet
E=UTF-8 (Unicode)
F=19
D=0
S=open.ircnet.net
N=Irctoo.net
E=UTF-8 (Unicode)
F=19
D=0
S=irc.irctoo.net
N=iZ-smart.net
E=CP1252
F=19
D=0
S=irc.iz-smart.net
N=KBFail
E=UTF-8 (Unicode)
F=19
D=0
S=irc.kbfail.net
N=Krstarica
E=UTF-8 (Unicode)
F=19
D=0
S=irc.krstarica.com
N=LibraIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.librairc.net
N=LinkNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.link-net.org/+7000
N=MindForge
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.mindforge.org
N=MIXXnet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.mixxnet.net
N=Moznet
E=UTF-8 (Unicode)
F=23
D=0
S=irc.mozilla.org
N=ObsidianIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.obsidianirc.net
N=Oceanius
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.oceanius.com
N=OFTC
E=UTF-8 (Unicode)
F=23
D=0
S=irc.oftc.net
N=OtherNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.othernet.org
N=OzNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.oz.org
N=PIRC.PL
E=UTF-8 (Unicode)
F=23
D=0
S=irc.pirc.pl
N=PonyChat
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.ponychat.net
N=PTNet.org
E=UTF-8 (Unicode)
F=19
D=0
S=uevora.ptnet.org
S=vianetworks.ptnet.org
N=QuakeNet
L=8
E=UTF-8 (Unicode)
F=19
D=0
S=irc.quakenet.org
N=Rizon
E=UTF-8 (Unicode)
F=23
D=0
S=irc.rizon.net
N=RusNet
E=KOI8-R (Cyrillic)
F=19
D=0
S=irc.tomsk.net
S=irc.run.net
S=irc.ru
S=irc.lucky.net
N=SceneNet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.scene.org
N=SeilEn.de
E=CP1252
F=19
D=0
S=irc.seilen.de
N=Serenity-IRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.serenity-irc.net
N=SlashNET
E=UTF-8 (Unicode)
F=19
D=0
S=irc.slashnet.org
N=Snoonet
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.snoonet.org
N=Sohbet.Net
E=CP1254
F=19
D=0
S=irc.sohbet.net
N=SolidIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.solidirc.com
N=SorceryNet
L=6
E=UTF-8 (Unicode)
F=19
D=0
S=irc.sorcery.net
N=SpotChat
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.spotchat.org
N=StarChat
E=UTF-8 (Unicode)
F=19
D=0
S=irc.starchat.net
N=Station51
E=UTF-8 (Unicode)
F=19
D=0
S=irc.station51.net
N=StormBit
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.stormbit.net
N=SwiftIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.swiftirc.net
N=synIRC
E=UTF-8 (Unicode)
F=19
D=0
S=irc.synirc.net
N=Techtronix
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.techtronix.net
N=TURLINet
E=UTF-8 (Unicode)
F=23
D=0
S=irc.servx.ru
N=UnderNet
L=9
E=UTF-8 (Unicode)
F=19
D=0
S=us.undernet.org
C=MSG x@channels.undernet.org login %u %p
N=UniBG
L=9
E=CP1251
F=19
D=0
S=irc.lirex.com
S=irc.naturella.com
S=irc.techno-link.com
C=MSG NS IDENTIFY %p
N=Worldnet
E=UTF-8 (Unicode)
F=19
D=0
S=irc.worldnet.net
N=Xertion
L=6
E=UTF-8 (Unicode)
F=23
D=0
S=irc.xertion.org

View file

@ -1,7 +1,7 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=47
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
@ -16,11 +16,14 @@ tree_view=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_zero=0
show_cpu_usage=1
show_cpu_frequency=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
left_meters=AllCPUs
left_meter_modes=1
right_meters=Hostname Tasks LoadAverage Uptime Battery Blank Memory Swap
right_meter_modes=2 2 2 2 2 2 1 1
left_meters=Hostname Tasks Blank Blank LeftCPUs4 Memory
left_meter_modes=2 2 2 2 1 1
right_meters=Clock Uptime LoadAverage Blank RightCPUs4 Swap
right_meter_modes=2 2 2 2 1 1

View file

@ -1,303 +0,0 @@
# i3 Config
# -------------------------------------------------------------------------------------------------
# VARIABLES
#
# Default modifier
set $mod Mod4
# Workspaces names
set $wksp1 "1: Main"
set $wksp2 "2: Dev"
set $wksp3 "3: Social"
set $wksp4 "4: Music"
set $wksp5 "5: Graphics"
set $wksp6 "6: Minecraft"
set $wksp7 "7: Remote"
set $wksp8 "8"
set $wksp9 "9: Databases"
set $wksp10 "10: External"
# Colors (Nord's theme)
set $nord0 #2E3440
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
# Modal
set $modalBorder 4
set $modalWidth 1280
set $modalHeight 800
# Font
set $font DejaVu Sans Mono 9
# Terminal
set $terminal /usr/bin/i3-sensible-terminal
# Border
default_border pixel 4
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# Default font
font pango:$font
# -------------------------------------------------------------------------------------------------
# WINDOW FOCUS/SPLIT/MOVE
#
# change focus (VIM mod)
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
bindsym $mod+backslash split h
# split in vertical orientation
bindsym $mod+minus split v
# enter fullscreen mode for the focused container
bindsym $mod+Mod1+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# -------------------------------------------------------------------------------------------------
# WORKSPACES
#
workspace $wksp9 output DP-2-2
workspace $wksp10 output DP-2-2
# switch to workspace
bindsym $mod+1 workspace $wksp1
bindsym $mod+2 workspace $wksp2
bindsym $mod+3 workspace $wksp3
bindsym $mod+4 workspace $wksp4
bindsym $mod+5 workspace $wksp5
bindsym $mod+6 workspace $wksp6
bindsym $mod+7 workspace $wksp7
bindsym $mod+8 workspace $wksp8
bindsym $mod+9 workspace $wksp9
bindsym $mod+0 workspace $wksp10
# switch to previous/next workspace
bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $wksp1
bindsym $mod+Shift+2 move container to workspace $wksp2
bindsym $mod+Shift+3 move container to workspace $wksp3
bindsym $mod+Shift+4 move container to workspace $wksp4
bindsym $mod+Shift+5 move container to workspace $wksp5
bindsym $mod+Shift+6 move container to workspace $wksp6
bindsym $mod+Shift+7 move container to workspace $wksp7
bindsym $mod+Shift+8 move container to workspace $wksp8
bindsym $mod+Shift+9 move container to workspace $wksp9
bindsym $mod+Shift+0 move container to workspace $wksp10
# move focused container to previous/next workspace
bindsym Mod1+Shift+Control+a move container to workspace prev
bindsym Mod1+Shift+Control+d move container to workspace next
# -------------------------------------------------------------------------------------------------
# RELOAD / RESTART / EXIT
#
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "~/Bin/i3quit.sh"
# -------------------------------------------------------------------------------------------------
# RESIZE MODE
#
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# -------------------------------------------------------------------------------------------------
# COLORS
#
#colors border back text indicator child_border
client.focused $nord9 $nord9 $nord0 $nord9 $nord9
client.focused_inactive $nord0 $nord0 $nord9 $nord0 $nord0
client.unfocused $nord0 $nord0 $nord9 $nord0 $nord0
client.urgent $nord13 $nord13 $nord0 $nord13 $nord13
client.placeholder $nord13 $nord13 $nord0 $nord13 $nord13
client.background $nord9
# -------------------------------------------------------------------------------------------------
# I3STATUS
#
#bar {
# status_command py3status
## position top
## mode dock
## modifier $mod
# colors {
# background $nord0
# statusline $nord9
# focused_workspace $nord0 $nord9
# active_workspace $nord0 $nord9
# inactive_workspace $nord9 $nord0
# urgent_workspace $nord0 $nord13
# }
#}
# -------------------------------------------------------------------------------------------------
# AUTOSTART
#
exec --no-startup-id i3-msg 'exec blueman-applet &'
#exec --no-startup-id i3-msg 'exec pasystray &'
exec --no-startup-id i3-msg 'exec nm-applet &'
exec --no-startup-id i3-msg 'exec nextcloud &'
exec --no-startup-id i3-msg 'exec remmina -i &'
exec --no-startup-id xsettingsd &
exec --no-startup-id setxkbmap -option compose:rctrl &
exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id i3-msg exec "$terminal"
exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
exec_always --no-startup-id ~/.config/i3/polybar.sh &
# -------------------------------------------------------------------------------------------------
# WALLPAPER
#
exec --no-startup-id ~/Bin/wallpaper.sh
# -------------------------------------------------------------------------------------------------
# Default workspace layout
#
workspace_layout tabbed
# -------------------------------------------------------------------------------------------------
# BIND KEYS APPS
#
# kill focused window
bindsym $mod+Shift+q kill
bindsym Control+q kill
# start Finder
bindsym Mod1+space exec "rofi -show combi"
# start a terminal
bindsym $mod+Return exec "$terminal"
# Lock session
bindsym $mod+Mod1+l exec "~/Bin/lock.sh"
# File browser
bindsym $mod+f exec "$terminal -T 'File Browser' -e ranger"
# Disk usage
bindsym $mod+Shift+f exec "terminator -T 'Ncdu' -x ncdu ~/ --color=dark"
# Find file in user directory
bindsym $mod+x exec "rofi -modi 'find:~/.local/share/rofi/finder.sh' -show find"
# Show top
bindsym $mod+t exec "$terminal -T 'Top' -e bpytop"
# Display
bindsym $mod+p exec "~/Bin/screenlayoutrofi.sh"
bindsym XF86Display exec ~/Bin/screenlayoutrofi.sh
# Multimedia keys
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 2` toggle
bindsym $mod+shift+p exec "$terminal -T 'Pulse Mixer' -e pulsemixer"
# Screen brighness
bindsym XF86MonBrightnessDown exec --no-startup-id ~/Bin/brightness.sh down
bindsym XF86MonBrightnessUp exec --no-startup-id ~/Bin/brightness.sh up
# Multimedia
bindsym XF86AudioPlay exec ~/Bin/music.sh PlayPause
bindsym XF86AudioPrev exec ~/Bin/music.sh Previous
bindsym XF86AudioNext exec ~/Bin/music.sh Next
# Take Screenshot
#bindsym Print exec ~/Bin/screenshooter.sh
bindsym $mod+Print exec ~/Bin/slip
# Based on https://www.reddit.com/r/i3wm/comments/j8ufof/screenshot_script/
bindsym --release Shift+Print exec "scrot -s -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'"
bindsym --release Print exec "scrot -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'"
# Calendar
bindsym $mod+c exec "$terminal -T 'Calendar' -e khal interactive"
# Note
bindsym $mod+n exec "zettlr"
# -------------------------------------------------------------------------------------------------
# APP DEFAULT POSITION/DECORATIONS
#
for_window [class="Spotify"], move container to workspace $wksp4
for_window [class="X-terminal-emulator" title="Calendar"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="X-terminal-emulator" title="File Browser"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="X-terminal-emulator" title="Pulse Mixer"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="X-terminal-emulator" title="Ncdu"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="X-terminal-emulator" title="Top"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="JViewer"] floating enable border pixel $modalBorder
# -------------------------------------------------------------------------------------------------
# OTHER STUFF
#
# Power save mode and Auto lock screen
exec --no-startup-id xset s 300 30
exec --no-startup-id xset dpms 120
exec --no-startup-id xss-lock -n ~/Bin/lock.sh

View file

@ -1,10 +0,0 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch polybar
polybar bottom &

View file

@ -1,156 +0,0 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
#general {
# output_format = "i3bar"
# colors = true
# interval = 5
# separator = "❱"
#}
general {
colors = true
interval = 3
color_good = "#A3BE8C"
separator = True
color_bad = "#BF616A"
color_degraded = "#B48EAD"
}
#order += "disk /"
order += "disk /home"
order += "vpn_status"
order += "wifi"
#order += "wireless _first_"
order += "ethernet _first_"
order += "battery_level"
order += "external_script logitech_battery_level"
order += "external_script lcd_brightness"
#order += "sysdata base"
#order += "sysdata temp"
#order += "nvidia_temp"
#order += "uptime"
order += "volume master"
order += "external_script bluetooth_headphones_status"
order += "static_string prev"
order += "external_script spotify"
order += "static_string next"
#order += "static_string screenshot"
order += "tztime local"
# System
#
uptime {
format = "up: {days}d {hours}h {minutes}m"
}
battery_level {
battery_id = all
charging_character=""
blocks=""
format = "{icon} {percent}%"
}
external_script logitech_battery_level {
cache_timeout = 10
format = " {output}"
script_path = '~/Bin/mouse_battery.sh read 2>/dev/null'
}
sysdata base{
format = " CPU: {cpu_usage}%, MEM: {mem_used_percent}%"
}
sysdata temp{
format = "CPU: {cpu_temp}°C"
}
tztime local {
format = " %m/%d %H:%M:%S"
}
# Network
#
vpn_status {
format = " VPN: {name}|"
pidfile = "/sys/class/net/tun0/dev_id"
check_pid = "true"
}
wifi {
# format = " {ip} ({ssid} {signal_percent}{icon} {bitrate})"
format_up = " {ssid} {signal_percent}{icon} {bitrate}"
format_down = " -"
}
wireless _first_ {
format_up = " %ip (%essid)"
format_down = " -"
}
ethernet _first_ {
# format_up = " %ip (%speed)"
format_up = " %speed"
format_down = " -"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
# Filesystem
#
disk "/" {
format = " / %percentage_free"
on_click 1 = "exec --no-startup-id caja /"
}
disk "/home" {
format = " /home %percentage_free"
on_click 1 = "exec --no-startup-id caja ~/"
}
# Display
#
external_script lcd_brightness {
cache_timeout = 10
format = " {output}%"
script_path = '~/Bin/brightness.sh read 2>/dev/null'
}
# Music
#
external_script bluetooth_headphones_status {
cache_timeout = 10
format = " {output}"
script_path = '~/Bin/bluetooth_headphones_status.sh'
on_click 1 = "exec --no-startup-id ~/Bin/bluetooth_headphones_status.sh toggle_profile"
}
volume master {
format = "♪ %volume"
format_muted = "♪ muted"
device = "default"
mixer = "Master"
mixer_idx = 0
}
static_string prev {
format = ""
# on_click 1 = "exec --no-startup-id qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
on_click 1 = "exec --no-startup-id ~/Bin/music.sh Previous"
}
static_string next {
format = ""
# on_click 1 = "exec --no-startup-id qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
on_click 1 = "exec --no-startup-id ~/Bin/music.sh Next"
}
external_script spotify {
cache_timeout = 10
format = "{output}"
script_path = "~/Bin/nowPlaying.sh"
# script_path = 'pidof spotify >/dev/null && echo " "$(qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep "^xesam:\(title\|artist\):" | grep -o " .*" | column | sed "s/\t\+/:/g") || (echo "")'
# on_click 1 = "exec --no-startup-id pidof spotify && qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
on_click 1 = "exec --no-startup-id ~/Bin/music.sh PlayPause"
}
# Tools
#
static_string screenshot {
format = ""
on_click 1 = "exec --no-startup-id ~/Bin/screenshooter.sh"
}

View file

@ -19,7 +19,7 @@ preferred_phone_number_type = pref, cell, home
preferred_email_address_type = pref, home, work
[vcard]
private_objects =
private_objects = Jabber, Skype, Twitter
preferred_version = 3.0
search_in_source_files = no
skip_unparsable = no

View file

@ -1,2 +1,2 @@
gesture: swipe right 3 xdotool key alt+ctrl+d
gesture: swipe left 3 xdotool key alt+ctrl+a
gesture: swipe right 3 swaymsg -t command workspace next_on_output
gesture: swipe left 3 swaymsg -t command workspace prev_on_output

18
config/mako/config Normal file
View file

@ -0,0 +1,18 @@
layer=top
font=Droid Sans Mono Slashed for Powerline 9
max-visible=5
anchor=top-right
width=400
height=150
margin=20
border-size=2
border-radius=10
max-icon-size=32
background-color=#4c566add
text-color=#d8dee9
border-color=#434c5e
default-timeout=10000
ignore-timeout=1

View file

@ -1,33 +0,0 @@
[Default Applications]
x-scheme-handler/http=userapp-Firefox-9USLJ0.desktop
x-scheme-handler/https=userapp-Firefox-9USLJ0.desktop
x-scheme-handler/ftp=userapp-Firefox-9USLJ0.desktop
x-scheme-handler/chrome=userapp-Firefox-9USLJ0.desktop
text/html=userapp-Firefox-9USLJ0.desktop
application/x-extension-htm=userapp-Firefox-9USLJ0.desktop
application/x-extension-html=userapp-Firefox-9USLJ0.desktop
application/x-extension-shtml=userapp-Firefox-9USLJ0.desktop
application/xhtml+xml=userapp-Firefox-9USLJ0.desktop
application/x-extension-xhtml=userapp-Firefox-9USLJ0.desktop
application/x-extension-xht=userapp-Firefox-9USLJ0.desktop
image/x-tga=feh.desktop
image/png=feh.desktop
image/gif=feh.desktop
image/jpeg=feh.desktop
application/javascript=codium.desktop
[Added Associations]
x-scheme-handler/http=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
x-scheme-handler/https=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
x-scheme-handler/ftp=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
x-scheme-handler/chrome=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
text/html=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/x-extension-htm=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/x-extension-html=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/x-extension-shtml=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/xhtml+xml=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/x-extension-xhtml=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
application/x-extension-xht=firefox.desktop;userapp-Firefox-9USLJ0.desktop;
image/x-tga=feh.desktop;
image/gif=feh.desktop;
image/jpeg=feh.desktop;

43
config/mpd/mpd.conf Normal file
View file

@ -0,0 +1,43 @@
# Files and directories #######################################################
#
music_directory "/home/dbroqua/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/database"
log_file "~/.mpd/log"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
# General music daemon options ################################################
#
user "dbroqua"
bind_to_address "localhost"
port "6600"
# Input #######################################################################
#
input {
plugin "curl"
}
# Audio Output ################################################################
#
audio_output {
type "pulse"
name "Pulse Output"
mixer_control "Master"
}
audio_output {
type "fifo"
name "fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
# Character Encoding ##########################################################
#
filesystem_charset "UTF-8"

View file

@ -1,121 +1,36 @@
# vim: filetype=muttrc
# basic colors ---------------------------------------------------------
color normal color254 default
color error color160 default
color tilde color235 default
color message color37 default
color markers color160 default
color attachment color254 default
color search color61 default
color status color241 default
color indicator white color237
color tree color136 default # arrow in threads
# basic monocolor screen
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
# index ----------------------------------------------------------------
color index color160 default "~D(!~p|~p)" # deleted
color index color235 default ~F # flagged
color index color166 default ~= # duplicate messages
color index color140 default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
color index color160 default "~A" # all messages
color index color166 default "~E" # expired messages
color index color33 default "~N" # new messages
color index color33 default "~O" # old messages
color index color61 default "~Q" # messages that have been replied to
color index color252 default "~R" # read messages
color index color33 default "~U" # unread messages
color index color33 default "~U~$" # unread, unreferenced messages
color index color141 default "~v" # messages part of a collapsed thread
color index color141 default "~P" # messages from me
color index color37 default "~p!~F" # messages to me
color index color37 default "~N~p!~F" # new messages to me
color index color37 default "~U~p!~F" # unread messages to me
color index color252 default "~R~p!~F" # messages to me
color index color160 default "~F" # flagged messages
color index color160 default "~F~p" # flagged messages to me
color index color160 default "~N~F" # new flagged messages
color index color160 default "~N~F~p" # new flagged messages to me
color index color160 default "~U~F~p" # new flagged messages to me
color index color235 color160 "~D" # deleted messages
color index color245 default "~v~(!~N)" # collapsed thread with no unread
color index color136 default "~v~(~N)" # collapsed thread with some unread
color index color64 default "~N~v~(~N)" # collapsed thread with unread parent
# statusbg used to indicated flagged when foreground color shows other status
# for collapsed thread
color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
color index color136 default "~T" # tagged messages
color index_author color32 default '.*'
color index_date color214 default
color index_size color28 default
# message headers ------------------------------------------------------
color header color251 default "^"
color hdrdefault color251 default
color header color214 default "^(Date)"
color header color251 default "^(From)"
color header color39 default "^(Subject)"
# body -----------------------------------------------------------------
color quoted color31 default
color quoted1 color37 default
color quoted2 color136 default
color quoted3 color160 default
color quoted4 color166 default
color signature color240 default
color bold color235 default
color underline color235 default
color normal color250 default
color body color245 default "[;:][-o][)/(|]" # emoticons
color body color245 default "[;:][)(|]" # emoticons
color body color245 default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
color body color245 default "[ ][*][^*]*[*][ ]?" # more emoticon?
color body color245 default "[ ]?[*][^*]*[*][ ]" # more emoticon?
## pgp
color body color160 default "(BAD signature)"
color body color37 default "(Good signature)"
color body color234 default "^gpg: Good signature .*"
color body color241 default "^gpg: "
color body color241 color160 "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
# yes, an insance URL regex
color body color33 default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
# Various smilies and the like
color body color230 default "<[Gg]>" # <g>
color body color230 default "<[Bb][Gg]>" # <bg>
color body color136 default " [;:]-*[})>{(<|]" # :-) etc...
# *bold*
color body color33 default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
# _underline_
color body color33 default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
# /italic/ (Sometimes gets directory names)
color body color33 default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
# Border lines.
color body color33 default "( *[-+=#*~_]){6,}"
# Sidebar
color sidebar_new color33 default
color sidebar_flagged color160 default
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
color progress white color237
# mutt color scheme
color normal default default # default colours
color index brightblue default ~N # new messages
color index red default ~F # flagged messages
color index blue default ~T # tagged messages
color index cyan default ~D # deleted messages
color body brightyellow default (https?|ftp)://[\-\.+,/%~_:?&=\#a-zA-Z0-9]+
color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color attachment magenta default # attachments
color signature brightwhite default # sigs
color search brightred black # highlight results
color indicator brightyellow default # currently highlighted message
color error red default # error messages
color status white cyan # status line
color tree brightblack default # thread tree
color tilde cyan default # blank line padding
color hdrdefault black cyan # default headers
color header brightwhite cyan "^From:"
color header brightwhite cyan "^Subject:"
color quoted cyan default # quote colours
color quoted1 brightcyan default
color quoted2 blue default
color quoted3 green default
color quoted4 yellow default
color quoted5 red default
color body green default "^gpg: Good signature from"
color body brightred default "^gpg: Bad signature from"
color body brightred default "^gpg: BAD signature from"
color body brightred default "^gpg: Note: This key has expired!"
color body brightyellow default "^gpg: WARNING: This key is not certified with a trusted signature!"
color body brightyellow default "^gpg: There is no indication that the signature belongs to the owner."
color body brightyellow default "^gpg: can't handle these multiple signatures"
color body brightyellow default "^gpg: signature verification suppressed"
color body brightyellow default "^gpg: invalid node with packet of type"

View file

@ -4,8 +4,6 @@ text/html; firefox -new-tab %s & sleep 5; test=test -n "$DISPLAY";
# text/html; w3m -I %{charset} -T text/html; copiousoutput
text/html; html2text %s; copiousoutput
application/pdf; evince %s; copiousoutput
# text/calendar; ~/.mutt/scripts/vcalendar-filter; copiousoutput
#text/calendar; mutt-ics; copiousoutput
#application/ics; mutt-ics; copiousoutput
application/pdf; mupdf %s; copiousoutput
image/*; geeqie %s;
application/*; xdg-open %s

View file

@ -1,40 +1,6 @@
source ~/.config/neomutt/settings
#source ~/.config/neomutt/colors
source ~/.config/neomutt/colors
source ~/.config/neomutt/sidebar
source ~/.config/neomutt/accounts/darkou
source ~/.config/neomutt/accounts/mousur
# Specify where to save and/or look for postponed messages.
##set postponed = +[Gmail]/Drafts
# Allow Mutt to open a new IMAP connection automatically.
#unset imap_passive
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
#set header_cache = ~/.cache/mutt
# Store messages locally to speed things up, like searching message bodies.
# Can be the same folder as header_cache.
# This will cost important disk usage according to your e-mail amount.
#set message_cachedir = "~/.cache/mutt"
# Keep the IMAP connection alive by polling intermittently (time in seconds).
#set imap_keepalive = 300
# How often to check for new mail (time in seconds).
#set mail_check = 120
# Editor
#set editor = "vim"
#set charset = "utf-8"
#set record = '^'
# Mailbox ordering
#set sort_aux = reverse-last-date-received
#set sort = threads
# G to get mail
#bind index G imap-fetch-mail

View file

@ -1,7 +0,0 @@
[window]
width=1280
height=781
sinkInputType=1
sourceOutputType=1
sinkType=0
sourceType=1

View file

@ -1,19 +0,0 @@
; vim:ft=dosini
[colors]
nord0 = #2E3440
nord1 = #3B4252
nord2 = #434C5E
nord3 = #4C566A
nord4 = #D8DEE9
nord5 = #E5E9F0
nord6 = #ECEFF4
nord7 = #8FBCBB
nord8 = #88C0D0
nord9 = #81A1C1
nord10= #5E81AC
nord11= #BF616A
nord12= #D08770
nord13= #EBCB8B
nord14= #A3BE8C
nord15= #B48EAD

View file

@ -1,66 +0,0 @@
; vim:ft=dosini
include-file = $HOME/.config/polybar/colors
include-file = $HOME/.config/polybar/global
include-file = $HOME/.config/polybar/modules
include-file = $HOME/.config/polybar/settings
[global-wm]
margin-top = 4
margin-bottom = 4
[bar/base]
width = ${global.width}
height = ${global.height}
radius = ${global.radius}
fixed-center = ${global.fixed-center}
background = ${global.background}
foreground = ${global.foreground}
line-size = ${global.line-size}
line-color = ${global.line-color}
border-size = ${global.border-size}
border-color = ${global.border-color}
padding-left = ${global.padding-left}
padding-right = ${global.padding-right}
module-margin-left = ${global.module-margin-left}
module-margin-right = ${global.module-margin-right}
font-0 = ${global.font-0}
font-1 = ${global.font-1}
font-2 = ${global.font-2}
separator = ${global.separator}
cursor-click = ${global.cursor-click}
cursor-scroll = ${global.cursor-scroll}
[bar/top]
inherit = bar/base
bottom = false
modules-left = i3
modules-right = filesystem vpn wlan eth cpu memory battery hhkb logitech lcd_brightness pulseaudio bluetooth_headphones_status multimedia_previous multimedia_current multimedia_next imap tmux date
[bar/bottom]
inherit = bar/base
bottom = true
modules-left = i3
modules-right = filesystem vpn wlan eth battery hhkb logitech lcd_brightness pulseaudio bluetooth_headphones_status multimedia_previous multimedia_current multimedia_next date
; disabled modules
; imap tmux cpu memory temperature-wifi
tray-position = right
tray-padding = 2
tray-background = ${global.background}
tray-detached = false

View file

@ -1,33 +0,0 @@
; vim:ft=dosini
[global]
width = 100%
height = 26
radius = 0
fixed-center = false
background = ${colors.nord0}
foreground = ${colors.nord10}
line-size = 4
line-color = ${colors.nord10}
border-size = 0
border-color = ${colors.nord0}
padding-left = 0
padding-right = 4
module-margin-left = 2
module-margin-right = 2
font-0 = DejaVu Sans Mono for Powerline Book:size=9
font-1 = FontAwesome:pixelsize=9;0
font-2 = ProFontIIx Nerd Font:pixelsize=9;0
separator = ❱
cursor-click = pointer
cursor-scroll = ns-resize

View file

@ -1,303 +0,0 @@
; vim:ft=dosini
[module/filesystem]
type = internal/fs
interval = 120
mount-0 = /home
label-mounted = " %mountpoint%: %percentage_used%%"
label-unmounted =  %mountpoint% not mounted
label-unmounted-foreground = ${colors.nord11}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
label-focused-foreground = ${colors.nord0}
label-focused-background = ${colors.nord8}
label-focused-underline= ${colors.nord10}
label-focused-padding = 2
label-unfocused-foreground = ${colors.nord5}
label-unfocused-background = ${colors.nord3}
label-unfocused-padding = 2
label-visible-foreground = ${colors.nord5}
label-visible-background = ${colors.nord3}
label-visible-underline = ${colors.nord10}
label-visible-padding = 2
label-urgent-foreground = ${colors.nord5}
label-urgent-background = ${colors.nord12}
label-urgent-underline = ${colors.nord11}
label-urgent-padding = 2
[module/vpn]
type = custom/script
exec = ~/.config/polybar/scripts/vpn-networkmanager-status.sh
interval = 5
[module/wlan]
type = internal/network
interface = wlp59s0
interval = 3.0
format-connected = 直 <label-connected>
label-connected = %essid%
format-connected-underline = ${colors.nord14}
format-disconnected = 睊
format-disconnected-underline = ${colors.nord11}
[module/eth]
type = internal/network
interface = enp0s31f6
interval = 3.0
format-connected-underline = ${colors.nord14}
label-connected =  %linkspeed%
format-disconnected = 
format-disconnected-underline = ${colors.nord11}
[module/date]
type = internal/date
interval = 30
date = %d/%m
time = %H:%M
label =  %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = ♪ %percentage%%
label-muted =  -
label-muted-foreground = ${colors.nord11}
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.nord14}
bar-volume-foreground-1 = ${colors.nord14}
bar-volume-foreground-2 = ${colors.nord14}
bar-volume-foreground-3 = ${colors.nord14}
bar-volume-foreground-4 = ${colors.nord13}
bar-volume-foreground-5 = ${colors.nord13}
bar-volume-foreground-6 = ${colors.nord12}
bar-volume-foreground-7 = ${colors.nord12}
bar-volume-foreground-8 = ${colors.nord11}
bar-volume-foreground-9 = ${colors.nord11}
bar-volume-gradient = true
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ▄
bar-volume-fill-font = 2
bar-volume-empty = ▄
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.nord6}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 100
format-charging = <animation-charging> <label-charging>
format-charging-underline = ${colors.nord14}
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${colors.nord13}
format-full-prefix = " "
format-full-underline = ${colors.nord10}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-5 = 
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-3 = 
animation-discharging-4 = 
animation-discharging-5 = 
animation-discharging-framerate = 750
[module/logitech]
type = custom/script
exec = ~/Bin/device_battery.sh mouse 2>/dev/null
format =  <label>
label = %output%
[module/hhkb]
type = custom/script
exec = ~/Bin/device_battery.sh keyboard 2>/dev/null
format =  <label>
label = %output%
[module/lcd_brightness]
type = custom/script
exec = ~/Bin/brightness.sh read 2>/dev/null
format =  <label>
label = %output%%
[module/bluetooth_headphones_status]
type = custom/script
exec = ~/Bin/bluetooth_headphones_status.sh
format =  <label>
label = %output%
click-left = ~/Bin/bluetooth_headphones_status.sh toggle_profile
[module/multimedia_previous]
type = custom/text
content = 
click-left = ~/Bin/music.sh Previous
[module/multimedia_next]
type = custom/text
content = 
click-left = ~/Bin/music.sh Next
[module/multimedia_current]
type = custom/script
exec = ~/Bin/nowPlaying.sh
format = <label>
label = %output%
click-left = ~/Bin/music.sh PlayPause
[module/imap]
type = custom/script
exec = ~/.config/polybar/scripts/inbox-imap-shellnetrc.sh
interval = 60
format =  <label>
label = %output%
[module/tmux]
type = custom/script
exec = ~/.config/polybar/scripts/info-tmux-sessions.sh
interval = 5
[module/cpu]
type = internal/cpu
format = <label> <ramp-coreload>
label = CPU %percentage%%
ramp-coreload-spacing = 0
ramp-coreload-0 = ▁
ramp-coreload-1 = ▂
ramp-coreload-2 = ▃
ramp-coreload-3 = ▄
ramp-coreload-4 = ▅
ramp-coreload-5 = ▆
ramp-coreload-6 = ▇
ramp-coreload-7 = █
[module/memory]
type = internal/memory
format = <label> <ramp-used>
label = RAM %percentage_used%%
ramp-used-0 = ▁
ramp-used-1 = ▂
ramp-used-2 = ▃
ramp-used-3 = ▄
ramp-used-4 = ▅
ramp-used-5 = ▆
ramp-used-6 = ▇
ramp-used-7 = █
[module/temperature-cpu]
type = internal/temperature
interval = 0.5
thermal-zone = 0
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
base-temperature = 20
warn-temperature = 60
format = <ramp> <label>
format-warn = <ramp> <label-warn>
label = CPU %temperature-c%
label-warn = TEMP %temperature-c%
label-warn-foreground = ${colors.nord11}
ramp-0 = ▁
ramp-1 = ▄
ramp-2 = █
[module/temperature-wifi]
type = internal/temperature
interval = 0.5
thermal-zone = 5
hwmon-path = /sys/devices/virtual/thermal/thermal_zone5/hwmon7/temp1_input
base-temperature = 20
warn-temperature = 60
format = <ramp> <label>
format-warn = <ramp> <label-warn>
label = WIFI %temperature-c%
label-warn = TEMP %temperature-c%
label-warn-foreground = ${colors.nord11}
ramp-0 = ▁
ramp-1 = ▄
ramp-2 = █

View file

@ -1,12 +0,0 @@
#!/bin/sh
SERVER="mail.darkou.fr"
NETRC=".netrc"
inbox=$(curl -sf --netrc-file "$NETRC" -X "STATUS INBOX (UNSEEN)" imaps://"$SERVER"/INBOX | tr -d -c "[:digit:]")
if [ "$inbox" ] && [ "$inbox" -gt 0 ]; then
echo "# $inbox"
else
echo "0 unread"
fi

View file

@ -1,21 +0,0 @@
#! /bin/sh
if sessionlist=$(tmux ls 2>/dev/null); then
printf "# "
echo "$sessionlist" | while read -r line; do
session=$(echo "$line" | cut -d ':' -f 1)
if echo "$line" | grep -q "(attached)"; then
status="(a)"
else
status=""
fi
printf "%s%s " "$session" "$status"
done
printf "\n"
else
printf "# none\n"
fi

View file

@ -1,9 +0,0 @@
#!/bin/sh
vpn="$(nmcli -t -f name,type connection show --order name --active 2>/dev/null | grep vpn | head -1 | cut -d ':' -f 1)"
if [ -n "$vpn" ]; then
echo "$vpn"
else
echo ""
fi

View file

@ -1,9 +0,0 @@
#!/bin/sh
connection=$(pgrep -a openvpn$ | head -n 1 | awk '{print $NF }' | cut -d '.' -f 1)
if [ -n "$connection" ]; then
echo "On"
else
echo "Off"
fi

View file

@ -1,5 +0,0 @@
; vim:ft=dosini
[settings]
screenchange-reload = true
pseudo-transparency = true

62
config/ranger/commands.py Normal file
View file

@ -0,0 +1,62 @@
# This is a sample commands.py. You can add your own commands here.
#
# Please refer to commands_full.py for all the default commands and a complete
# documentation. Do NOT add them all here, or you may end up with defunct
# commands when upgrading ranger.
# A simple command for demonstration purposes follows.
# -----------------------------------------------------------------------------
from __future__ import (absolute_import, division, print_function)
# You can import any python module as needed.
import os
# You always need to import ranger.api.commands here to get the Command class:
from ranger.api.commands import Command
# Any class that is a subclass of "Command" will be integrated into ranger as a
# command. Try typing ":my_edit<ENTER>" in ranger!
class my_edit(Command):
# The so-called doc-string of the class will be visible in the built-in
# help that is accessible by typing "?c" inside ranger.
""":my_edit <filename>
A sample command for demonstration purposes that opens a file in an editor.
"""
# The execute method is called when you run this command in ranger.
def execute(self):
# self.arg(1) is the first (space-separated) argument to the function.
# This way you can write ":my_edit somefilename<ENTER>".
if self.arg(1):
# self.rest(1) contains self.arg(1) and everything that follows
target_filename = self.rest(1)
else:
# self.fm is a ranger.core.filemanager.FileManager object and gives
# you access to internals of ranger.
# self.fm.thisfile is a ranger.container.file.File object and is a
# reference to the currently selected file.
target_filename = self.fm.thisfile.path
# This is a generic function to print text in ranger.
self.fm.notify("Let's edit the file " + target_filename + "!")
# Using bad=True in fm.notify allows you to print error messages:
if not os.path.exists(target_filename):
self.fm.notify("The given file does not exist!", bad=True)
return
# This executes a function from ranger.core.acitons, a module with a
# variety of subroutines that can help you construct commands.
# Check out the source, or run "pydoc ranger.core.actions" for a list.
self.fm.edit_file(target_filename)
# The tab method is called when you press tab, and should return a list of
# suggestions that the user will tab through.
# tabnum is 1 for <TAB> and -1 for <S-TAB> by default
def tab(self, tabnum):
# This is a generic tab-completion function that iterates through the
# content of the current directory.
return self._tab_directory_content()

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,761 @@
# ===================================================================
# This file contains the default startup commands for ranger.
# To change them, it is recommended to create either /etc/ranger/rc.conf
# (system-wide) or ~/.config/ranger/rc.conf (per user) and add your custom
# commands there.
#
# If you copy this whole file there, you may want to set the environment
# variable RANGER_LOAD_DEFAULT_RC to FALSE to avoid loading it twice.
#
# The purpose of this file is mainly to define keybindings and settings.
# For running more complex python code, please create a plugin in "plugins/" or
# a command in "commands.py".
#
# Each line is a command that will be run before the user interface
# is initialized. As a result, you can not use commands which rely
# on the UI such as :delete or :mark.
# ===================================================================
# ===================================================================
# == Options
# ===================================================================
# Which viewmode should be used? Possible values are:
# miller: Use miller columns which show multiple levels of the hierarchy
# multipane: Midnight-commander like multipane view showing all tabs next
# to each other
set viewmode miller
#set viewmode multipane
# How many columns are there, and what are their relative widths?
set column_ratios 1,3,4
# Which files should be hidden? (regular expression)
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$
# Show hidden files? You can toggle this by typing 'zh'
set show_hidden true
# Ask for a confirmation when running the "delete" command?
# Valid values are "always", "never", "multiple" (default)
# With "multiple", ranger will ask only if you delete multiple files at once.
set confirm_on_delete multiple
# Use non-default path for file preview script?
# ranger ships with scope.sh, a script that calls external programs (see
# README.md for dependencies) to preview images, archives, etc.
#set preview_script ~/.config/ranger/scope.sh
# Use the external preview script or display simple plain text or image previews?
set use_preview_script true
# Automatically count files in the directory, even before entering them?
set automatically_count_files true
# Open all images in this directory when running certain image viewers
# like feh or sxiv? You can still open selected files by marking them.
set open_all_images true
# Be aware of version control systems and display information.
set vcs_aware true
# State of the four backends git, hg, bzr, svn. The possible states are
# disabled, local (only show local info), enabled (show local and remote
# information).
set vcs_backend_git enabled
set vcs_backend_hg disabled
set vcs_backend_bzr disabled
set vcs_backend_svn disabled
# Truncate the long commit messages to this length when shown in the statusbar.
set vcs_msg_length 50
default_linemode devicons
# Use one of the supported image preview protocols
set preview_images true
# Set the preview image method. Supported methods:
#
# * w3m (default):
# Preview images in full color with the external command "w3mimgpreview"?
# This requires the console web browser "w3m" and a supported terminal.
# It has been successfully tested with "xterm" and "urxvt" without tmux.
#
# * iterm2:
# Preview images in full color using iTerm2 image previews
# (http://iterm2.com/images.html). This requires using iTerm2 compiled
# with image preview support.
#
# This feature relies on the dimensions of the terminal's font. By default, a
# width of 8 and height of 11 are used. To use other values, set the options
# iterm2_font_width and iterm2_font_height to the desired values.
#
# * terminology:
# Previews images in full color in the terminology terminal emulator.
# Supports a wide variety of formats, even vector graphics like svg.
#
# * urxvt:
# Preview images in full color using urxvt image backgrounds. This
# requires using urxvt compiled with pixbuf support.
#
# * urxvt-full:
# The same as urxvt but utilizing not only the preview pane but the
# whole terminal window.
#
# * kitty:
# Preview images in full color using kitty image protocol.
# Requires python PIL or pillow library.
# If ranger does not share the local filesystem with kitty
# the transfer method is changed to encode the whole image;
# while slower, this allows remote previews,
# for example during an ssh session.
# Tmux is unsupported.
#
# * ueberzug:
# Preview images in full color with the external command "ueberzug".
# Images are shown by using a child window.
# Only for users who run X11 in GNU/Linux.
set preview_images_method w3m
# Delay in seconds before displaying an image with the w3m method.
# Increase it in case of experiencing display corruption.
set w3m_delay 0.02
# Manually adjust the w3mimg offset when using a terminal which needs this
set w3m_offset 0
# Default iTerm2 font size (see: preview_images_method: iterm2)
#set iterm2_font_width 8
#set iterm2_font_height 11
# Use a unicode "..." character to mark cut-off filenames?
set unicode_ellipsis false
# BIDI support - try to properly display file names in RTL languages (Hebrew, Arabic).
# Requires the python-bidi pip package
set bidi_support false
# Show dotfiles in the bookmark preview box?
set show_hidden_bookmarks true
# Which colorscheme to use? These colorschemes are available by default:
# default, jungle, snow, solarized
set colorscheme default
# Preview files on the rightmost column?
# And collapse (shrink) the last column if there is nothing to preview?
set preview_files true
set preview_directories true
set collapse_preview true
# Wrap long lines in plain text previews?
set wrap_plaintext_previews false
# Save the console history on exit?
set save_console_history true
# Draw the status bar on top of the browser window (default: bottom)
set status_bar_on_top false
# Draw a progress bar in the status bar which displays the average state of all
# currently running tasks which support progress bars?
set draw_progress_bar_in_status_bar true
# Draw borders around columns? (separators, outline, both, or none)
# Separators are vertical lines between columns.
# Outline draws a box around all the columns.
# Both combines the two.
set draw_borders none
# Display the directory name in tabs?
set dirname_in_tabs false
# Enable the mouse support?
set mouse_enabled false
# Display the file size in the main column or status bar?
set display_size_in_main_column true
set display_size_in_status_bar true
# Display the free disk space in the status bar?
set display_free_space_in_status_bar true
# Display files tags in all columns or only in main column?
set display_tags_in_all_columns true
# Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME`
set update_title false
# Set the tmux/screen window-name to "ranger"?
set update_tmux_title true
# Shorten the title if it gets long? The number defines how many
# directories are displayed at once, 0 turns off this feature.
set shorten_title 3
# Show hostname in titlebar?
set hostname_in_titlebar true
# Abbreviate $HOME with ~ in the titlebar (first line) of ranger?
set tilde_in_titlebar true
# How many directory-changes or console-commands should be kept in history?
set max_history_size 20
set max_console_history_size 50
# Try to keep so much space between the top/bottom border when scrolling:
set scroll_offset 8
# Flush the input after each key hit? (Noticeable when ranger lags)
set flushinput true
# Padding on the right when there's no preview?
# This allows you to click into the space to run the file.
set padding_right true
# Save bookmarks (used with mX and `X) instantly?
# This helps to synchronize bookmarks between multiple ranger
# instances but leads to *slight* performance loss.
# When false, bookmarks are saved when ranger is exited.
set autosave_bookmarks true
# Save the "`" bookmark to disk. This can be used to switch to the last
# directory by typing "``".
set save_backtick_bookmark true
# You can display the "real" cumulative size of directories by using the
# command :get_cumulative_size or typing "dc". The size is expensive to
# calculate and will not be updated automatically. You can choose
# to update it automatically though by turning on this option:
set autoupdate_cumulative_size false
# Turning this on makes sense for screen readers:
set show_cursor false
# One of: size, natural, basename, atime, ctime, mtime, type, random
set sort natural
# Additional sorting options
set sort_reverse false
set sort_case_insensitive true
set sort_directories_first true
set sort_unicode false
# Enable this if key combinations with the Alt Key don't work for you.
# (Especially on xterm)
set xterm_alt_key false
# Whether to include bookmarks in cd command
set cd_bookmarks true
# Changes case sensitivity for the cd command tab completion
set cd_tab_case sensitive
# Use fuzzy tab completion with the "cd" command. For example,
# ":cd /u/lo/b<tab>" expands to ":cd /usr/local/bin".
set cd_tab_fuzzy false
# Avoid previewing files larger than this size, in bytes. Use a value of 0 to
# disable this feature.
set preview_max_size 0
# The key hint lists up to this size have their sublists expanded.
# Otherwise the submaps are replaced with "...".
set hint_collapse_threshold 10
# Add the highlighted file to the path in the titlebar
set show_selection_in_titlebar true
# The delay that ranger idly waits for user input, in milliseconds, with a
# resolution of 100ms. Lower delay reduces lag between directory updates but
# increases CPU load.
set idle_delay 2000
# When the metadata manager module looks for metadata, should it only look for
# a ".metadata.json" file in the current directory, or do a deep search and
# check all directories above the current one as well?
set metadata_deep_search false
# Clear all existing filters when leaving a directory
set clear_filters_on_dir_change false
# Disable displaying line numbers in main column.
# Possible values: false, absolute, relative.
set line_numbers false
# When line_numbers=relative show the absolute line number in the
# current line.
set relative_current_zero false
# Start line numbers from 1 instead of 0
set one_indexed false
# Save tabs on exit
set save_tabs_on_exit false
# Enable scroll wrapping - moving down while on the last item will wrap around to
# the top and vice versa.
set wrap_scroll false
# Set the global_inode_type_filter to nothing. Possible options: d, f and l for
# directories, files and symlinks respectively.
set global_inode_type_filter
# This setting allows to freeze the list of files to save I/O bandwidth. It
# should be 'false' during start-up, but you can toggle it by pressing F.
set freeze_files false
# Print file sizes in bytes instead of the default human-readable format.
set size_in_bytes false
# Warn at startup if RANGER_LEVEL env var is greater than 0, in other words
# give a warning when you nest ranger in a subshell started by ranger.
# Special value "error" makes the warning more visible.
set nested_ranger_warning true
# ===================================================================
# == Local Options
# ===================================================================
# You can set local options that only affect a single directory.
# Examples:
# setlocal path=~/downloads sort mtime
# ===================================================================
# == Command Aliases in the Console
# ===================================================================
alias e edit
alias q quit
alias q! quit!
alias qa quitall
alias qa! quitall!
alias qall quitall
alias qall! quitall!
alias setl setlocal
alias filter scout -prts
alias find scout -aets
alias mark scout -mr
alias unmark scout -Mr
alias search scout -rs
alias search_inc scout -rts
alias travel scout -aefklst
# ===================================================================
# == Define keys for the browser
# ===================================================================
# Basic
map Q quitall
map q quit
copymap q ZZ ZQ
map R reload_cwd
map F set freeze_files!
map <C-r> reset
map <C-l> redraw_window
map <C-c> abort
map <esc> change_mode normal
map ~ set viewmode!
map i display_file
map <A-j> scroll_preview 1
map <A-k> scroll_preview -1
map ? help
map W display_log
map w taskview_open
map S shell $SHELL
map : console
map ; console
map ! console shell%space
map @ console -p6 shell %%s
map # console shell -p%space
map s console shell%space
map r chain draw_possible_programs; console open_with%space
map f console find%space
map cd console cd%space
map <C-p> chain console; eval fm.ui.console.history_move(-1)
# Change the line mode
map Mf linemode filename
map Mi linemode fileinfo
map Mm linemode mtime
map Mh linemode humanreadablemtime
map Mp linemode permissions
map Ms linemode sizemtime
map MH linemode sizehumanreadablemtime
map Mt linemode metatitle
# Tagging / Marking
map t tag_toggle
map ut tag_remove
map "<any> tag_toggle tag=%any
map <Space> mark_files toggle=True
map v mark_files all=True toggle=True
map uv mark_files all=True val=False
map V toggle_visual_mode
map uV toggle_visual_mode reverse=True
# For the nostalgics: Midnight Commander bindings
map <F1> help
map <F2> rename_append
map <F3> display_file
map <F4> edit
map <F5> copy
map <F6> cut
map <F7> console mkdir%space
map <F8> console delete
#map <F8> console trash
map <F10> exit
# In case you work on a keyboard with dvorak layout
map <UP> move up=1
map <DOWN> move down=1
map <LEFT> move left=1
map <RIGHT> move right=1
map <HOME> move to=0
map <END> move to=-1
map <PAGEDOWN> move down=1 pages=True
map <PAGEUP> move up=1 pages=True
map <CR> move right=1
#map <DELETE> console delete
map <INSERT> console touch%space
# VIM-like
copymap <UP> k
copymap <DOWN> j
copymap <LEFT> h
copymap <RIGHT> l
copymap <HOME> gg
copymap <END> G
copymap <PAGEDOWN> <C-F>
copymap <PAGEUP> <C-B>
map J move down=0.5 pages=True
map K move up=0.5 pages=True
copymap J <C-D>
copymap K <C-U>
# Jumping around
map H history_go -1
map L history_go 1
map ] move_parent 1
map [ move_parent -1
map } traverse
map { traverse_backwards
map ) jump_non
map gh cd ~
map ge cd /etc
map gu cd /usr
map gd cd /dev
map gl cd -r .
map gL cd -r %f
map go cd /opt
map gv cd /var
map gm cd /media
map gi eval fm.cd('/run/media/' + os.getenv('USER'))
map gM cd /mnt
map gs cd /srv
map gp cd /tmp
map gr cd /
map gR eval fm.cd(ranger.RANGERDIR)
map g/ cd /
map g? cd /usr/share/doc/ranger
# External Programs
map E edit
map du shell -p du --max-depth=1 -h --apparent-size
map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
map yp yank path
map yd yank dir
map yn yank name
map y. yank name_without_extension
# Filesystem Operations
map = chmod
map cw console rename%space
map a rename_append
map A eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"))
map I eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"), position=7)
map pp paste
map po paste overwrite=True
map pP paste append=True
map pO paste overwrite=True append=True
map pl paste_symlink relative=False
map pL paste_symlink relative=True
map phl paste_hardlink
map pht paste_hardlinked_subtree
map pd console paste dest=
map p`<any> paste dest=%any_path
map p'<any> paste dest=%any_path
map dD console delete
map dT console trash
map dd cut
map ud uncut
map da cut mode=add
map dr cut mode=remove
map dt cut mode=toggle
map yy copy
map uy uncut
map ya copy mode=add
map yr copy mode=remove
map yt copy mode=toggle
# Temporary workarounds
map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier)
map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier)
map dj eval fm.cut(dirarg=dict(down=1), narg=quantifier)
map dk eval fm.cut(dirarg=dict(up=1), narg=quantifier)
map ygg eval fm.copy(dirarg=dict(to=0), narg=quantifier)
map yG eval fm.copy(dirarg=dict(to=-1), narg=quantifier)
map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier)
map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier)
# Searching
map / console search%space
map n search_next
map N search_next forward=False
map ct search_next order=tag
map cs search_next order=size
map ci search_next order=mimetype
map cc search_next order=ctime
map cm search_next order=mtime
map ca search_next order=atime
# Tabs
map <C-n> tab_new
map <C-w> tab_close
map <TAB> tab_move 1
map <S-TAB> tab_move -1
map <A-Right> tab_move 1
map <A-Left> tab_move -1
map gt tab_move 1
map gT tab_move -1
map gn tab_new
map gc tab_close
map uq tab_restore
map <a-1> tab_open 1
map <a-2> tab_open 2
map <a-3> tab_open 3
map <a-4> tab_open 4
map <a-5> tab_open 5
map <a-6> tab_open 6
map <a-7> tab_open 7
map <a-8> tab_open 8
map <a-9> tab_open 9
map <a-r> tab_shift 1
map <a-l> tab_shift -1
# Sorting
map or set sort_reverse!
map oz set sort=random
map os chain set sort=size; set sort_reverse=False
map ob chain set sort=basename; set sort_reverse=False
map on chain set sort=natural; set sort_reverse=False
map om chain set sort=mtime; set sort_reverse=False
map oc chain set sort=ctime; set sort_reverse=False
map oa chain set sort=atime; set sort_reverse=False
map ot chain set sort=type; set sort_reverse=False
map oe chain set sort=extension; set sort_reverse=False
map oS chain set sort=size; set sort_reverse=True
map oB chain set sort=basename; set sort_reverse=True
map oN chain set sort=natural; set sort_reverse=True
map oM chain set sort=mtime; set sort_reverse=True
map oC chain set sort=ctime; set sort_reverse=True
map oA chain set sort=atime; set sort_reverse=True
map oT chain set sort=type; set sort_reverse=True
map oE chain set sort=extension; set sort_reverse=True
map dc get_cumulative_size
# Settings
map zc set collapse_preview!
map zd set sort_directories_first!
map zh set show_hidden!
map <C-h> set show_hidden!
copymap <C-h> <backspace>
copymap <backspace> <backspace2>
map zI set flushinput!
map zi set preview_images!
map zm set mouse_enabled!
map zp set preview_files!
map zP set preview_directories!
map zs set sort_case_insensitive!
map zu set autoupdate_cumulative_size!
map zv set use_preview_script!
map zf console filter%space
copymap zf zz
# Filter stack
map .d filter_stack add type d
map .f filter_stack add type f
map .l filter_stack add type l
map .m console filter_stack add mime%space
map .n console filter_stack add name%space
map .# console filter_stack add hash%space
map ." filter_stack add duplicate
map .' filter_stack add unique
map .| filter_stack add or
map .& filter_stack add and
map .! filter_stack add not
map .r filter_stack rotate
map .c filter_stack clear
map .* filter_stack decompose
map .p filter_stack pop
map .. filter_stack show
# Bookmarks
map `<any> enter_bookmark %any
map '<any> enter_bookmark %any
map m<any> set_bookmark %any
map um<any> unset_bookmark %any
map m<bg> draw_bookmarks
copymap m<bg> um<bg> `<bg> '<bg>
# Generate all the chmod bindings with some python help:
eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map +g{0} shell -f chmod g+{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map +o{0} shell -f chmod o+{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map +a{0} shell -f chmod a+{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map +{0} shell -f chmod u+{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map -u{0} shell -f chmod u-{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map -g{0} shell -f chmod g-{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map -o{0} shell -f chmod o-{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map -a{0} shell -f chmod a-{0} %s".format(arg))
eval for arg in "rwxXst": cmd("map -{0} shell -f chmod u-{0} %s".format(arg))
# ===================================================================
# == Define keys for the console
# ===================================================================
# Note: Unmapped keys are passed directly to the console.
# Basic
cmap <tab> eval fm.ui.console.tab()
cmap <s-tab> eval fm.ui.console.tab(-1)
cmap <ESC> eval fm.ui.console.close()
cmap <CR> eval fm.ui.console.execute()
cmap <C-l> redraw_window
copycmap <ESC> <C-c>
copycmap <CR> <C-j>
# Move around
cmap <up> eval fm.ui.console.history_move(-1)
cmap <down> eval fm.ui.console.history_move(1)
cmap <left> eval fm.ui.console.move(left=1)
cmap <right> eval fm.ui.console.move(right=1)
cmap <home> eval fm.ui.console.move(right=0, absolute=True)
cmap <end> eval fm.ui.console.move(right=-1, absolute=True)
cmap <a-b> eval fm.ui.console.move_word(left=1)
cmap <a-f> eval fm.ui.console.move_word(right=1)
copycmap <a-b> <a-left>
copycmap <a-f> <a-right>
# Line Editing
cmap <backspace> eval fm.ui.console.delete(-1)
cmap <delete> eval fm.ui.console.delete(0)
cmap <C-w> eval fm.ui.console.delete_word()
cmap <A-d> eval fm.ui.console.delete_word(backward=False)
cmap <C-k> eval fm.ui.console.delete_rest(1)
cmap <C-u> eval fm.ui.console.delete_rest(-1)
cmap <C-y> eval fm.ui.console.paste()
# And of course the emacs way
copycmap <ESC> <C-g>
copycmap <up> <C-p>
copycmap <down> <C-n>
copycmap <left> <C-b>
copycmap <right> <C-f>
copycmap <home> <C-a>
copycmap <end> <C-e>
copycmap <delete> <C-d>
copycmap <backspace> <C-h>
# Note: There are multiple ways to express backspaces. <backspace> (code 263)
# and <backspace2> (code 127). To be sure, use both.
copycmap <backspace> <backspace2>
# This special expression allows typing in numerals:
cmap <allow_quantifiers> false
# ===================================================================
# == Pager Keybindings
# ===================================================================
# Movement
pmap <down> pager_move down=1
pmap <up> pager_move up=1
pmap <left> pager_move left=4
pmap <right> pager_move right=4
pmap <home> pager_move to=0
pmap <end> pager_move to=-1
pmap <pagedown> pager_move down=1.0 pages=True
pmap <pageup> pager_move up=1.0 pages=True
pmap <C-d> pager_move down=0.5 pages=True
pmap <C-u> pager_move up=0.5 pages=True
copypmap <UP> k <C-p>
copypmap <DOWN> j <C-n> <CR>
copypmap <LEFT> h
copypmap <RIGHT> l
copypmap <HOME> g
copypmap <END> G
copypmap <C-d> d
copypmap <C-u> u
copypmap <PAGEDOWN> n f <C-F> <Space>
copypmap <PAGEUP> p b <C-B>
# Basic
pmap <C-l> redraw_window
pmap <ESC> pager_close
copypmap <ESC> q Q i <F3>
pmap E edit_file
# ===================================================================
# == Taskview Keybindings
# ===================================================================
# Movement
tmap <up> taskview_move up=1
tmap <down> taskview_move down=1
tmap <home> taskview_move to=0
tmap <end> taskview_move to=-1
tmap <pagedown> taskview_move down=1.0 pages=True
tmap <pageup> taskview_move up=1.0 pages=True
tmap <C-d> taskview_move down=0.5 pages=True
tmap <C-u> taskview_move up=0.5 pages=True
copytmap <UP> k <C-p>
copytmap <DOWN> j <C-n> <CR>
copytmap <HOME> g
copytmap <END> G
copytmap <C-u> u
copytmap <PAGEDOWN> n f <C-F> <Space>
copytmap <PAGEUP> p b <C-B>
# Changing priority and deleting tasks
tmap J eval -q fm.ui.taskview.task_move(-1)
tmap K eval -q fm.ui.taskview.task_move(0)
tmap dd eval -q fm.ui.taskview.task_remove()
tmap <pagedown> eval -q fm.ui.taskview.task_move(-1)
tmap <pageup> eval -q fm.ui.taskview.task_move(0)
tmap <delete> eval -q fm.ui.taskview.task_remove()
# Basic
tmap <C-l> redraw_window
tmap <ESC> taskview_close
copytmap <ESC> q Q w <C-c>

284
config/ranger/rifle.conf Normal file
View file

@ -0,0 +1,284 @@
# vim: ft=cfg
#
# This is the configuration file of "rifle", ranger's file executor/opener.
# Each line consists of conditions and a command. For each line the conditions
# are checked and if they are met, the respective command is run.
#
# Syntax:
# <condition1> , <condition2> , ... = command
#
# The command can contain these environment variables:
# $1-$9 | The n-th selected file
# $@ | All selected files
#
# If you use the special command "ask", rifle will ask you what program to run.
#
# Prefixing a condition with "!" will negate its result.
# These conditions are currently supported:
# match <regexp> | The regexp matches $1
# ext <regexp> | The regexp matches the extension of $1
# mime <regexp> | The regexp matches the mime type of $1
# name <regexp> | The regexp matches the basename of $1
# path <regexp> | The regexp matches the absolute path of $1
# has <program> | The program is installed (i.e. located in $PATH)
# env <variable> | The environment variable "variable" is non-empty
# file | $1 is a file
# directory | $1 is a directory
# number <n> | change the number of this command to n
# terminal | stdin, stderr and stdout are connected to a terminal
# X | A graphical environment is available (darwin, Xorg, or Wayland)
#
# There are also pseudo-conditions which have a "side effect":
# flag <flags> | Change how the program is run. See below.
# label <label> | Assign a label or name to the command so it can
# | be started with :open_with <label> in ranger
# | or `rifle -p <label>` in the standalone executable.
# else | Always true.
#
# Flags are single characters which slightly transform the command:
# f | Fork the program, make it run in the background.
# | New command = setsid $command >& /dev/null &
# r | Execute the command with root permissions
# | New command = sudo $command
# t | Run the program in a new terminal. If $TERMCMD is not defined,
# | rifle will attempt to extract it from $TERM.
# | New command = $TERMCMD -e $command
# Note: The "New command" serves only as an illustration, the exact
# implementation may differ.
# Note: When using rifle in ranger, there is an additional flag "c" for
# only running the current file even if you have marked multiple files.
#-------------------------------------------
# Websites
#-------------------------------------------
# Rarely installed browsers get higher priority; It is assumed that if you
# install a rare browser, you probably use it. Firefox/konqueror/w3m on the
# other hand are often only installed as fallback browsers.
ext x?html?, has surf, X, flag f = surf -- file://"$1"
ext x?html?, has vimprobable, X, flag f = vimprobable -- "$@"
ext x?html?, has vimprobable2, X, flag f = vimprobable2 -- "$@"
ext x?html?, has qutebrowser, X, flag f = qutebrowser -- "$@"
ext x?html?, has dwb, X, flag f = dwb -- "$@"
ext x?html?, has jumanji, X, flag f = jumanji -- "$@"
ext x?html?, has luakit, X, flag f = luakit -- "$@"
ext x?html?, has uzbl, X, flag f = uzbl -- "$@"
ext x?html?, has uzbl-tabbed, X, flag f = uzbl-tabbed -- "$@"
ext x?html?, has uzbl-browser, X, flag f = uzbl-browser -- "$@"
ext x?html?, has uzbl-core, X, flag f = uzbl-core -- "$@"
ext x?html?, has midori, X, flag f = midori -- "$@"
ext x?html?, has opera, X, flag f = opera -- "$@"
ext x?html?, has firefox, X, flag f = firefox -- "$@"
ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@"
ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@"
ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@"
ext x?html?, has chromium, X, flag f = chromium -- "$@"
ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@"
ext x?html?, has epiphany, X, flag f = epiphany -- "$@"
ext x?html?, has konqueror, X, flag f = konqueror -- "$@"
ext x?html?, has elinks, terminal = elinks "$@"
ext x?html?, has links2, terminal = links2 "$@"
ext x?html?, has links, terminal = links "$@"
ext x?html?, has lynx, terminal = lynx -- "$@"
ext x?html?, has w3m, terminal = w3m "$@"
#-------------------------------------------
# Misc
#-------------------------------------------
# Define the "editor" for text files as first action
mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@"
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"
ext s[wmf]c, has zsnes, X = zsnes "$1"
ext s[wmf]c, has snes9x-gtk,X = snes9x-gtk "$1"
ext nes, has fceux, X = fceux "$1"
ext exe = wine "$1"
name ^[mM]akefile$ = make
#--------------------------------------------
# Scripts
#-------------------------------------------
ext py = python3 -- "$1"
ext pl = perl -- "$1"
ext rb = ruby -- "$1"
ext js = node -- "$1"
ext sh = sh -- "$1"
ext php = php -- "$1"
#--------------------------------------------
# Audio without X
#-------------------------------------------
mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
ext midi?, terminal, has wildmidi = wildmidi -- "$@"
#--------------------------------------------
# Video/Audio with a GUI
#-------------------------------------------
mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@"
mime ^video|audio, has smplayer, X, flag f = smplayer "$@"
mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@"
mime ^video|audio, has vlc, X, flag f = vlc -- "$@"
mime ^video|audio, has totem, X, flag f = totem -- "$@"
mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@"
#--------------------------------------------
# Video without X
#-------------------------------------------
mime ^video, terminal, !X, has mpv = mpv -- "$@"
mime ^video, terminal, !X, has mplayer2 = mplayer2 -- "$@"
mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
#-------------------------------------------
# Documents
#-------------------------------------------
ext pdf, has llpp, X, flag f = llpp "$@"
ext pdf, has zathura, X, flag f = zathura -- "$@"
ext pdf, has mupdf, X, flag f = mupdf "$@"
ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@"
ext pdf, has apvlv, X, flag f = apvlv -- "$@"
ext pdf, has xpdf, X, flag f = xpdf -- "$@"
ext pdf, has evince, X, flag f = evince -- "$@"
ext pdf, has atril, X, flag f = atril -- "$@"
ext pdf, has okular, X, flag f = okular -- "$@"
ext pdf, has epdfview, X, flag f = epdfview -- "$@"
ext pdf, has qpdfview, X, flag f = qpdfview "$@"
ext pdf, has open, X, flag f = open "$@"
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@"
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@"
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = soffice "$@"
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@"
ext djvu, has zathura,X, flag f = zathura -- "$@"
ext djvu, has evince, X, flag f = evince -- "$@"
ext djvu, has atril, X, flag f = atril -- "$@"
ext djvu, has djview, X, flag f = djview -- "$@"
ext epub, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
ext epub, has zathura, X, flag f = zathura -- "$@"
ext epub, has mupdf, X, flag f = mupdf -- "$@"
ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
ext cbr, has zathura, X, flag f = zathura -- "$@"
ext cbz, has zathura, X, flag f = zathura -- "$@"
#-------------------------------------------
# Images
#-------------------------------------------
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
mime ^image, has imv, X, flag f = imv -- "$@"
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has mirage, X, flag f = mirage -- "$@"
mime ^image, has ristretto, X, flag f = ristretto "$@"
mime ^image, has eog, X, flag f = eog -- "$@"
mime ^image, has eom, X, flag f = eom -- "$@"
mime ^image, has nomacs, X, flag f = nomacs -- "$@"
mime ^image, has geeqie, X, flag f = geeqie -- "$@"
mime ^image, has gpicview, X, flag f = gpicview -- "$@"
mime ^image, has gwenview, X, flag f = gwenview -- "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
ext xcf, X, flag f = gimp -- "$@"
#-------------------------------------------
# Archives
#-------------------------------------------
# avoid password prompt by providing empty password
ext 7z, has 7z = 7z -p l "$@" | "$PAGER"
# This requires atool
ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@"
# Listing and extracting archives without atool:
ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER"
ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done
ext zip, has unzip = unzip -l "$1" | "$PAGER"
ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done
ext ace, has unace = unace l "$1" | "$PAGER"
ext ace, has unace = for file in "$@"; do unace e "$file"; done
ext rar, has unrar = unrar l "$1" | "$PAGER"
ext rar, has unrar = for file in "$@"; do unrar x "$file"; done
#-------------------------------------------
# Fonts
#-------------------------------------------
mime ^font, has fontforge, X, flag f = fontforge "$@"
#-------------------------------------------
# Flag t fallback terminals
#-------------------------------------------
# Rarely installed terminal emulators get higher priority; It is assumed that
# if you install a rare terminal emulator, you probably use it.
# gnome-terminal/konsole/xterm on the other hand are often installed as part of
# a desktop environment or as fallback terminal emulators.
mime ^ranger/x-terminal-emulator, has terminology = terminology -e "$@"
mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@"
mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@"
mime ^ranger/x-terminal-emulator, has sakura = sakura -e "$@"
mime ^ranger/x-terminal-emulator, has lilyterm = lilyterm -e "$@"
#mime ^ranger/x-terminal-emulator, has cool-retro-term = cool-retro-term -e "$@"
mime ^ranger/x-terminal-emulator, has termite = termite -x '"$@"'
#mime ^ranger/x-terminal-emulator, has yakuake = yakuake -e "$@"
mime ^ranger/x-terminal-emulator, has guake = guake -ne "$@"
mime ^ranger/x-terminal-emulator, has tilda = tilda -c "$@"
mime ^ranger/x-terminal-emulator, has st = st -e "$@"
mime ^ranger/x-terminal-emulator, has terminator = terminator -x "$@"
mime ^ranger/x-terminal-emulator, has urxvt = urxvt -e "$@"
mime ^ranger/x-terminal-emulator, has pantheon-terminal = pantheon-terminal -e "$@"
mime ^ranger/x-terminal-emulator, has lxterminal = lxterminal -e "$@"
mime ^ranger/x-terminal-emulator, has mate-terminal = mate-terminal -x "$@"
mime ^ranger/x-terminal-emulator, has xfce4-terminal = xfce4-terminal -x "$@"
mime ^ranger/x-terminal-emulator, has konsole = konsole -e "$@"
mime ^ranger/x-terminal-emulator, has gnome-terminal = gnome-terminal -- "$@"
mime ^ranger/x-terminal-emulator, has xterm = xterm -e "$@"
#-------------------------------------------
# Misc
#-------------------------------------------
label wallpaper, number 11, mime ^image, has feh, X = feh --bg-scale "$1"
label wallpaper, number 12, mime ^image, has feh, X = feh --bg-tile "$1"
label wallpaper, number 13, mime ^image, has feh, X = feh --bg-center "$1"
label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1"
#-------------------------------------------
# Generic file openers
#-------------------------------------------
label open, has xdg-open = xdg-open -- "$@"
label open, has open = open -- "$@"
# Define the editor for non-text files + pager as last action
!mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ask
label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-$EDITOR} -- "$@"
label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
######################################################################
# The actions below are left so low down in this file on purpose, so #
# they are never triggered accidentally. #
######################################################################
# Execute a file as program/script.
mime application/x-executable = "$1"
# Move the file to trash using trash-cli.
label trash, has trash-put = trash-put -- "$@"
label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash

350
config/ranger/scope.sh Executable file
View file

@ -0,0 +1,350 @@
#!/usr/bin/env bash
set -o noclobber -o noglob -o nounset -o pipefail
IFS=$'\n'
## If the option `use_preview_script` is set to `true`,
## then this script will be called and its output will be displayed in ranger.
## ANSI color codes are supported.
## STDIN is disabled, so interactive scripts won't work properly
## This script is considered a configuration file and must be updated manually.
## It will be left untouched if you upgrade ranger.
## Because of some automated testing we do on the script #'s for comments need
## to be doubled up. Code that is commented out, because it's an alternative for
## example, gets only one #.
## Meanings of exit codes:
## code | meaning | action of ranger
## -----+------------+-------------------------------------------
## 0 | success | Display stdout as preview
## 1 | no preview | Display no preview at all
## 2 | plain text | Display the plain content of the file
## 3 | fix width | Don't reload when width changes
## 4 | fix height | Don't reload when height changes
## 5 | fix both | Don't ever reload
## 6 | image | Display the image `$IMAGE_CACHE_PATH` points to as an image preview
## 7 | image | Display the file directly as an image
## Script arguments
FILE_PATH="${1}" # Full path of the highlighted file
PV_WIDTH="${2}" # Width of the preview pane (number of fitting characters)
## shellcheck disable=SC2034 # PV_HEIGHT is provided for convenience and unused
PV_HEIGHT="${3}" # Height of the preview pane (number of fitting characters)
IMAGE_CACHE_PATH="${4}" # Full path that should be used to cache image preview
PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise.
FILE_EXTENSION="${FILE_PATH##*.}"
FILE_EXTENSION_LOWER="$(printf "%s" "${FILE_EXTENSION}" | tr '[:upper:]' '[:lower:]')"
## Settings
HIGHLIGHT_SIZE_MAX=262143 # 256KiB
HIGHLIGHT_TABWIDTH=${HIGHLIGHT_TABWIDTH:-8}
HIGHLIGHT_STYLE=${HIGHLIGHT_STYLE:-pablo}
HIGHLIGHT_OPTIONS="--replace-tabs=${HIGHLIGHT_TABWIDTH} --style=${HIGHLIGHT_STYLE} ${HIGHLIGHT_OPTIONS:-}"
PYGMENTIZE_STYLE=${PYGMENTIZE_STYLE:-autumn}
OPENSCAD_IMGSIZE=${RNGR_OPENSCAD_IMGSIZE:-1000,1000}
OPENSCAD_COLORSCHEME=${RNGR_OPENSCAD_COLORSCHEME:-Tomorrow Night}
handle_extension() {
case "${FILE_EXTENSION_LOWER}" in
## Archive
a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\
rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
atool --list -- "${FILE_PATH}" && exit 5
bsdtar --list --file "${FILE_PATH}" && exit 5
exit 1;;
rar)
## Avoid password prompt by providing empty password
unrar lt -p- -- "${FILE_PATH}" && exit 5
exit 1;;
7z)
## Avoid password prompt by providing empty password
7z l -p -- "${FILE_PATH}" && exit 5
exit 1;;
## PDF
pdf)
## Preview as text conversion
pdftotext -l 10 -nopgbrk -q -- "${FILE_PATH}" - | \
fmt -w "${PV_WIDTH}" && exit 5
mutool draw -F txt -i -- "${FILE_PATH}" 1-10 | \
fmt -w "${PV_WIDTH}" && exit 5
exiftool "${FILE_PATH}" && exit 5
exit 1;;
## BitTorrent
torrent)
transmission-show -- "${FILE_PATH}" && exit 5
exit 1;;
## OpenDocument
odt|ods|odp|sxw)
## Preview as text conversion
odt2txt "${FILE_PATH}" && exit 5
## Preview as markdown conversion
pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
exit 1;;
## XLSX
xlsx)
## Preview as csv conversion
## Uses: https://github.com/dilshod/xlsx2csv
xlsx2csv -- "${FILE_PATH}" && exit 5
exit 1;;
## HTML
htm|html|xhtml)
## Preview as text conversion
w3m -dump "${FILE_PATH}" && exit 5
lynx -dump -- "${FILE_PATH}" && exit 5
elinks -dump "${FILE_PATH}" && exit 5
pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
;;
## JSON
json)
jq --color-output . "${FILE_PATH}" && exit 5
python -m json.tool -- "${FILE_PATH}" && exit 5
;;
## Direct Stream Digital/Transfer (DSDIFF) and wavpack aren't detected
## by file(1).
dff|dsf|wv|wvc)
mediainfo "${FILE_PATH}" && exit 5
exiftool "${FILE_PATH}" && exit 5
;; # Continue with next handler on failure
esac
}
handle_image() {
## Size of the preview if there are multiple options or it has to be
## rendered from vector graphics. If the conversion program allows
## specifying only one dimension while keeping the aspect ratio, the width
## will be used.
local DEFAULT_SIZE="1920x1080"
local mimetype="${1}"
case "${mimetype}" in
## SVG
image/svg+xml|image/svg)
convert -- "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6
exit 1;;
## DjVu
# image/vnd.djvu)
# ddjvu -format=tiff -quality=90 -page=1 -size="${DEFAULT_SIZE}" \
# - "${IMAGE_CACHE_PATH}" < "${FILE_PATH}" \
# && exit 6 || exit 1;;
## Image
image/*)
local orientation
orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )"
## If orientation data is present and the image actually
## needs rotating ("1" means no rotation)...
if [[ -n "$orientation" && "$orientation" != 1 ]]; then
## ...auto-rotate the image according to the EXIF data.
convert -- "${FILE_PATH}" -auto-orient "${IMAGE_CACHE_PATH}" && exit 6
fi
## `w3mimgdisplay` will be called for all images (unless overriden
## as above), but might fail for unsupported types.
exit 7;;
## Video
video/*)
# Thumbnail
ffmpegthumbnailer -i "${FILE_PATH}" -o "${IMAGE_CACHE_PATH}" -s 0 && exit 6
exit 1;;
## PDF
application/pdf)
pdftoppm -f 1 -l 1 \
-scale-to-x "${DEFAULT_SIZE%x*}" \
-scale-to-y -1 \
-singlefile \
-jpeg -tiffcompression jpeg \
-- "${FILE_PATH}" "${IMAGE_CACHE_PATH%.*}" \
&& exit 6 || exit 1;;
## ePub, MOBI, FB2 (using Calibre)
# application/epub+zip|application/x-mobipocket-ebook|\
# application/x-fictionbook+xml)
# # ePub (using https://github.com/marianosimone/epub-thumbnailer)
# epub-thumbnailer "${FILE_PATH}" "${IMAGE_CACHE_PATH}" \
# "${DEFAULT_SIZE%x*}" && exit 6
# ebook-meta --get-cover="${IMAGE_CACHE_PATH}" -- "${FILE_PATH}" \
# >/dev/null && exit 6
# exit 1;;
## Font
application/font*|application/*opentype)
preview_png="/tmp/$(basename "${IMAGE_CACHE_PATH%.*}").png"
if fontimage -o "${preview_png}" \
--pixelsize "120" \
--fontname \
--pixelsize "80" \
--text " ABCDEFGHIJKLMNOPQRSTUVWXYZ " \
--text " abcdefghijklmnopqrstuvwxyz " \
--text " 0123456789.:,;(*!?') ff fl fi ffi ffl " \
--text " The quick brown fox jumps over the lazy dog. " \
"${FILE_PATH}";
then
convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \
&& rm "${preview_png}" \
&& exit 6
else
exit 1
fi
;;
## Preview archives using the first image inside.
## (Very useful for comic book collections for example.)
# application/zip|application/x-rar|application/x-7z-compressed|\
# application/x-xz|application/x-bzip2|application/x-gzip|application/x-tar)
# local fn=""; local fe=""
# local zip=""; local rar=""; local tar=""; local bsd=""
# case "${mimetype}" in
# application/zip) zip=1 ;;
# application/x-rar) rar=1 ;;
# application/x-7z-compressed) ;;
# *) tar=1 ;;
# esac
# { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \
# { fn=$(bsdtar --list --file "${FILE_PATH}") && bsd=1 && tar=""; } || \
# { [ "$rar" ] && fn=$(unrar lb -p- -- "${FILE_PATH}"); } || \
# { [ "$zip" ] && fn=$(zipinfo -1 -- "${FILE_PATH}"); } || return
#
# fn=$(echo "$fn" | python -c "import sys; import mimetypes as m; \
# [ print(l, end='') for l in sys.stdin if \
# (m.guess_type(l[:-1])[0] or '').startswith('image/') ]" |\
# sort -V | head -n 1)
# [ "$fn" = "" ] && return
# [ "$bsd" ] && fn=$(printf '%b' "$fn")
#
# [ "$tar" ] && tar --extract --to-stdout \
# --file "${FILE_PATH}" -- "$fn" > "${IMAGE_CACHE_PATH}" && exit 6
# fe=$(echo -n "$fn" | sed 's/[][*?\]/\\\0/g')
# [ "$bsd" ] && bsdtar --extract --to-stdout \
# --file "${FILE_PATH}" -- "$fe" > "${IMAGE_CACHE_PATH}" && exit 6
# [ "$bsd" ] || [ "$tar" ] && rm -- "${IMAGE_CACHE_PATH}"
# [ "$rar" ] && unrar p -p- -inul -- "${FILE_PATH}" "$fn" > \
# "${IMAGE_CACHE_PATH}" && exit 6
# [ "$zip" ] && unzip -pP "" -- "${FILE_PATH}" "$fe" > \
# "${IMAGE_CACHE_PATH}" && exit 6
# [ "$rar" ] || [ "$zip" ] && rm -- "${IMAGE_CACHE_PATH}"
# ;;
esac
# openscad_image() {
# TMPPNG="$(mktemp -t XXXXXX.png)"
# openscad --colorscheme="${OPENSCAD_COLORSCHEME}" \
# --imgsize="${OPENSCAD_IMGSIZE/x/,}" \
# -o "${TMPPNG}" "${1}"
# mv "${TMPPNG}" "${IMAGE_CACHE_PATH}"
# }
# case "${FILE_EXTENSION_LOWER}" in
# ## 3D models
# ## OpenSCAD only supports png image output, and ${IMAGE_CACHE_PATH}
# ## is hardcoded as jpeg. So we make a tempfile.png and just
# ## move/rename it to jpg. This works because image libraries are
# ## smart enough to handle it.
# csg|scad)
# openscad_image "${FILE_PATH}" && exit 6
# ;;
# 3mf|amf|dxf|off|stl)
# openscad_image <(echo "import(\"${FILE_PATH}\");") && exit 6
# ;;
# esac
}
handle_mime() {
local mimetype="${1}"
case "${mimetype}" in
## RTF and DOC
text/rtf|*msword)
## Preview as text conversion
## note: catdoc does not always work for .doc files
## catdoc: http://www.wagner.pp.ru/~vitus/software/catdoc/
catdoc -- "${FILE_PATH}" && exit 5
exit 1;;
## DOCX, ePub, FB2 (using markdown)
## You might want to remove "|epub" and/or "|fb2" below if you have
## uncommented other methods to preview those formats
*wordprocessingml.document|*/epub+zip|*/x-fictionbook+xml)
## Preview as markdown conversion
pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
exit 1;;
## XLS
*ms-excel)
## Preview as csv conversion
## xls2csv comes with catdoc:
## http://www.wagner.pp.ru/~vitus/software/catdoc/
xls2csv -- "${FILE_PATH}" && exit 5
exit 1;;
## Text
text/* | */xml)
## Syntax highlight
if [[ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]]; then
exit 2
fi
if [[ "$( tput colors )" -ge 256 ]]; then
local pygmentize_format='terminal256'
local highlight_format='xterm256'
else
local pygmentize_format='terminal'
local highlight_format='ansi'
fi
env HIGHLIGHT_OPTIONS="${HIGHLIGHT_OPTIONS}" highlight \
--out-format="${highlight_format}" \
--force -- "${FILE_PATH}" && exit 5
env COLORTERM=8bit bat --color=always --style="plain" \
-- "${FILE_PATH}" && exit 5
pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}"\
-- "${FILE_PATH}" && exit 5
exit 2;;
## DjVu
image/vnd.djvu)
## Preview as text conversion (requires djvulibre)
djvutxt "${FILE_PATH}" | fmt -w "${PV_WIDTH}" && exit 5
exiftool "${FILE_PATH}" && exit 5
exit 1;;
## Image
image/*)
## Preview as text conversion
# img2txt --gamma=0.6 --width="${PV_WIDTH}" -- "${FILE_PATH}" && exit 4
exiftool "${FILE_PATH}" && exit 5
exit 1;;
## Video and audio
video/* | audio/*)
mediainfo "${FILE_PATH}" && exit 5
exiftool "${FILE_PATH}" && exit 5
exit 1;;
esac
}
handle_fallback() {
echo '----- File Type Classification -----' && file --dereference --brief -- "${FILE_PATH}" && exit 5
exit 1
}
MIMETYPE="$( file --dereference --brief --mime-type -- "${FILE_PATH}" )"
if [[ "${PV_IMAGE_ENABLED}" == 'True' ]]; then
handle_image "${MIMETYPE}"
fi
handle_extension
handle_mime "${MIMETYPE}"
handle_fallback
exit 1

View file

@ -1,66 +0,0 @@
; ristretto GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/RsttoWindow/zoom-out" "<Primary>minus")
; (gtk_accel_path "<Actions>/RsttoWindow/first" "Home")
; (gtk_accel_path "<Actions>/RsttoWindow/sort-filetype" "")
; (gtk_accel_path "<Actions>/RsttoWindow/flip-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/rotate-cw" "<Primary>bracketright")
; (gtk_accel_path "<Actions>/RsttoWindow/size-smaller" "")
; (gtk_accel_path "<Actions>/RsttoWindow/delete" "Delete")
; (gtk_accel_path "<Actions>/RsttoWindow/view-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/rotate-ccw" "<Primary>bracketleft")
; (gtk_accel_path "<Actions>/RsttoWindow/quit" "<Primary>q")
; (gtk_accel_path "<Actions>/RsttoWindow/zoom-100" "<Primary>0")
; (gtk_accel_path "<Actions>/RsttoWindow/fullscreen" "F11")
; (gtk_accel_path "<Actions>/RsttoWindow/pos-bottom" "")
; (gtk_accel_path "<Actions>/RsttoWindow/file-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/help-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/sorting-menu" "")
(gtk_accel_path "<Window>/next-image" "Page_Down")
; (gtk_accel_path "<Actions>/RsttoWindow/show-statusbar" "")
(gtk_accel_path "<Actions>/RsttoWindow/play" "F5")
; (gtk_accel_path "<Actions>/RsttoWindow/zoom-fit" "<Primary>equal")
; (gtk_accel_path "<Actions>/RsttoWindow/thumbnailbar-position-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/go-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/flip-horizontally" "<Primary>braceright")
; (gtk_accel_path "<Actions>/RsttoWindow/sort-filename" "")
; (gtk_accel_path "<Actions>/RsttoWindow/show-thumbnailbar" "<Primary>m")
; (gtk_accel_path "<Actions>/RsttoWindow/thumbnailbar-size-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/edit-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/set-as-wallpaper" "")
; (gtk_accel_path "<Actions>/RsttoWindow/pos-left" "")
; (gtk_accel_path "<Actions>/RsttoWindow/contents" "F1")
; (gtk_accel_path "<Actions>/RsttoWindow/pos-top" "")
; (gtk_accel_path "<Actions>/RsttoWindow/clear-private-data" "<Primary><Shift>Delete")
; (gtk_accel_path "<Actions>/RsttoWindow/flip-vertically" "<Primary>braceleft")
; (gtk_accel_path "<Actions>/RsttoWindow/size-normal" "")
; (gtk_accel_path "<Actions>/RsttoWindow/save-copy" "<Primary>s")
; (gtk_accel_path "<Actions>/RsttoWindow/preferences" "")
; (gtk_accel_path "<Actions>/RsttoWindow/size-menu" "")
(gtk_accel_path "<Window>/fullscreen" "f")
(gtk_accel_path "<Window>/refresh" "<Primary>r")
(gtk_accel_path "<Window>/unfullscreen" "Escape")
; (gtk_accel_path "<Actions>/RsttoWindow/size-very-large" "")
; (gtk_accel_path "<Actions>/RsttoWindow/show-toolbar" "")
; (gtk_accel_path "<Actions>/RsttoWindow/back" "BackSpace")
; (gtk_accel_path "<Actions>/RsttoWindow/size-very-small" "")
; (gtk_accel_path "<Actions>/RsttoWindow/pos-right" "")
; (gtk_accel_path "<Actions>/RsttoWindow/about" "")
; (gtk_accel_path "<Actions>/RsttoWindow/size-larger" "")
; (gtk_accel_path "<Actions>/RsttoWindow/close" "<Primary>w")
; (gtk_accel_path "<Actions>/RsttoWindow/last" "End")
; (gtk_accel_path "<Actions>/RsttoWindow/size-large" "")
; (gtk_accel_path "<Actions>/RsttoWindow/zoom-in" "<Primary>plus")
(gtk_accel_path "<Window>/previous-image" "Page_Up")
; (gtk_accel_path "<Actions>/RsttoWindow/position-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/forward" "space")
; (gtk_accel_path "<Actions>/RsttoWindow/open-with-menu" "")
(gtk_accel_path "<Window>/quit" "q")
; (gtk_accel_path "<Actions>/RsttoWindow/size-small" "")
; (gtk_accel_path "<Actions>/RsttoWindow/zoom-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/properties" "")
(gtk_accel_path "<Window>/delete" "<Shift>Delete")
; (gtk_accel_path "<Actions>/RsttoWindow/sort-date" "")
; (gtk_accel_path "<Actions>/RsttoWindow/rotation-menu" "")
; (gtk_accel_path "<Actions>/RsttoWindow/open" "<Primary>o")

View file

@ -1 +0,0 @@
rofi.theme: nord

View file

@ -1,3 +0,0 @@
[general]
sorting=1
ordering=1

View file

@ -1,95 +0,0 @@
* {
nord0: #2e3440;
nord1: #3b4252;
nord2: #434c5e;
nord3: #4c566a;
nord4: #d8dee9;
nord5: #e5e9f0;
nord6: #eceff4;
nord7: #8fbcbb;
nord8: #88c0d0;
nord9: #81a1c1;
nord10: #5e81ac;
nord11: #bf616a;
nord12: #d08770;
nord13: #ebcb8b;
nord14: #a3be8c;
nord15: #b48ead;
background-color: @nord1;
border: 0px;
margin: 0px;
padding: 0px;
spacing: 0px;
text-color: @nord4;
}
#window {
width: 33%;
border: 5;
border-color: @nord3;
}
#inputbar {
text-color: @nord3;
padding: 6px;
margin: 0px 0px 2px;
children: [ entry ];
}
#entry {
background-color: @nord3;
text-color: @nord4;
padding: 5px;
}
#message {
border: 0px 0px 1px;
border-color: @nord3;
padding: 0px 0px 6px 7px;
}
#listview {
lines: 10;
padding: 2px 0px 0px;
scrollbar: true;
}
#element {
padding: 0px 0px 0px 7px;
margin: 0px 0px 5px 0px;
text-color: @nord4;
}
#element.normal.normal {
text-color: @nord4;
}
#element.normal.urgent {
text-color: @nord11;
}
#element.normal.active {
text-color: @nord10;
}
#element.alternate.normal {
text-color: @nord4;
}
#element.alternate.urgent {
text-color: @nord11;
}
#element.alternate.active {
text-color: @nord10;
}
#element.selected.normal {
background-color: @nord8;
text-color: @nord1;
}
#element.selected.urgent {
background-color: @nord11;
text-color: @nord4;
}
#element.selected.active {
background-color: @nord10;
text-color: @nord4;
}
#scrollbar {
handle-color: @nord3;
handle-width: 0.50em;
}
#button.selected {
background-color: @nord8;
text-color: @nord4;
}

View file

@ -1,12 +0,0 @@
DMENU_CMD="rofi -dmenu"
RECORD_PIDFILE="/tmp/slip_record.pid"
IMAGES="${HOME}/Pictures/screenshots"
VIDEOS="${HOME}/Videos"
DMENU_PROMPT="slip"
GIF_SCALE="640"
GIF_FPS="15"
SOUND=0
NOUPLOAD=1

372
config/sway/config Normal file
View file

@ -0,0 +1,372 @@
# Keyboard definition
input "type:keyboard" {
xkb_layout us
xkb_variant intl
xkb_options "compose:rwin"
}
input "19266:13912:You_kbd6x" {
xkb_options "compose:rctrl"
}
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_options "compose:rctrl"
}
# Touchpad definition
input type:touchpad {
tap enabled
}
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Displays
set $thinkstation HDMI-A-3
set $thinkstation-work "Iiyama North America PL2483H 1173700204528"
set $thinkpad eDP-1
set $thinkpad-work "Samsung Electric Company SMS24A450/460 HTMC807749"
set $work DP-1
# Workspaces
set $wksp1 "1: Main"
set $wksp2 "2: Dev"
set $wksp3 "3: Social"
set $wksp4 "4: Music"
set $wksp5 "5: Graphics"
set $wksp6 "6: Games"
set $wksp7 "7: Remote"
set $wksp8 "8: -"
set $wksp9 "9: Databases"
set $wksp10 "10: Debugger"
# Colors
set $nord0 #2E3440
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
# Your preferred terminal emulator
set $term /usr/bin/alacritty
# Your preferred application launcher
set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I
# Screen capture
set $ps1 Print
set $ps2 Control+Print
# Modals
set $modalWidth 1280
set $modalHeight 800
### Screens definitions
#
# Thinkstation
output $thinkstation resolution 3440x1440@100Hz position 0 0 adaptive_sync on
output $thinkstation-work resolution 1920x1080@60Hz position 3440 0 transform 270 adaptive_sync on
# Thinkpad
output $thinkpad resolution 1920x1080 position 1920 785
output $thinkpad-work resolution 1920x1080 position 0 0
### Gnome settings
#
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Nordic'
gsettings set $gnome-schema icon-theme 'NordArc-Icons'
gsettings set $gnome-schema cursor-theme 'ComixCursors-Opaque-White'
gsettings set $gnome-schema font-name 'Source Code Pro for Powerline 9'
gsettings set $gnome-schema monospace-font-name 'Source Code Pro for Powerline 9'
gsettings set $gnome-schema document-font-name 'Source Code Pro for Powerline 9'
gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Source Code Pro for Powerline 9'
gsettings set org.gnome.desktop.wm.preferences button-layout ''
gsettings set org.gnome.desktop.default-applications.terminal exec $term
gsettings set org.gnome.desktop.default-applications.terminal exec-arg ''
}
### Idle configuration
#
exec swayidle -w \
timeout 300 'swaylock -f' \
timeout 305 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f'
### Autostart
#
exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
exec gnome-keyring-daemon
#exec /usr/bin/libinput-gestures
#exec nm-applet --indicator
exec kdeconnect-indicator
exec mako
exec nextcloud --background
exec remmina -i
exec $term
exec firefox
exec spotify
exec signal-desktop --use-tray-icon
exec teams
exec mpd
exec libinput-gestures-setup start
# Set focus on main screen
exec ~/bin/autoFocus.sh
### Window config
#
for_window [app_id=".*"] border pixel 4
# Auto move on Workspace
for_window [class="Signal"] move container to workspace $wksp3
for_window [class="Teams"] move container to workspace $wksp3
for_window [class="Slack"] move container to workspace $wksp3
for_window [class="Spotify"] move container to workspace $wksp4
# Open as floating
for_window [class="Geeqie"] floating enable
for_window [class="com-sun-javaws-Main"] floating enable
for_window [app_id="Alacritty" title="Pulse Mixer"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="Calendar"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="File Browser"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="Ncdu"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="Top"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="Audio Visualizer"] floating enable, resize set $modalWidth $modalHeight
for_window [app_id="Alacritty" title="Music Player Client"] floating enable, resize set $modalWidth $modalHeight
### Key bindings
#
# Start a terminal
bindsym $mod+Return exec $term
# Kill focused window
bindsym control+q kill
# Start your launcher
bindsym Alt+space exec $menu
# lock screen
bindsym $mod+Alt+l exec swaylock -f
# Reload the configuration file
bindsym $mod+Shift+r reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+x exec swaynag -t warning -m 'End session?' -b 'Yes, exit sway' 'swaymsg exit'
# File Browser
bindsym $mod+f exec "$term -t 'File Browser' -e ranger"
# Disk Usage
bindsym $mod+Shift+f exec "$term -t 'Ncdu' -e 'ncdu --color=dark'"
# Top
bindsym $mod+t exec "$term -t 'Top' -e bpytop"
# Calendar
bindsym $mod+c exec "$term -t 'Calendar' -e khal interactive"
# Dismiss last notification
bindsym $mod+n exec makoctl dismiss
# Do not disturb
bindsym $mod+d exec makoctl set-mode do-not-disturb
bindsym $mod+Shift+d exec "makoctl set-mode default && makoctl restore"
# Multimedia keys
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioPlay exec mpc toggle
bindsym XF86AudioPrev exec mpc prev
bindsym XF86AudioNext exec mpc next
bindsym $mod+shift+p exec "$term -t 'Pulse Mixer' -e pulsemixer"
bindsym $mod+shift+m exec "$term -t 'Music Player Client' -e ncmpcpp"
bindsym $mod+shift+v exec "$term -t 'Audio Visualizer' -e cava"
# Screen
bindsym $mod+p exec "swaymsg output $work toggle"
#
# Brightness
bindsym XF86MonBrightnessDown exec brightnessctl s 64-
bindsym XF86MonBrightnessUp exec brightnessctl s 64+
# Screenshots
bindsym $ps1 exec grim ~/Pictures/Screenshots/ps_$(date +"%Y%m%d%H%M%S").png
bindsym $ps2 exec grim -g "$(slurp)" ~/Pictures/Screenshots/ps_selection_$(date +"%Y%m%d%H%M%S").png
# Moving around:
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Move focussed workspace
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# Workspaces:
bindsym $mod+1 workspace $wksp1
bindsym $mod+2 workspace $wksp2
bindsym $mod+3 workspace $wksp3
bindsym $mod+4 workspace $wksp4
bindsym $mod+5 workspace $wksp5
bindsym $mod+6 workspace $wksp6
bindsym $mod+7 workspace $wksp7
bindsym $mod+8 workspace $wksp8
bindsym $mod+9 workspace $wksp9
bindsym $mod+0 workspace $wksp10
# switch to previous/next workspace
bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $wksp1
bindsym $mod+Shift+2 move container to workspace $wksp2
bindsym $mod+Shift+3 move container to workspace $wksp3
bindsym $mod+Shift+4 move container to workspace $wksp4
bindsym $mod+Shift+5 move container to workspace $wksp5
bindsym $mod+Shift+6 move container to workspace $wksp6
bindsym $mod+Shift+7 move container to workspace $wksp7
bindsym $mod+Shift+8 move container to workspace $wksp8
bindsym $mod+Shift+9 move container to workspace $wksp9
bindsym $mod+Shift+0 move container to workspace $wksp10
# Layout stuff:
bindsym $mod+backslash splith
bindsym $mod+minus splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+Mod1+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Resizing containers
bindsym $mod+r mode "resize"
mode "resize" {
bindsym h resize shrink width 10px
bindsym j resize grow height 10px
bindsym k resize shrink height 10px
bindsym l resize grow width 10px
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Mode containers
bindsym $mod+m mode "move"
mode "move" {
bindsym h move left 10px
bindsym j move down 10px
bindsym k move up 10px
bindsym l move right 10px
bindsym Return mode "default"
bindsym Escape mode "default"
}
### Default placement
#
workspace $wksp1 output $thinkstation
workspace $wksp2 output $thinkstation
workspace $wksp3 output $thinkstation
workspace $wksp4 output $thinkstation
workspace $wksp5 output $thinkstation
workspace $wksp6 output $thinkstation
workspace $wksp7 output $thinkstation
workspace $wksp8 output $thinkstation
workspace $wksp9 output $work
workspace $wksp10 output $work
### Default workspace layout
#
workspace_layout tabbed
### Status Bar:
#
bar {
swaybar_command waybar
}
### gaps
#
gaps inner 10
gaps outer -5
smart_gaps off
### Titlebars
#
default_border pixel 4
default_floating_border normal
hide_edge_borders smart
titlebar_padding 5 2
### Colors
#
client.focused $nord10 $nord0 $nord4 $nord10 $nord10
client.focused_inactive $nord1 $nord1 $nord4 $nord3 $nord3
client.unfocused $nord2 $nord2 $nord4 $nord3 $nord3
client.urgent $nord11 $nord11 $nord4 $nord12 $nord12
### Background
#
output * bg /home/dbroqua/.wallpaper fill
### Include other
#
include /etc/sway/config.d/*

22
config/swaylock/config Normal file
View file

@ -0,0 +1,22 @@
image=/home/dbroqua/Nextcloud/images/Wallpaper/Nord\ Theme/lock.png
font=Droid Sans Mono Slashed for Powerline
indicator-radius=100
indicator-thickness=20
key-hl-color=81a1c1
separator-color=3b4252
layout-border-color=5e81ac
layout-bg-color=5e81ac
line-color=5e81ac
inside-clear-color=5e81ac
inside-ver-color=81a1c1
inside-wrong-color=bf616a
ring-color=5e81ac
ring-clear-color=5e81ac
ring-ver-color=81a1c1
ring-wrong-color=bf616a
line-uses-inside

View file

@ -1 +0,0 @@
/usr/lib/systemd/user/ssh-agent.service

View file

@ -1,2 +0,0 @@
[Install]
WantedBy=default.target

Some files were not shown because too many files have changed in this diff Show more