Compare commits

..

34 Commits

Author SHA1 Message Date
8aa3821080 Merge remote-tracking branch 'nixos-config/experimental' into nixos-experimental 2023-05-21 14:17:42 +02:00
c7d288fa81 Add kde connect tray icon 2023-05-20 20:11:03 +02:00
4cc5b86818 Set proper timeout for swayidle 2023-05-16 19:01:20 +02:00
0f9d6229a7 Add swayidle (10s) for testing 2023-05-16 18:54:01 +02:00
934e90ab8d Enable gtklock pam service 2023-05-16 18:46:50 +02:00
df1e183511 move gtklock to system 2023-05-16 18:38:46 +02:00
9df1d85751 Add programs, modify hyprland config
Thunderbird added
    swayidle for idle management
    gtklock as screen locker
    use insensitive matching in wofi
2023-05-16 18:32:45 +02:00
a5828d0887 Try this 2023-05-16 17:46:21 +02:00
1e05c660e6 move unfree variable 2023-05-16 17:43:40 +02:00
63937b5ae3 Allow unfree packages in home-manager 2023-05-16 17:41:02 +02:00
bf50c28fb8 Disable managed dunst for now 2023-05-16 17:37:32 +02:00
e451e12afe Bunch of changes
Replace mako with dunst and use current config
    Add udiskie and autostart
2023-05-16 17:36:02 +02:00
e36904f6fa Disable libreoffice config copy. This is causing issues where LO crashes 2023-05-16 17:19:48 +02:00
a206dab8bc Autoformat + modified Options shown using "lsblkf" 2023-05-07 13:10:24 +02:00
9204d2e166 That package doesn't work either 2023-05-06 21:42:42 +02:00
1b52f6e501 Change package used 2023-05-06 21:37:21 +02:00
05863512d2 Add packages 2023-05-06 21:31:50 +02:00
e2ab7a3180 Try modifying format to new standard 2023-05-06 21:23:15 +02:00
f56ab9af66 Further testing required to use a variable for the identity file path 2023-05-06 21:15:02 +02:00
c83d83ad35 Fix temporary test 2023-05-06 21:07:00 +02:00
5de42c6c60 Test variable correctness 2023-05-06 21:05:58 +02:00
f4dddb86f9 Fix ssh config format 2023-05-06 20:57:11 +02:00
fee1d0c3a9 Add TODO note for calibre config 2023-05-05 15:00:38 +02:00
5d9fc0c522 Huge batch of user configurations has been copied or implemented to nix
New configs for:
    - kitty
    - libreoffice
    - fonts
    - transmission remote
    - ssh

    Calibre is still TODO, once I figure out what the important bits
    are.
    Same goes for Firefox, which might be more complex
2023-05-05 14:58:36 +02:00
20a7f9bf97 Revert "Replace path with nix/store path"
This reverts commit c3add670df.
2023-05-05 13:15:46 +02:00
c3add670df Replace path with nix/store path 2023-05-05 12:56:23 +02:00
b121ecc864 Add source for builting envs 2023-05-05 12:56:17 +02:00
ddf158c389 Use variables where possible
Path to openssh package is accessed using ${pkgs.openssh}
    Variable for ssh socket is set based on the built in XDG_RUNTIME_DIR variable
2023-05-05 12:33:33 +02:00
8a42523a9f Set a default terminal variable 2023-05-05 12:33:12 +02:00
c629bc0078 Add containerisation programs for nix 2023-05-05 11:47:53 +02:00
219a15bbc6 Openbox is not really working for me. try using lxqt 2023-05-05 11:25:16 +02:00
f4b8420aa7 Make it easier to debug all installed applications 2023-05-04 20:55:31 +02:00
98ac24e61c Openbox added to make debugging in VMs possible 2023-05-04 20:50:42 +02:00
27ff3d316a Add open-vm-tools for vmware 2023-05-04 16:04:37 +02:00
593 changed files with 36616 additions and 24102 deletions

1
.gitattributes vendored
View File

@ -1 +0,0 @@
* text=auto eol=lf

4
.gitignore vendored
View File

@ -1,4 +0,0 @@
/music-normalize/venv/
/music-normalize/*.log
/easyffmpeg/venv/
/venv/

View File

@ -1,45 +0,0 @@
Main repository location is [https://gitea.exu.li/RealStickman/configs](https://gitea.exu.li/RealStickman/configs)
# Configs
All my config files, scripts and other in one place.
Mostly focused on ArchLinux, although there is also a NixOS configuration and independent Python programs.
## ArchLinux
- [arch-config](./arch-config)
- [arch-setup](./arch-setup)
- [arch-themes](./arch-themes)
### First time installation
Enable the `multilib` repository in `/etc/pacman.conf`
```sh
git clone https://gitea.exu.li/realstickman/configs.git
cd configs/arch-setup
./install.sh
```
### Config updates
Either use the included alias
```sh
upconf
```
or run the script directly.
```sh
~/scripts/arch-config.sh
```
## NixOS
- [nixos-config](./nixos-config)
## Other
- [easyffmpeg](./easyffmpeg)
- [music-normalize](./music-normalize)

View File

@ -2,7 +2,7 @@
! https://terminal.sexy
! ------------------------------------------------------------------------------
!per-device dpi insert
!Xcursor.theme: Breeze_Snow
Xcursor.theme: capitaine-cursors-light

123
arch-config/.bashrc Executable file
View File

@ -0,0 +1,123 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export HISTCONTROL=ignoreboth:erasedups
PS1='[\u@\h \W]\$ '
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.emacs.d/bin/" ] ;
then PATH="$HOME/.emacs.d/bin/:$PATH"
fi
# environment variables
#export VISUAL="/usr/bin/emacs --no-window-system"
#export EDITOR="/usr/bin/emacs --no-window-system"
export VISUAL="/usr/bin/vim"
export EDITOR="/usr/bin/vim"
#update config
#alias upconf='$HOME/scripts/arcolinux-config.sh'
#list
alias ls='ls --color=auto'
#alias la='ls -a'
#alias ll='ls -la'
#alias l='ls'
#alias l.="ls -A | egrep '^\.'"
#fix obvious typo's
#alias cd..='cd ..'
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
#continue download
alias wget="wget -c"
# Aliases for software managment
alias pacman='pacman --color auto'
#alias update='yay -Syu'
alias update='paru -Syu --sudoloop --newsonupgrade'
#grub update
#alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
#check vulnerabilities microcode
#alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*'
#get fastest mirrors in your neighborhood
#alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
#alias mirror-delay="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
#alias mirror-score="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
#alias mirror-age="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
#mounting the folder Public for exchange between host and guest on virtualbox
#alias vbm="sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Public /home/$USER/Public"
#youtube-dl
#alias yta-aac="youtube-dl --extract-audio --audio-format aac "
#alias yta-best="youtube-dl --extract-audio --audio-format best "
#alias yta-flac="youtube-dl --extract-audio --audio-format flac "
#alias yta-m4a="youtube-dl --extract-audio --audio-format m4a "
#alias yta-mp3="youtube-dl --extract-audio --audio-format mp3 "
#alias yta-opus="youtube-dl --extract-audio --audio-format opus "
#alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis "
#alias yta-wav="youtube-dl --extract-audio --audio-format wav "
#alias ytv-best="youtube-dl -f bestvideo+bestaudio "
#Cleanup orphaned packages
#alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
#get the error messages from journalctl
#alias jctl="journalctl -p 3 -xb"
#shutdown or reboot
#alias ssn="sudo shutdown now"
#alias sr="sudo reboot"
#cpu-x as sudo
#alias cpu-x="sudo cpu-x"
# # ex = EXtractor for all kinds of archives
# # usage: ex <file>
#ex ()
#{
# if [ -f $1 ] ; then
# case $1 in
# *.tar.bz2) tar xjf $1 ;;
# *.tar.gz) tar xzf $1 ;;
# *.bz2) bunzip2 $1 ;;
# *.rar) unrar x $1 ;;
# *.gz) gunzip $1 ;;
# *.tar) tar xf $1 ;;
# *.tbz2) tar xjf $1 ;;
# *.tgz) tar xzf $1 ;;
# *.zip) unzip $1 ;;
# *.Z) uncompress $1;;
# *.7z) 7z x $1 ;;
# *.deb) ar x $1 ;;
# *.tar.xz) tar xf $1 ;;
# *) echo "'$1' cannot be extracted via ex()" ;;
# esac
# else
# echo "'$1' is not a valid file"
# fi
#}
#execute stuff
#neofetch

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

View File

@ -26,7 +26,7 @@ check_size=14
textless_progressbar=false
progressbar_thickness=2
menubar_mouse_tracking=true
toolbutton_style=0
toolbutton_style=1
double_click=false
translucent_windows=false
blurring=false

4
arch-config/.config/MangoHud/MangoHud.conf Normal file → Executable file
View File

@ -67,5 +67,5 @@ output_file /home/marc/Dokumente/mangohud.log
################## INTERACTION #################
### Change toggle keybinds for the hud & logging
toggle_hud=Shift_L+F12
toggle_logging=Shift_L+F2
toggle_hud=F12
toggle_logging=F2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
; thunar GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/ThunarBookmarks/fab0a703c3165b9ea6d4a2e40b570272" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/134cf305a61c72f784680835c93c28fd" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
@ -8,17 +9,17 @@
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
(gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>q")
; (gtk_accel_path "<Actions>/ThunarBookmarks/08190896767b4c5b3aca87d292280951" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size" "")
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
(gtk_accel_path "<Actions>/ThunarWindow/new-window" "")
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
(gtk_accel_path "<Actions>/ThunarWindow/close-window" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
; (gtk_accel_path "<Actions>/ThunarBookmarks/ac3bbb1429c4180d34b90e935eaeaa7b" "")
(gtk_accel_path "<Actions>/ThunarWindow/open-parent" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size-in-bytes" "")
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
; (gtk_accel_path "<Actions>/ThunarBookmarks/3873ca37b4cacc4a75103c1d72f2881d" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open" "<Primary>o")
; (gtk_accel_path "<Actions>/ThunarBookmarks/3cb76eced52269e016bf542f6d20d431" "")
(gtk_accel_path "<Actions>/ThunarActionManager/open" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-split-view" "F3")
; (gtk_accel_path "<Actions>/ThunarActionManager/copy-2" "<Primary>Insert")
@ -26,105 +27,106 @@
; (gtk_accel_path "<Actions>/ThunarWindow/open-recent" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-configure-toolbar" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
; (gtk_accel_path "<Actions>/ThunarBookmarks/9f9804d3a8acb92d2796c0e9ee791891" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/restore" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
(gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/0d63283611773acfd219c84ae028d009" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/ThunarBookmarks/19f953f02c553b8f69ced365ba757ac6" "")
(gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>minus")
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
(gtk_accel_path "<Actions>/ThunarWindow/contents" "")
; (gtk_accel_path "<Actions>/ThunarWindow/show-highlight" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/fa995596d306394304092cb795bd9249" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
; (gtk_accel_path "<Actions>/ThunarActionManager/execute" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
(gtk_accel_path "<Actions>/ThunarStandardView/properties" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/cut-2" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-dtime" "")
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/paste-2" "<Shift>Insert")
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-filetype" "")
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
(gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
(gtk_accel_path "<Actions>/ThunarActions/uca-action-1666515885637912-1" "<Primary>Return")
; (gtk_accel_path "<Actions>/ThunarBookmarks/310a68ed4e8d7e3153dbac6fd6f8509e" "")
; (gtk_accel_path "<Actions>/ThunarWindow/cancel-search" "Escape")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "<Primary>d")
(gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/undo" "<Primary>z")
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt" "F5")
(gtk_accel_path "<Actions>/ThunarActions/uca-action-1666515885637912-1" "<Primary>Return")
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-entry" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/paste" "<Primary>v")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>plus")
(gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
; (gtk_accel_path "<Actions>/ThunarBookmarks/f510f7aff94514b6fe1d3144f3a8f7e6" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
(gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/restore-show" "")
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-display-name" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>KP_Subtract")
; (gtk_accel_path "<Actions>/ThunarBookmarks/d560a9adc56f1eaa2739d7e989051c36" "")
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
; (gtk_accel_path "<Actions>/ThunarWindow/remove-from-recent" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-with-other" "")
(gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "<Primary>i")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
(gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
(gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/bd09eece7395e751859c8153dca05324" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/ef49cad9a2b186bac59b8de045e0f5d4" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
(gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>KP_Add")
; (gtk_accel_path "<Actions>/ThunarStandardView/configure-columns" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
(gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/search" "<Primary>f")
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>KP_0")
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "<Primary><Shift>p")
(gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-buttons" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/redo" "<Primary><Shift>z")
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/ThunarBookmarks/7d2c0d8f2cb46dda0c77c334948613d9" "")
(gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/356c14bf86880b16a82a896aac1ea75d" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")
; (gtk_accel_path "<Actions>/ThunarBookmarks/efbd1f6870be1a5a9ee9ba157935b388" "")
(gtk_accel_path "<Actions>/ThunarActions/uca-action-1666516933235505-2" "<Primary>f")
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/ThunarBookmarks/74a0c1a83380d0d00d6f74dca466afd3" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
; (gtk_accel_path "<Actions>/ThunarBookmarks/5d391c8566bd12aa7597c7e7eb5e3ba3" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/c7ad40fbe8c84e920c6c1969eef9562f" "")
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
(gtk_accel_path "<Actions>/ThunarWindow/open-home" "")
(gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/set-default-app" "")
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt" "BackSpace")
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/delete" "")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
(gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>KP_0")
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>0")
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")

View File

@ -5,7 +5,7 @@
<name>Als root öffnen</name>
<submenu></submenu>
<unique-id>1673031093097554-1</unique-id>
<command>thunar admin://%f</command>
<command>gksu thunar %f</command>
<description>Verzeichnis als root-Nutzer öffnen</description>
<range>*</range>
<patterns>*</patterns>

View File

@ -0,0 +1,15 @@
# configuration file for betterlockscreen
insidecolor=00000000
ringcolor=ffffffff
keyhlcolor=d23c3dff
bshlcolor=d23c3dff
separatorcolor=00000000
insidevercolor=00000000
insidewrongcolor=d23c3dff
ringvercolor=ffffffff
ringwrongcolor=ffffffff
verifcolor=ffffffff
timecolor=ffffffff
datecolor=ffffffff
loginbox=00000066

View File

@ -1,4 +0,0 @@
{
"last_used_colors": "Grass",
"last_used_style": "Banner"
}

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>lineedit_history_xpath_edit_opt_chapter</key>
<array>
<string>//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']</string>
</array>
</dict>
</plist>

View File

@ -1,7 +0,0 @@
{
"domain": "uk",
"ignore_fields": [],
"prefer_kindle_edition": true,
"server": "auto",
"use_mobi_asin": true
}

View File

@ -1,4 +0,0 @@
{
"ignore_fields": [],
"max_covers": 5
}

View File

@ -1,3 +0,0 @@
{
"ignore_fields": []
}

View File

@ -1,3 +0,0 @@
{
"ignore_fields": []
}

View File

@ -1,3 +0,0 @@
{
"ignore_fields": []
}

View File

@ -1,11 +0,0 @@
{
"cover_priorities": {
"Big Book Search": 2,
"Goodreads": 3,
"Google": 2,
"Google Images": 2
},
"fewer_tags": true,
"ignore_fields": [],
"max_tags": 10
}

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2023-04-10T10:35:20.777836+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-11-20T15:35:00.247364+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:50:07.509747+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:31:20.263632+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:37:54.172700+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/4/2/4/2[a5PJ]/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-12-04T16:16:28.286306+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:25:34.457262+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:49:27.560671+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:43:05.062150+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:25:27.348131+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/4/2/4[il-libro]/4/4/10/1:42)", "pos_type": "epubcfi", "timestamp": "2023-06-18T14:56:01.898291+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T17:04:54.458046+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:31:11.472884+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:18:37.552302+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:59:22.091126+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:23:24.007208+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:38:49.524397+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/4/2/4/2/1:27)", "pos_type": "epubcfi", "timestamp": "2023-09-24T19:05:00.748840+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@49.95:50)", "pos_type": "epubcfi", "timestamp": "2023-09-24T17:53:58.292677+00:00", "type": "last-read"}]

View File

@ -1 +0,0 @@
[{"pos": "epubcfi(/2/2/4/2@50:50)", "pos_type": "epubcfi", "timestamp": "2022-09-18T16:14:39.273516+00:00", "type": "last-read"}]

468
arch-config/.config/dunst/dunstrc Executable file
View File

@ -0,0 +1,468 @@
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = mouse
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "500x0-30+20"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 0
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = auto
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120
### Text ###
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://developer.gnome.org/pango/stable/pango-Markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b> <i>%a</i>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = center
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /usr/share/icons/Surfn/24/status/:/usr/share/icons/Surfn/24/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 10
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default,
# invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = close_all
mouse_right_click = do_action
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
#close = ctrl+space
# Close all notifications.
#close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1". Make sure this key actually exists on your keyboard layout,
# e.g. check output of 'xmodmap -pke'
#history = ctrl+grave
# Context menu.
#context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#aaaaaa"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#333333"
foreground = "#ffffff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#555555"
foreground = "#ffffff"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# timeout
# urgency
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
[fullscreen_show]
fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
[dunstify]
appname = "dunstify"
format = "<b>%s</b>\n%b"
script = "/home/marc/scripts/dunst-notification-sound.sh"
[notify-send]
appname = "notify-send"
format = "<b>%s</b>\n%b"
script = "/home/marc/scripts/dunst-notification-sound.sh"
[volume-script]
appname = "volume-script"
format = "<b>%s</b>\n%b"
timeout = 5
script = "/home/marc/scripts/dunst-notification-sound.sh"
[backlight-script]
appname = "backlight-script"
format = "<b>%s</b>\n%b"
timeout = 5
script = "/home/marc/scripts/dunst-notification-sound.sh"
[xfce4-power-manager]
appname = "Power Manager"
summary = "Brightness:*"
format = ""
# vim: ft=cfg
#[play-sound]
# summary = "*"
# script = "/home/marc/scripts/dunst-notification-sound.sh"
[Evolution-sound]
appname = "evolution-mail-notification"
script = "/home/marc/scripts/dunst-notification-sound.sh"

View File

@ -1,2 +0,0 @@
--enable-features=UseOzonePlatform
--ozone-platform=wayland

View File

@ -1,2 +0,0 @@
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto

View File

@ -81,8 +81,7 @@ set EDITOR /usr/bin/nvim
set VISUAL /usr/bin/nvim
# add paths
set fish_user_paths "$HOME/.emacs.d/bin/" $fish_user_paths # old path
set fish_user_paths "$HOME/.config/emacs/bin/" $fish_user_paths # new path
set fish_user_paths "$HOME/.emacs.d/bin/" $fish_user_paths
set fish_user_paths "$HOME/scripts/in_path" $fish_user_paths
set fish_user_paths "$HOME/.local/bin" $fish_user_paths
set fish_user_paths "$HOME/node_modules/.bin/" $fish_user_paths

109
arch-config/.config/fontconfig/fonts.conf Normal file → Executable file
View File

@ -1,58 +1,59 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintfull</const>
</edit>
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<!-- Previous options: Droid Serif, Droid Sans, Droid Sans, Droid Sans Mono, Droid Sans Mono -->
<!-- 08.12.2020 options: Droid Serif, Fira Sans, Fira Sans, Fira Code, Fira Code -->
<!-- 22.07.2023 options: Droid Serif, Fira Sans, Fira Sans, Fira Mono, Fira Mono -->
<alias>
<family>serif</family>
<prefer>
<family>Droid Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Mono</family>
</prefer>
</alias>
<alias>
<family>mono</family>
<prefer>
<family>Fira Mono</family>
</prefer>
</alias>
<match target="font">
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<!-- Previous options: Droid Serif, Droid Sans, Droid Sans, Droid Sans Mono, Droid Sans Mono -->
<!-- 08.12.2020 options: Droid Serif, Fira Sans, Fira Sans, Fira Code, Fira Code -->
<alias>
<family>serif</family>
<prefer>
<family>Droid Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Code</family>
</prefer>
</alias>
<alias>
<family>mono</family>
<prefer>
<family>Fira Code</family>
</prefer>
</alias>
</fontconfig>

1
arch-config/.config/gtk-3.0/settings.ini Normal file → Executable file
View File

@ -1,6 +1,5 @@
[Settings]
gtk-theme-name=Sweet-Dark
gtk-application-prefer-dark-theme = true
gtk-icon-theme-name=Sweet-Rainbow
gtk-font-name=Fira Sans 12
gtk-cursor-theme-name=capitaine-cursors-light

966
arch-config/.config/i3/config Executable file
View File

@ -0,0 +1,966 @@
######################################################################################################################
#####################################################################################################################
################# Start of all the settings #################
#####################################################################################################################
#####################################################################################################################
# NOTE THIS FILE IS OVERWRITTEN WITH THE ONE FROM THEMES!!
# KEY DEFINITIONS TO REMEMBER
# $Mod = WINDOWS key or Super key or Mod4
# Mod1 = ALT key
# Control = CTRL key
# Shift = SHIFT key
# Escape = ESCAPE key
# Return = ENTER or RETURN key
# KP_Enter = Keypad Enter
# Pause = PAUSE key
# Print = PRINT key
# Tab = TAB key
#####################################################################################################################
################# Define the $mod variable/key #################
#####################################################################################################################
# Key to rule them all : Super(Windows) or Alt key?
# Mod4 = Windows or Super key on keyboard
# Mod1 = Alt key on keyboard
#Set Alt key
#set $mod Mod1
#set Super key
set $mod Mod4
#####################################################################################################################
################# Define the movements keys - variables #################
#####################################################################################################################
#This is setup for qwerty
set $up k
set $down j
set $left h
set $right l
#####################################################################################################################
################# Workspaces location #################
#####################################################################################################################
# setting variables for later use
# use xrandr and/or arandr to know the names of your monitors
exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto
# my current setup
#set $firstMonitor DP3
#set $secondMonitor LVDS1
#set $firstMonitor DVI-I-0
#set $secondMonitor HDMI-0
#set $firstMonitor DVI-0
#set $secondMonitor DVI-1
#set $firstMonitor DVI-I-1
#set $secondMonitor DVI-D-1
set $firstMonitor HDMI1
set $secondMonitor HDMI2
workspace 1 output $firstMonitor
workspace 2 output $firstMonitor
workspace 3 output $firstMonitor
workspace 4 output $firstMonitor
workspace 5 output $firstMonitor
workspace 6 output $secondMonitor
workspace 7 output $secondMonitor
workspace 8 output $secondMonitor
workspace 9 output $secondMonitor
workspace 10 output $secondMonitor
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1; workspace 1
bindsym $mod+Shift+2 move container to workspace 2; workspace 2
bindsym $mod+Shift+3 move container to workspace 3; workspace 3
bindsym $mod+Shift+4 move container to workspace 4; workspace 4
bindsym $mod+Shift+5 move container to workspace 5; workspace 5
bindsym $mod+Shift+6 move container to workspace 6; workspace 6
bindsym $mod+Shift+7 move container to workspace 7; workspace 7
bindsym $mod+Shift+8 move container to workspace 8; workspace 8
bindsym $mod+Shift+9 move container to workspace 9; workspace 9
bindsym $mod+Shift+0 move container to workspace 10; workspace 10
#####################################################################################################################
################# how to exit, logoff, suspend, ... #################
#####################################################################################################################
#Press $mod (super) and X to exit - check toolbar for next choices
bindsym $mod+x mode "$mode_system"
set $mode_system System (k) lock, (l) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
mode "$mode_system" {
bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default"
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
#####################################################################################################################
################# reload changed configuration #################
#####################################################################################################################
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# reload the configuration file
bindsym $mod+Shift+c reload
#####################################################################################################################
################# Stopping an application #################
#####################################################################################################################
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+q kill
#####################################################################################################################
################# Moving around in i3 #################
#####################################################################################################################
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# toggle tiling / floating
bindsym $mod+Shift+f floating toggle
# change focus
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#####################################################################################################################
################# moving around workspaces #################
#####################################################################################################################
# next/previous workspace
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
#####################################################################################################################
################# Tiling parameters #################
#####################################################################################################################
# orientation for new workspaces
default_orientation horizontal
# split in horizontal orientation
bindsym $mod+o split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
# qwerty/azerty issue for letter z
bindsym $mod+s layout stacking
bindsym $mod+z layout tabbed
bindsym $mod+e layout toggle split
# change focus between tiling / floating windows
bindsym $mod+t focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
bindsym $mod+d focus child
#####################################################################################################################
################# change modes #################
#####################################################################################################################
bindsym $mod+m mode "$main"
set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l)
mode "$main"{
bindsym s mode "$social"
bindsym g mode "$gaming"
bindsym c mode "$crypto"
bindsym m mode "$media"
bindsym r mode "resize"
bindsym l mode "$layout"
bindsym Return mode "default"
bindsym Escape mode "default"
}
#############################################################################
################## social ##################
#############################################################################
set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t)
mode "$social"{
bindsym d exec --no-startup-id discord --no-sandbox;focus
bindsym e exec --no-startup-id element-desktop;focus
bindsym b exec --no-startup-id telegram-desktop;focus
#bindsym s exec --no-startup-id slack;focus
bindsym s exec --no-startup-id signal-desktop;focus
bindsym t exec --no-startup-id teams;focus
bindsym Return mode "default"
bindsym Escape mode "default"
}
#############################################################################
################## media ##################
#############################################################################
set $media Tauon (t), Celluloid (c), Jellyfin (j)
mode "$media"{
bindsym t exec --no-startup-id tauon;focus
bindsym c exec --no-startup-id celluloid;focus
bindsym j exec --no-startup-id jellyfinmediaplayer;focus
bindsym Return mode "default"
bindsym Escape mode "default"
}
##############################################################################
################# crypto #################
##############################################################################
set $crypto Electrum (b), Electon Cash (c), Monero (m)
mode "$crypto"{
bindsym b exec --no-startup-id electrum;focus
bindsym c exec --no-startup-id electron-cash;focus
bindsym m exec --no-startup-id monero-wallet-gui;focus
bindsym Return mode "default"
bindsym Escape mode "default"
}
##############################################################################
################# gaming #################
##############################################################################
# launch gaming focused programs
set $gaming Lutris (l), Steam (s), Minigalaxy (g), Itch (i), Citra (3DS) (c)
mode "$gaming" {
bindsym l exec --no-startup-id lutris;focus
bindsym s exec --no-startup-id steam-native;focus
bindsym g exec --no-startup-id minigalaxy;focus
bindsym i exec --no-startup-id itch;focus
bindsym c exec --no-startup-id citra-qt;focus
bindsym Return mode "default"
bindsym Escape mode "default"
}
#############################################################################
################### resize ##################
#############################################################################
# resize window (you can also use the mouse for that)
bindsym $mod+r mode "resize"
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing down will shrink the windows height.
# Pressing up will grow the windows height.
bindsym $left resize shrink width 10 px or 10 ppt
bindsym Shift+$left resize shrink width 20 px or 20 ppt
bindsym $up resize grow height 10 px or 10 ppt
bindsym Shift+$up resize grow height 20 px or 20 ppt
bindsym $down resize shrink height 10 px or 10 ppt
bindsym Shift+$down resize shrink height 20 px or 20 ppt
bindsym $right resize grow width 10 px or 10 ppt
bindsym Shift+$right resize grow width 20 px or 20 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Shift+Left resize shrink width 20 px or 20 ppt
bindsym Up resize grow height 10 px or 10 ppt
bindsym Shift+Up resize grow height 20 px or 20 ppt
bindsym Down resize shrink height 10 px or 10 ppt
bindsym Shift+Down resize shrink height 20 px or 20 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Shift+Right resize grow width 20 px or 20 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
##############################################################################
################# start normal layout #################
##############################################################################
# launch programs in the right workspaces
bindsym $mod+w mode "$layout"
set $layout full (f)
mode "$layout" {
bindsym f exec --no-startup-id bash $HOME/.config/i3/scripts/layout-default.sh
#bindsym w exec --no-startup-id bash $HOME/.config/i3/scripts/layout-work.sh
bindsym Return mode "default"
bindsym Escape mode "default"
}
#####################################################################################################################
################# display #################
#####################################################################################################################
# change xrandr display configuration
#bindsym $mod+d mode "$xrandr"
set $xrandr arco-pc 1x hdmi (h), laptop 1x eDPI (l)
mode "$xrandr" {
bindsym h exec --no-startup-id xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output HDMI-A-0 --set "scaling mode" "Full Aspect" --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-1 --off --output DVI-D-0 --off
bindsym l exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
bindsym Return mode "default"
bindsym Escape mode "default"
}
#####################################################################################################################
################# choose the font #################
#####################################################################################################################
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# choose your font
font pango:Noto Mono Regular 9
#####################################################################################################################
################# execute applications at boot time #################
#####################################################################################################################
# TRAY APPLICATIONS
#Authentication dialog
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
#nextcloud
exec --no-startup-id nextcloud
# bluetooth
#exec --no-startup-id blueberry-tray
# network
exec --no-startup-id nm-applet
# num lock activated
exec_always --no-startup-id numlockx on
# volume
#exec --no-startup-id volumeicon
#variety
#exec --no-startup-id variety
#Corectrl
exec --no-startup-id corectrl
#Transmission
#exec --no-startup-id transmission-gtk -m
#Conky
#exec --no-startup-id conky -c ~/.config/i3/system-overview
#Polybar
exec_always --no-startup-id ~/.config/polybar/launch.sh &
#startup functions
#exec_always --no-startup-id ~/scritps/startup.sh
# Protonmail Bridge
exec --no-startup-id protonmail-bridge -no-window
# Start KopiaUI
exec --no-startup-id /opt/KopiaUI/kopia-ui
# PulseEffects
#exec --no-startup-id pulseeffects --gapplication-service
# feh background image
exec --no-startup-id bash $HOME/.fehbg &
# activate flameshot
exec --no-startup-id flameshot &
#####################################################################################################################
################# system applications #################
#####################################################################################################################
# no really good alternatives that are independent. some others to check out:
# there are some scripts that should work with i3
# gnome-power-manager
# mate-power-manager
exec --no-startup-id xfce4-power-manager &
# notifications
exec --no-startup-id /usr/bin/dunst &
# disk management
exec --no-startup-id udiskie --no-automount --tray &
# kde connect
exec --no-startup-id kdeconnect-indicator &
# thunar daemon
#exec --no-startup-id /usr/bin/thunar --daemon &
#####################################################################################################################
################# applications keyboard shortcuts #################
#####################################################################################################################
#terminal
bindsym ctrl+mod1+Return exec --no-startup-id kitty;focus
#System monitor
# potential replacement: lxtask-gtk3
#bindsym ctrl+mod1+r exec --no-startup-id xfce4-taskmanager;focus
#settings
#bindsym ctrl+mod1+s exec --no-startup-id xfce4-settings-manager
#pavucontrol
bindsym ctrl+mod1+u exec --no-startup-id pavucontrol;focus
#rofi
bindsym ctrl+mod1+a exec --no-startup-id rofi -show drun -show-icons
# joplin
bindsym ctrl+mod1+n exec --no-startup-id joplin-desktop;focus
#texteditors
#bindsym ctrl+mod1+e exec --no-startup-id vscodium;focus
bindsym ctrl+mod1+e exec --no-startup-id emacs;focus
# file manager
bindsym ctrl+mod1+t exec --no-startup-id thunar;focus
#bindsym ctrl+mod1+t exec --no-startup-id pcmanfm;focus
#bindsym ctrl+mod1+t exec --no-startup-id nemo;focus
#libreoffice
bindsym ctrl+mod1+l exec --no-startup-id libreoffice;focus
#browsers
bindsym ctrl+mod1+f exec --no-startup-id firefox;focus
#tauon music box
#bindsym ctrl+mod1+m exec --no-startup-id tauon;focus
# jellyamp
#bindsym ctrl+mod1+m exec --no-startup-id "env DESKTOPINTEGRATION=false /usr/bin/Jellyamp";focus
# sublime music
bindsym ctrl+mod1+m exec --no-startup-id sublime-music;focus
# jellyfin media player
bindsym ctrl+mod1+j exec --no-startup-id jellyfinmediaplayer;focus
# mail
bindsym ctrl+mod1+b exec --no-startup-id thunderbird;focus
#bindsym ctrl+mod1+b exec --no-startup-id evolution;focus
#redetect pulseaudio
#bindsym $mod+shift+a exec --no-startup-id bash $HOME/scripts/redetect-audio.sh
# Emoji picker
bindsym ctrl+mod1+p exec --no-startup-id rofi -show emoji
#####################################################################################################################
################# screenshots #################
#####################################################################################################################
#bindsym Print exec --no-startup-id xfce4-screenshooter
#bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter
bindsym Print exec --no-startup-id flameshot gui
bindsym Ctrl+Print exec --no-startup-id flameshot gui -d 2000
#####################################################################################################################
################# floating or tiled #################
#####################################################################################################################
# class = WM_CLASS, title = WM_NAME
##############################
### floating disabled ###
##############################
for_window [class="Bleachbit"] floating disable
for_window [class="Brasero"] floating disable
for_window [class="Gnome-disks"] floating disable
for_window [class="Hexchat"] floating disable
for_window [class="Nitrogen"] floating disable
for_window [class="Pavucontrol"] floating disable
for_window [class="^Spotify$"] floating disable
for_window [class="System-config-printer.py"] floating enable
for_window [class="^Vlc$"] floating disable
for_window [class="Xfburn"] floating disable
for_window [class="Xfce4-settings-manager"] floating disable
# variety
for_window [instance="variety"] floating disable
# epic
for_window [title="Epic Games Launcher"] floating disable
# ubisoft
for_window [title="Ubisoft Connect"] floating disable
# firefox picture in picture
for_window [title="Picture-in-Picture"] floating disable
# system-config-printer
for_window [title="Druckeinstellungen - localhost"] floating disable
# hp printers
for_window [class="hp-toolbox"] floating disable
# balena etcher
for_window [title="Etcher"] floating disable
# jellyamp
for_window [title="Jellyamp"] floating disable
# rule the waves 2
for_window [title="Rule the Waves II - Version 1.21"] floating disable
for_window [title="Rule the Waves II - Version 1.25"] floating disable
for_window [title="Rule the Waves II - Version 1.26"] floating disable
# nextcloud settings
for_window [title="Nextcloud-Einstellungen"] floating disable
# thunderbird calendar
for_window [title="^Edit Event:.*"] floating disable
##############################
### floating enabled ###
##############################
for_window [class="Xfce4-taskmanager"] floating enable
for_window [class="Blueberry.py"] floating enable
for_window [class="Galculator"] floating enable
for_window [class="^Gpick$"] floating enable
for_window [class="Imagewriter"] floating enable
for_window [class="^Gnome-font-viewer$"] floating enable
for_window [class="Peek"] floating enable
for_window [class="^Skype$"] floating enable
for_window [class="Unetbootin.elf"] floating enable
for_window [class="Usb-creator-gtk"] floating enable
for_window [class="Wine"] floating enable
for_window [class="Xfce4-appfinder"] floating enable
for_window [title="Copying"] floating enable
for_window [title="Deleting"] floating enable
for_window [title="Moving"] floating enable
for_window [title="^Terminator Preferences$"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="^Preferences$"] floating enable
for_window [window_role="setup"] floating enable
# ms teams
for_window [title="Microsoft Teams Notification"] floating enable
for_window [title="Microsoft Teams-Benachrichtigung"] floating enable
# vue
for_window [class="tufts-vue-VUE" title="Format"] floating enable
for_window [class="tufts-vue-VUE" title="ColorPopupMenu"] floating enable
#####################################################################################################################
################# variety for your wallpapers #################
#####################################################################################################################
#Variety keybindings mod1 = ALT
# next wallpaper
#bindsym mod1+n exec --no-startup-id variety -n
#bindsym mod1+Right exec --no-startup-id variety -n
# previous wallpaper
#bindsym mod1+p exec --no-startup-id variety -p
#bindsym mod1+Left exec --no-startup-id variety -p
#####################################################################################################################
################# audio settings #################
#####################################################################################################################
bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh up
bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh down
bindsym XF86AudioMute exec --no-startup-id bash $HOME/scripts/dunst-volume.sh mute
#bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
#bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
#bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
#https://github.com/acrisci/playerctl/
#bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPlay exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py play-pause &
#bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioNext exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py next &
#bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86AudioPrev exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py previous &
bindsym XF86AudioStop exec --no-startup-id playerctl stop
#####################################################################################################################
################# xbacklight #################
#####################################################################################################################
bindsym $mod+Shift+u exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
bindsym $mod+Shift+d exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
bindsym XF86MonBrightnessUp exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
bindsym XF86MonBrightnessDown exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
#bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 # increase screen brightness
#bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 # decrease screen brightness
#####################################################################################################################
################# border control #################
#####################################################################################################################
# Border control
hide_edge_borders none
bindsym $mod+u mode "$border"
set $border none (o), pixel (p), normal (n)
mode "$border" {
bindsym o border none
bindsym p border pixel 2
bindsym n border normal 2
bindsym Return mode "default"
bindsym Escape mode "default"
}
#####################################################################################################################
################# Popups control #################
#####################################################################################################################
#Popups during fullscreen mode
popup_during_fullscreen smart
#####################################################################################################################
################# i3 gaps next #################
#####################################################################################################################
# Settings for I3 next gap git
# https://github.com/Airblader/i3/tree/gaps-next
# delete or uncomment the following lines if you do not have it or do not
# want it
# set border and gaps
for_window [class="^.*"] border pixel 2
#gaps inner 3
#gaps outer 3
#####################################################################################################################
################# compton (now picom) of i3wm #################
#####################################################################################################################
#if you want transparency on non-focused windows, ...
exec_always --no-startup-id picom -b --config ~/.config/i3/picom.conf
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
################# bar appearance #################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
#bar {
#
# height 25
# workspace_buttons yes
# font pango:Noto Sans 14
#
# #position top
# position bottom
#
# #system icons
# #tray_output none
# #tray_output $firstMonitor
# #tray_output $secondMonitor
# OPTION 1 : i3status
# type status_command i3status without the config file and
# you will get the standard i3status bar
# Second one is the standard statusbar with my personal settings
#status_command i3status
#status_command i3status -c ~/.config/i3/i3status.conf
# OPTION 2 : i3blocks
# https://github.com/vivien/i3blocks
# another way to provide text in the statusbar
# put hastag in front if not installed
#status_command i3blocks
#status_command i3blocks -c ~/.config/i3/i3blocks.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-original.conf
#status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf
# OPTION 3 : conky
# You can also replace the istatus bar with a conky
# start-conky-i3statusbar.sh is started and conky will follow
# documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
# conky configuration is in conky-i3statusbar
#status_command ~/.config/i3/start-conky-i3statusbar.sh
# OPTION 4 : polybar
# polybar is launched elsewhere - search for the word
# from the opening of the "bar {...}" till the end has to go or hashtagged out
# in order for the system trayicons to show up in polybar
#colors {
# background #2F2F2F
# statusline #eeeeee
# separator #666666
# # border backgr. text
# focused_workspace #a9a9a9 #5f676a #eeeeee
# active_workspace #a9a9a9 #5f676a #a9a9a9
# inactive_workspace #a9a9a9 #222222 #a9a9a9
# urgent_workspace #a9a9a9 #d42121 #FFFFFF
# }
#
# }
# DarkGrey background with white text - not focus grey background - black text
# Windows decoration colors
# class border backgr. text indicator
#client.placeholder #242424 #242424 #242424
#client.background #242424 #242424 #242424
#client.focused #4A4A4A #4A4A4A #e5e5e5 #4A4A4A
#client.unfocused #222222 #222222 #aaaaaa #222222
#client.focused_inactive #222222 #222222 #a9a9a9 #222222
#client.urgent #d42121 #d42121 #f7f7f7 #d42121
# Purple/Pink
# class border backgr. text indicator
#client.placeholder #00ff00 #00ff00 #00ff00
#client.background #00ff00 #00ff00 #00ff00
#client.focused #592c54 #592c54 #eeeeee #592c54
#client.unfocused #33022f #33022f #eeeeee #33022f
#client.focused_inactive #33022f #33022f #eeeeee #33022f
#client.urgent #a5096a #a5096a #eeeeee #a5096a
# Nyarch
# class border backgr. text indicator
#client.placeholder #00ff00 #00ff00 #00ff00
#client.background #00ff00 #00ff00 #00ff00
#client.focused #0c374c #0c374c #eeeeee #0c374c
#client.unfocused #162833 #162833 #eeeeee #162833
#client.focused_inactive #162833 #162833 #eeeeee #162833
#client.urgent #1a77a5 #1a77a5 #eeeeee #1a77a5
#################################################################
################### BAR APPEARANCE ARCHIVE ######################
#################################################################
# Orange background with black text - not focus grey background - white text
# Windows decoration colors
# class border backgr. text indicator
# client.background color #222222
# client.focused #FFAF00 #FFAF00 #333333 #00AA00
# client.unfocused #222222 #222222 #aaaaaa #2e9ef4
# client.focused_inactive #333333 #5f676a #ffffff #484e50
# client.urgent #2f343a #900000 #ffffff #900000
# DarkGrey background with white text - not focus grey background - black text
# Windows decoration colors
# https://i3wm.org/docs/userguide.html#_changing_colors
# client.background color
# class border backgr. text indicator
# client.focused #4c7899 #285577 #ffffff #2e9ef4
# client.focused_inactive #333333 #5f676a #ffffff #484e50
# client.unfocused #333333 #222222 #888888 #292d2e
# client.urgent #2f343a #900000 #ffffff #900000
# client.placeholder #000000 #0c0c0c #ffffff #000000
# colors {
# background #222222
# statusline #eeeeee
# separator #666666
# border backgr. text
# focused_workspace #4c7899 #285577 #ffffff
# active_workspace #333333 #5f676a #ffffff
# inactive_workspace #333333 #222222 #888888
# urgent_workspace #2f343a #900000 #ffffff
# }
# Alternatives
# BLue and grey Colors
# https://github.com/Gravemind/ArchLinux/blob/master/.i3/config
# class border backgr. text indicator
# client.focused #000000 #285577 #dddddd #0099ff
# client.focused_inactive #000000 #333333 #888888 #484e50
# client.unfocused #000000 #000000 #555555 #292d2e
# client.urgent #2f343a #900000 #ffffff #900000
# blue background with white text
# Windows decoration colors
# class border backgr. text indicator
# client.background color #222222
# client.focused #4c7899 #285577 #ffffff #2e9ef4
# client.focused_inactive #333333 #5f676a #ffffff #484e50
# client.unfocused #333333 #222222 #888888 #292d2e
# client.urgent #2f343a #900000 #ffffff #900000
# Blue-green background - orange text
# Windows decoration colors
# http://www.fastlinux.eu/_archiv/index.php?page=linux047
# class border backgr. text
# client.focused #2B6473 #2B6473 #FFA000
# client.focused_inactive #004050 #004050 #FFA000
# client.unfocused #004050 #004050 #cccccc
# client.urgent #900000 #900000 #ffffff
# Red background - black text
# Windows decoration colors
# https://github.com/Blueblur/dotfiles/blob/master/.i3/config
# class border backgr. text indicator
# client.focused #d64937 #d64937 #2D2D2D #2e9ef4
# client.focused_inactive #2d2d2d #2d2d2d #dcdcdc #484e50
# client.unfocused #2D2D2D #2d2d2d #dcdcdc #292d2e
# client.urgent #2D2D2D #2D2D2D #dcdcdc #900000
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
######################################## THE END ###########################################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################
#####################################################################################################################

View File

@ -0,0 +1,137 @@
# i3blocks config file
#
#DEPENDS ON ACPI FOR BATTERY TO WORK. DOWNLOAD ACPI
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# background
# border
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/lib/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none
#[CPU]
#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1
#command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1
#interval=2
#[CPU]
#label=TEMP
#command=sensors | grep "Core 0" | awk '{print $3}'
#interval=10
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
#[cpu_usage]
#label=CPU
#interval=10
#min_width=CPU: 100.00%
#separator=false
#[load_average]
#interval=10
#[Kernel]
#label=KERNEL
#command=uname -r
#interval=once
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=MEM
separator=false
interval=30
#[memory]
#label=SWAP
#instance=swap
#separator=false
#interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=ROOT
#instance=/mnt/data
interval=30
# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
#[iface]
#instance=enp2s0
#color=#00FF00
#interval=10
#separator=false
#[wifi]
#instance=wlp3s0
#interval=10
#separator=false
#
#[bandwidth]
#label=NET
#instance=enp2s0
interval=5
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
#label=BAT
la2bel=⚡
command=acpi
instance=1
interval=30
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[volume]
#label=VOL
label=
instance=Master
#instance=PCM
interval=once
signal=10
# Date Time
#
[time]
label=
command=date '+%d-%m-%Y %H:%M:%S'
interval=1

237
arch-config/.config/i3/picom.conf Executable file
View File

@ -0,0 +1,237 @@
# Thank you code_nomad: http://9m.no/ꪯ鵞
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";
#backend = "xrender"
#################################
#
# GLX backend
#
#################################
glx-no-stencil = true;
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
# but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown.
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
# glx-use-copysubbuffermesa = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
# Recommended if it works.
# glx-no-rebind-pixmap = true;
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
#glx-swap-method = "undefined";
#################################
#
# Shadows
#
#################################
# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
log-level = "warn";
#change your username here
#log-file = "/home/erik/.config/compton.log";
# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g = 'Cairo-clock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
#"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
#################################
#
# Opacity
#
#################################
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
opacity-rule = [
#"95:class_g = 'termite' && !_NET_WM_STATE@:32a",
#"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'"
]
#################################
#
# Fading
#
#################################
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
#################################
#
# Other
#
#################################
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
# This prevents opacity being ignored for some apps.
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, picom will try detecting this with X RandR extension.
refresh-rate = 0;
# Vertical synchronization: match the refresh rate of the monitor
# this breaks transparency in virtualbox - put a "#" before next line to fix that
vsync = true;
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
detect-client-leader = true;
#################################
#
# Window type settings
#
#################################
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true;};
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.9; }
dropdown_menu = { opacity = 0.9; }
};
######################
#
# XSync
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
#
######################
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
xrender-sync-fence = true;

View File

@ -1,17 +1,20 @@
#!/usr/bin/env sh
#!/bin/sh
case "$1" in
lock)
swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen"
#betterlockscreen -l; dunstctl set-paused true
betterlockscreen -l
;;
logout)
swaymsg exit
i3-msg exit
;;
suspend)
#betterlockscreen -s
systemctl suspend
;;
hibernate)
exit 1
systemctl hibernate
;;
reboot)
systemctl reboot

View File

@ -0,0 +1,152 @@
--[[
#=====================================================================================
# arcolinux
#
# Author : Erik Dubois at http://www.erikdubois.be
# License : Distributed under the terms of GNU GPL version 2 or later
# Documentation : http://erikdubois.be/category/linux/aureola/
#======================================================================================
]]
conky.config = {
--Various settings
background = true, -- forked to background
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
net_avg_samples = 2, -- The number of samples to average for net data
no_buffers = true, -- Subtract (file system) buffers from used memory?
temperature_unit = 'celsius', -- fahrenheit or celsius
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
update_interval = 1, -- update interval
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
--Placement
alignment = 'none', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
-- middle_left,middle_middle,middle_right,none
--Arch Duoscreen
--gap_x = -1910,
gap_x = 10, -- pixels between right or left border
gap_y = 10, -- pixels between bottom or left border
minimum_height = 200, -- minimum height of window
minimum_width = 280, -- minimum height of window
maximum_width = 280, -- maximum height of window
--Graphical
border_inner_margin = 5, -- margin between border and text
border_outer_margin = 5, -- margin between border and edge of window
border_width = 0, -- border width in pixels
default_bar_width = 280, -- default is 0 - full width
default_bar_height = 10, -- default is 6
default_gauge_height = 25, -- default is 25
default_gauge_width =40, -- default is 40
default_graph_height = 40, -- default is 25
default_graph_width = 153, -- default is 0 - full width
default_shade_color = '#000000', -- default shading colour
default_outline_color = '#000000', -- default outline colour
draw_borders = true, -- draw borders around text
draw_graph_borders = false, -- draw borders around graphs
draw_shades = false, -- draw shades
draw_outline = false, -- draw outline
stippled_borders = 0, -- dashing the border
--Textual
extra_newline = false, -- extra newline at the end - for asesome's wiboxes
format_human_readable = true, -- KiB, MiB rather then number of bytes
font = 'Noto Mono:size=11:regular', -- font for complete conky unless in code defined
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
max_user_text = 16384, -- max text in conky default 16384
override_utf8_locale = true, -- force UTF8 requires xft
short_units = true, -- shorten units from KiB to k
top_name_width = 21, -- width for $top name value default 15
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
uppercase = false, -- uppercase or not
use_spacer = 'none', -- adds spaces around certain objects to align - default none
use_xft = true, -- xft font - anti-aliased font
xftalpha = 1, -- alpha of the xft font - between 0-1
--Windows
own_window = true, -- create your own window to draw
own_window_argb_value = 150, -- real transparency - composite manager required 0-255
own_window_argb_visual = true, -- use ARGB - composite manager required
own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
own_window_colour = '#000000', -- set colour if own_window_transparent no
own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
own_window_title = 'system_conky', -- set the name manually - default conky "hostname"
own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel
--Colours
default_color = '#ff0000', -- default color and border color
color1 = '#FFFFFF',
color2 = '#FFA726',
color3 = '#cccccc',
color4 = '#BDBDBD',
color5 = '#CCCCCC',
color6 = '#aa0000',
--Signal Colours
color7 = '#1F7411', --green
color8 = '#FFA726', --orange
color9 = '#F1544B', --firebrick
--Lua
};
conky.text = [[
${color1}${alignc}S Y S T E M I N F O${color}
${color1}${hr}${color}
${color1}Host:${alignr}${color2}${nodename}${color}
${color1}Kernel:${color2}${alignr}$kernel${color}
${color1}Uptime:${color2}${alignr}${uptime}${color}
#${color1}UTC:${color2}${alignr}${utime %H:%M}${color}
${color1}Available Updates:${color2}${alignr}${execi 3600 checkupdates | wc -l}${color}
#${color1}${goto 60}Used${alignr}Size${color}
#${color1}Root${goto 60}${color2}${fs_used /}${alignr}${fs_size /}${color}
#${color1}Home${goto 60}${color2}${fs_used /home}${alignr}${fs_size /home}${color}
${color1}${goto 60}Mem${alignr}Max${color}
${color1}RAM${goto 60}${color2}${mem}${alignr}${memmax}${color}
${color1}Swap${goto 60}${color2}${swap}${alignr}${swapmax}${color}
${color1}CPU:${goto 60}Used${alignr}GHz${color}
${color1}Avg${goto 60}${color2}${if_match ${cpu cpu0}<50} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<=100}${color9} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}${color}
#${color1}${alignc}S H O R T C U T K E Y S${color}
#${color1}${hr}${color}
#${color1}[Ctrl]+[Alt]+A${alignr}${color2}Main Menu${color}
#${color1}${hr}${color}
#${color1}[Ctrl]+[Alt]+Enter${alignr}${color2}Terminal${color}
#${color1}[Ctrl]+[Alt]+T${alignr}${color2}File Manager${color}
#${color1}[Ctrl]+[Alt]+F/C/V${alignr}${color2}Browser${color}
#${color1}[Ctrl]+[Alt]+E${alignr}${color2}Editor${color}
#${color1}[Ctrl]+[Alt]+M${alignr}${color2}Media Player${color}
#${color1}[Ctrl]+[Shift]+Esc${alignr}${color2}Task Manager${color}
#${color1}[Ctrl]+[Alt]+U${alignr}${color2}Volume Control${color}
#${color1}[PrtSc]${alignr}${color2}Screenshot${color}
#${color1}[Ctrl]+[Alt]+S${alignr}${color2}Settings${color}
#${color1}[S]+[Shift]+R${alignr}${color2}Restart i3wm${color}
#${color1}${hr}${color}
#${color1}[S]+[Shift]+E${alignr}${color2}Stop i3wm${color}
#${color1}[S]+[Shift]+Q${alignr}${color2}Stop application${color}
#${color1}[S]+X${alignr}${color2}Exit${color}
#${color1}${hr}${color}
#${color1}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}${alignr}${execi 6000 lsb_release -a | grep 'Release'|awk {'print $2""$3""$4""$5'}}${color}
]];

View File

@ -23,7 +23,7 @@ bold_italic_font auto
#: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic
font_size 12.0
font_size 11.0
#: Font size (in pts)

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
#
[options]
PgpFetch
Devel
#Devel
Provides
#DevelSuffixes = -git -cvs -svn -bzr -darcs -always
#BottomUp

View File

@ -0,0 +1,132 @@
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
; https://github.com/jaagr/polybar/wiki/
; https://github.com/jaagr/polybar/wiki/Configuration
; https://github.com/jaagr/polybar/wiki/Formatting
;
;=====================================================
include-file = /home/$USER/.config/polybar/colors.ini
include-file = /home/$USER/.config/polybar/modules/modules.ini
include-file = /home/$USER/.config/polybar/modules/i3.ini
include-file = /home/$USER/.config/polybar/modules/updates.ini
include-file = /home/$USER/.config/polybar/modules/xwindow.ini
include-file = /home/$USER/.config/polybar/modules/date.ini
#include-file = /home/$USER/.config/polybar/modules/volume.ini
#include-file = /home/$USER/.config/polybar/modules/weather.ini
include-file = /home/$USER/.config/polybar/modules/battery.ini
[settings]
;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
throttle-output = 5
throttle-output-for = 10
screenchange-reload = true
compositing-background = over
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
################################################################################
################################################################################
############ MAINBAR-I3 ############
################################################################################
################################################################################
[bar/mainbar-i3]
;https://github.com/jaagr/polybar/wiki/Configuration
monitor = ${env:MONITOR}
;monitor-fallback = HDMI1
monitor-strict = false
override-redirect = false
bottom = true
fixed-center = true
width = 100%
height = 20
background = ${colors.background}
foreground = ${colors.foreground}
radius = 0.0
line-size = 2
line-color = #000000
;https://github.com/jaagr/polybar/wiki/Fonts
font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=10;0"
font-2 = "Noto Sans CJK JP:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-4 = Iosevka Nerd Font:style=Medium:size=16;3
font-5 = Iosevka:style=Regular:size=16;3
; Text Fonts
;font-0 = Iosevka Nerd Font:style=Medium:size=10;3
; Icons Fonts
;font-1 = icomoon\-feather:style=Medium:size=10;3
; Powerline Glyphs
;font-2 = Iosevka Nerd Font:style=Medium:size=16;3
; Larger font size for bar fill icons
;font-3 = Iosevka Nerd Font:style=Medium:size=12;3
; Smaller font size for shorter spaces
;font-4 = Iosevka Nerd Font:style=Medium:size=7;3
modules-left = full sysmenu full i3 full xwindow full
modules-center = full date full
modules-right = full player-mpris-tail full battery full updates-pacman-aurhelper full dunst-notification-display full
;modules-left = full sysmenu full i3 full left-top right-bot full xwindow full left-top
;modules-center = right-bot full date full left-bot
;modules-right = right-top full player-mpris-tail full left-bot right-top full battery full left-bot right-top full updates-pacman-aurhelper full left-bot right-top
tray-detached = false
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 2
tray-maxsize = 12
tray-scale = 1.0
tray-position = right
tray-background = ${colors.modbackground}
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-click =
cursor-scroll =
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
format-foreground = ${colors.foreground}
format-background = ${colors.background}

View File

@ -0,0 +1,38 @@
#!/usr/bin/env sh
# More info : https://github.com/jaagr/polybar/wiki
# Install the following applications for polybar and icons in polybar if you are on ArcoLinuxD
# awesome-terminal-fonts
# Tip : There are other interesting fonts that provide icons like nerd-fonts-complete
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
desktop=$(echo $DESKTOP_SESSION)
count=$(xrandr --query | grep " connected" | cut -d" " -f1 | wc -l)
case $desktop in
i3)
if type "xrandr" > /dev/null; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload mainbar-i3 -c ~/.config/polybar/i3config.ini &
done
else
polybar --reload mainbar-i3 -c ~/.config/polybar/i3config.ini &
fi
# second polybar at bottom
# if type "xrandr" > /dev/null; then
# for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
# MONITOR=$m polybar --reload mainbar-i3-extra -c ~/.config/polybar/config &
# done
# else
# polybar --reload mainbar-i3-extra -c ~/.config/polybar/config &
# fi
;;
esac

View File

View File

@ -0,0 +1,45 @@
[module/battery]
;https://github.com/jaagr/polybar/wiki/Module:-battery
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 100
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
label-charging =  %percentage%% %time% left
format-charging-foreground = ${colors.foreground}
format-charging-background = ${colors.modbackground}
format-charging-underline = ${colors.underline}
format-discharging = <ramp-capacity> <label-discharging>
label-discharging =  %percentage%% %time% left
format-discharging-underline = ${colors.underline}
format-discharging-foreground = ${colors.foreground}
format-discharging-background = ${colors.modbackground}
format-full-prefix = " "
format-full-prefix-foreground = #a3c725
format-full-underline = ${colors.underline}
format-foreground = ${colors.foreground}
format-background = ${colors.modbackground}
ramp-capacity-0 =
ramp-capacity-0-foreground = ${colors.foreground}
ramp-capacity-1 =
ramp-capacity-1-foreground = ${colors.foreground}
ramp-capacity-2 =
ramp-capacity-2-foreground = ${colors.foreground}
ramp-capacity-3 =
ramp-capacity-3-foreground = ${colors.foreground}
ramp-capacity-4 =
ramp-capacity-4-foreground = ${colors.foreground}
;ramp-capacity-foreground = #c7ae25
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-foreground = ${colors.foreground}
animation-charging-framerate = 750

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