From 7abef725078fc52196b630c95f354fb58864c743 Mon Sep 17 00:00:00 2001 From: danix Date: Mon, 20 Mar 2023 14:45:04 +0100 Subject: [PATCH] mass update. --- README.html | 1132 ----------------- README.md | 15 +- Xresources | 10 +- bash_profile | 2 + bashrc | 26 +- bin/blackpearl-appsmenu.sh | 3 +- bin/blackpearl-powermenu.sh | 13 +- bin/blackpearl-runner.sh | 2 +- bin/blackpearl-scrotmenu.sh | 11 +- bin/blackpearl-sshmenu.sh | 2 +- bin/blackpearl-utilsmenu.sh | 2 +- bin/blackpearl-window.sh | 4 +- bin/change_wallpaper.sh | 117 ++ bin/executors/battery-level | 26 + bin/i3-exit | 2 +- bin/i3-scrot | 23 +- bin/i3lock-blur | 0 bin/i3lock-fancy | 0 bin/i3suspend | 0 bin/is_installed | 0 bin/run-polybar.sh | 12 + bin/wacom | 22 + .../is_installed.bash-completion | 3 +- i3/config | 176 +-- compton.conf => oldies/compton.conf | 0 {conky => oldies/conky}/qlocktwo.conkyrc | 0 {bin => oldies}/executors/caps | 0 {bin => oldies}/executors/inet | 0 {bin => oldies}/executors/mail-check | 0 {bin => oldies}/executors/psuinfo.py | 0 {bin => oldies}/executors/wifi-name | 0 {rofi => oldies/rofi}/blackpearl/appmenu.rasi | 0 {rofi => oldies/rofi}/blackpearl/i3exit.rasi | 0 .../rofi}/blackpearl/powermenu.rasi | 0 {rofi => oldies/rofi}/blackpearl/runner.rasi | 0 .../rofi}/blackpearl/scrotmenu.rasi | 0 .../rofi}/blackpearl/shared/reset.rasi | 0 .../rofi}/blackpearl/shared/settings.rasi | 0 .../rofi}/blackpearl/utilsmenu.rasi | 0 {tint2 => oldies/tint2}/i3status.tint2rc | 0 {tint2 => oldies/tint2}/minima.tint2rc | 0 wacomsetter.sh => oldies/wacomsetter.sh | 0 {bin => oldies}/wallpaper.sh | 0 picom.conf | 5 +- tmux/tmux.conf.danix | 26 +- xinitrc | 3 - xprofile | 19 +- 47 files changed, 369 insertions(+), 1287 deletions(-) delete mode 100644 README.html mode change 100755 => 100644 bin/blackpearl-appsmenu.sh mode change 100755 => 100644 bin/blackpearl-powermenu.sh mode change 100755 => 100644 bin/blackpearl-runner.sh mode change 100755 => 100644 bin/blackpearl-scrotmenu.sh mode change 100755 => 100644 bin/blackpearl-sshmenu.sh mode change 100755 => 100644 bin/blackpearl-utilsmenu.sh mode change 100755 => 100644 bin/blackpearl-window.sh create mode 100644 bin/change_wallpaper.sh create mode 100644 bin/executors/battery-level mode change 100755 => 100644 bin/i3-exit mode change 100755 => 100644 bin/i3-scrot mode change 100755 => 100644 bin/i3lock-blur mode change 100755 => 100644 bin/i3lock-fancy mode change 100755 => 100644 bin/i3suspend mode change 100755 => 100644 bin/is_installed create mode 100755 bin/run-polybar.sh create mode 100755 bin/wacom rename compton.conf => oldies/compton.conf (100%) rename {conky => oldies/conky}/qlocktwo.conkyrc (100%) rename {bin => oldies}/executors/caps (100%) rename {bin => oldies}/executors/inet (100%) rename {bin => oldies}/executors/mail-check (100%) rename {bin => oldies}/executors/psuinfo.py (100%) rename {bin => oldies}/executors/wifi-name (100%) rename {rofi => oldies/rofi}/blackpearl/appmenu.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/i3exit.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/powermenu.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/runner.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/scrotmenu.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/shared/reset.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/shared/settings.rasi (100%) rename {rofi => oldies/rofi}/blackpearl/utilsmenu.rasi (100%) rename {tint2 => oldies/tint2}/i3status.tint2rc (100%) rename {tint2 => oldies/tint2}/minima.tint2rc (100%) rename wacomsetter.sh => oldies/wacomsetter.sh (100%) rename {bin => oldies}/wallpaper.sh (100%) diff --git a/README.html b/README.html deleted file mode 100644 index af6792e..0000000 --- a/README.html +++ /dev/null @@ -1,1132 +0,0 @@ -README

My Dotfiles

-

This is the collection of dotfiles that I use on my laptop for ricing pourposes

-

Some screenshots

-

-

Getting Started

-

All of these files will go in your home directory. See Installing for a brief description of where to put each file in this repository.

-

Prerequisites

-

You should know how linux works at least a little bit, but you can use this setup as your starting point, so Bash is a must. -I work on Slackware since 2006, so you’ll have to adapt everything if you’re using another distro. As for the software used here you have it:

- -

Installing

-

The bin directory is where we’ll store all executables, so you may want to add it to your path, otherwhise you could use something like /usr/local/bin, but make sure to fix every reference to your executables in the other files.

-

i3, conky, rofi and tint2 directories must go inside your ~/.config directory, this is standard and you shouldn’t have any problems with it.

-

Xresources, bash_profile, bashrc and xinitrc are all hidden files and you should place them in your home prepending a dot to their names, so everything should look like this: -

$> ls /home/danix
-.Xresources
-.bash_profile
-.bashrc
-.xinitrc
-[...]
-
-Here’s how it looks for me on a fresh install: -
$> tree /home/danix
-├── .Xresources
-├── .bash_profile
-├── .bashrc
-├── bin/
-│   ├── blackpearl-appsmenu.sh
-│   ├── blackpearl-powermenu.sh
-│   ├── blackpearl-runner.sh
-│   ├── blackpearl-scrotmenu.sh
-│   ├── blackpearl-sshmenu.sh
-│   ├── blackpearl-utilsmenu.sh
-│   ├── blackpearl-window.sh
-│   └── executors/
-│       ├── caps
-│       ├── inet
-│       ├── mail-check
-│       ├── psuinfo.py
-│       └── wifi-name
-├── .config/
-│   ├── compton.conf
-│   ├── i3/
-│   |   └── config
-│   ├── conky/
-│   |   └── qlocktwo.conkyrc
-│   ├── rofi/
-│   |   └── blackpearl/
-│   |       ├── appmenu.rasi
-│   |       ├── i3exit.rasi
-│   |       ├── powermenu.rasi
-│   |       ├── runner.rasi
-│   |       ├── scrotmenu.rasi
-│   |       ├── shared/
-│   |       │   ├── reset.rasi
-│   |       │   └── settings.rasi
-│   |       └── utilsmenu.rasi
-│   └── tint2/
-│       ├── i3status.tint2rc
-│       └── minima.tint2rc
-└── .xinitrc
-

-

Authors

- -

License and Acknowledgments

-

This project is free to use as it is, if you need help you can contact me on my site and I’ll try and help you, but you maybe luckier asking your questions on the unixporn thread on reddit, which is where I found the inspiration and most of the links to make all this work.

\ No newline at end of file diff --git a/README.md b/README.md index ddf63aa..b57b53f 100644 --- a/README.md +++ b/README.md @@ -4,25 +4,24 @@ This is the collection of dotfiles that I use on my laptop for ricing pourposes ## Getting Started -Most of these files will go in your home directory. See [Installing](#installing) for a brief description of where to put each file in this repository. +Most of these files will go in your home directory. See [Installing](#Installing) for a brief description of where to put each file in this repository. ### Prerequisites You should know how linux works at least a little bit, but you can use this setup as your starting point, so Bash is a must. -I work on [Slackware](http://www.slackware.com/) since 2006, so you'll have to adapt everything if you're using another distro. As for the software used here you have it: +I use [Slackware](http://www.slackware.com/) since 2006, so you'll have to adapt everything if you're using another distro. As for the software used here you have it: -* [i3-gaps](https://github.com/Airblader/i3) - My window manager of choice. +* [i3](https://i3wm.org/) - My window manager of choice. * [feh](https://feh.finalrewind.org/) - wallpaper setter. Fast and lightweight. -* [conky](https://github.com/brndnmtthws/conky) - system monitor, I use it for my desk clock, but it can do so so much more. * [rofi](https://github.com/davatorium/rofi) - Extremely customizable dmenu replacement, I use the git version. -* [tint2](https://gitlab.com/o9000/tint2) - Great lightweight bar that can run custom scripts. -* [compton](https://github.com/chjj/compton) - Lightweight compositor. +* [picom](https://github.com/yshui/picom) - Lightweight compositor. +* [polybar](https://github.com/polybar/polybar/) - Lightweight but highly configurable bar. ### Installing The **bin** directory is where we'll store all executables, so you may want to add it to your path, otherwhise you could use something like `/usr/local/bin`, but make sure to fix every reference to your executables in the other files. -**i3**, **conky**, **rofi** and **tint2** directories must go inside your `~/.config` directory, this is standard and you shouldn't have any problems with it. +**i3**, **conky**, **rofi** and **polybar** directories must go inside your `~/.config` directory, this is standard and you shouldn't have any problems with it. **Xresources**, **bash_profile**, **bashrc** and **xinitrc** are all hidden files and you should place them in your home prepending a dot to their names, so everything should look like this: ``` @@ -33,7 +32,9 @@ $> ls /home/danix .xinitrc [...] ``` + Here's how it looks for me on a fresh install: + ``` $> tree /home/danix ├── .Xresources diff --git a/Xresources b/Xresources index 3a0887a..d3610cf 100644 --- a/Xresources +++ b/Xresources @@ -59,10 +59,12 @@ XTerm*reverseVideo: on XTerm*selectToClipboard: true URxvt*termName: rxvt-unicode-256color -!URxvt.font: xft:Space Mono:Regular:pixelsize=14 -!URxvt.boldFont: xft:Space Mono:Bold:pixelsize=14 -URxvt.font: xft:Source Code Pro:Regular:pixelsize=14 -URxvt.boldFont: xft:Source Code Pro:Bold:pixelsize=14 +!URxvt.font: xft:Inconsolata:Regular:pixelsize=14 +!URxvt.boldFont:Inconsolata:Regular:pixelsize=14 +URxvt.font: xft:Space Mono:Regular:pixelsize=14 +URxvt.boldFont: xft:Space Mono:Bold:pixelsize=14 +!URxvt.font: xft:Source Code Pro:Regular:pixelsize=14 +!URxvt.boldFont: xft:Source Code Pro:Bold:pixelsize=14 URxvt.geometry: 120x30 URxvt.depth: 32 URxvt.letterSpace: 1 diff --git a/bash_profile b/bash_profile index d05411c..ea3b693 100644 --- a/bash_profile +++ b/bash_profile @@ -4,3 +4,5 @@ if [ -f ~/.bashrc ]; then source ~/.bashrc fi +# opam configuration +test -r /home/danix/.opam/opam-init/init.sh && . /home/danix/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true diff --git a/bashrc b/bashrc index 40588b2..6eade8a 100644 --- a/bashrc +++ b/bashrc @@ -75,12 +75,11 @@ alias du="du -sh" alias diff='diff --color=auto' alias grep='grep --color=auto' alias path='(IFS=:;ls -1d $PATH | nl)' -alias hf='history|grep' # history as big as possible!! HISTSIZE=1000000 HISTFILESIZE=2000000 -HISTIGNORE='hf *' +# HISTIGNORE='hf *' # unix.stackexchange.com/a/18443 # history: erase duplicates... HISTCONTROL=ignoreboth:erasedups @@ -89,19 +88,27 @@ shopt -s histappend #export PATH=~/.platformio/penv/bin:~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH -export PATH=~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH +#export PATH=~/.config/composer/vendor/bin:~/.local/bin:~/bin:$PATH export INTEL_BATCH=1 export QT_QPA_PLATFORMTHEME="lxqt" export QT_STYLE_OVERRIDE="kvantum-dark" export XDG_DATA_DIRS="/usr/local/share/:/usr/share/" +export CM_LAUNCHER=rofi # Tailoring LESS +# If any syntax highlighters are available, use them. +# # pygmentize does more, but source-highlight is still good. +if command -v pygmentize > /dev/null 2>&1; then + export LESSCOLOURIZER="pygmentize -f terminal" +elif command -v source-highlight > /dev/null 2>&1; then + export LESSCOLOURIZER="source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i" +fi alias more='less' -export LESS='-R' +export LESS=' -R' export LESSOPEN='|~/.lessfilter %s' export PAGER=less export SVN_EDITOR=vim -export LESSCHARSET='latin1' +export LESSCHARSET='utf-8' man() { LESS_TERMCAP_md=$'\e[01;31m' \ @@ -121,11 +128,12 @@ export PASSWORD_STORE_DIR=/home/danix/Programming/GIT/password_store/ # logdate appends a date to a script output logdate() { - while IFS= read -r line; do - echo "$(date +"%F_%R.%S") $line" - done + while IFS= read -r line; do + echo "$(date +"%F_%R.%S") $line" + done } +# start gpg-agent for ssh authentication as well as key management unset GPG_AGENT_INFO unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then @@ -133,7 +141,7 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then fi export GPG_TTY=$(tty) if [ -x "$(which gpg-connect-agent)" ]; then - gpg-connect-agent updatestartuptty /bye > /dev/null + gpg-connect-agent updatestartuptty /bye > /dev/null fi mount-fs () { diff --git a/bin/blackpearl-appsmenu.sh b/bin/blackpearl-appsmenu.sh old mode 100755 new mode 100644 index 207165c..6c499c4 --- a/bin/blackpearl-appsmenu.sh +++ b/bin/blackpearl-appsmenu.sh @@ -1,4 +1,5 @@ #!/bin/sh -rofi -no-lazy-grab -show drun -theme blackpearl/appmenu +# rofi -no-lazy-grab -show drun -theme blackpearl/appmenu +rofi -no-lazy-grab -show drun -theme darknix/appmenu.rasi diff --git a/bin/blackpearl-powermenu.sh b/bin/blackpearl-powermenu.sh old mode 100755 new mode 100644 index aa203e3..c81cfd6 --- a/bin/blackpearl-powermenu.sh +++ b/bin/blackpearl-powermenu.sh @@ -1,17 +1,18 @@ #!/bin/bash -rofi_command="rofi -theme blackpearl/powermenu.rasi" +# rofi_command="rofi -theme blackpearl/powermenu.rasi" +rofi_command="rofi -theme darknix/powermenu.rasi" ### Options ### power_off="" reboot="" -lock="" -suspend="鈴" -log_out="" +lock="" +suspend="⏾" +log_out="﫼" # Variable passed to rofi options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" -chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)" +chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 0)" case $chosen in $power_off) notify-send 'shutting down' 'the system is going to shutdown now' @@ -25,7 +26,7 @@ case $chosen in ;; $lock) sleep 1 - i3lock-blur + i3lock-fancy ;; $suspend) sleep 1 diff --git a/bin/blackpearl-runner.sh b/bin/blackpearl-runner.sh old mode 100755 new mode 100644 index 687e3a8..36517d1 --- a/bin/blackpearl-runner.sh +++ b/bin/blackpearl-runner.sh @@ -1,4 +1,4 @@ #!/bin/sh -rofi -no-lazy-grab -show run -theme blackpearl/runner +rofi -no-lazy-grab -show run -theme darknix/runner.rasi diff --git a/bin/blackpearl-scrotmenu.sh b/bin/blackpearl-scrotmenu.sh old mode 100755 new mode 100644 index 18bec3d..dbafcb7 --- a/bin/blackpearl-scrotmenu.sh +++ b/bin/blackpearl-scrotmenu.sh @@ -1,24 +1,19 @@ #!/bin/bash -rofi_command="rofi -theme blackpearl/scrotmenu.rasi" +rofi_command="rofi -theme darknix/scrotmenu.rasi" ### Options ### screen="" area="" -window="" # Variable passed to rofi -options="$screen\n$area\n$window" +options="$screen\n$area" chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)" case $chosen in $screen) - sleep 1; i3-scrot + i3-scrot -d 3 ;; $area) i3-scrot -s ;; - $window) - sleep 1; i3-scrot -u - ;; esac - diff --git a/bin/blackpearl-sshmenu.sh b/bin/blackpearl-sshmenu.sh old mode 100755 new mode 100644 index d8c879e..b70d4b9 --- a/bin/blackpearl-sshmenu.sh +++ b/bin/blackpearl-sshmenu.sh @@ -1,4 +1,4 @@ #!/bin/sh -rofi -no-lazy-grab -show ssh -no-parse-known-hosts -theme blackpearl/appmenu.rasi +rofi -no-lazy-grab -show ssh -no-parse-known-hosts -theme darknix/sshmenu.rasi diff --git a/bin/blackpearl-utilsmenu.sh b/bin/blackpearl-utilsmenu.sh old mode 100755 new mode 100644 index a2f8052..9bcab99 --- a/bin/blackpearl-utilsmenu.sh +++ b/bin/blackpearl-utilsmenu.sh @@ -1,6 +1,6 @@ #!/bin/bash -rofi_command="rofi -theme blackpearl/utilsmenu.rasi" +rofi_command="rofi -theme darknix/utilsmenu.rasi" ### Options ### wpaper="" diff --git a/bin/blackpearl-window.sh b/bin/blackpearl-window.sh old mode 100755 new mode 100644 index 81b28b4..eb4f161 --- a/bin/blackpearl-window.sh +++ b/bin/blackpearl-window.sh @@ -2,10 +2,10 @@ case $1 in all ) - rofi -no-lazy-grab -show window -theme blackpearl/appmenu.rasi + rofi -no-lazy-grab -show window -theme darknix/main.rasi ;; desktop ) - rofi -no-lazy-grab -show windowcd -theme blackpearl/appmenu.rasi + rofi -no-lazy-grab -show windowcd -theme darknix/main.rasi ;; esac diff --git a/bin/change_wallpaper.sh b/bin/change_wallpaper.sh new file mode 100644 index 0000000..dd93b23 --- /dev/null +++ b/bin/change_wallpaper.sh @@ -0,0 +1,117 @@ +#! /bin/bash + +PID=$$ +PIDFILE=${PIDFILE:-/tmp/wallpaper.pid} +WAIT_CYCLE="5m" + +trap "rm -f $PIDFILE" SIGTERM + +WP_SETTER="/usr/bin/feh" +QARMA="/usr/bin/qarma" + +function set_wp() { + NEW_WP=$1 + $WP_SETTER --bg-fill $NEW_WP +} + +# set background function (requires input) +function wpapers() { + if [[ -f $1 ]]; then + # We have a single file as input + set_wp $1 + exit 0 + elif [[ -d $1 ]]; then + # directory as input + while true; do + BGIMG=$(find $1 -type f -print | shuf -n1) + set_wp ${BGIMG} + sleep $WAIT_CYCLE + done + fi +} + +function file_or_dir() { + if [[ -f /tmp/choice ]]; then + rm /tmp/choice + fi + + FOD=$($QARMA --list --text="single image or directory?" --hide-header "file" "directory" > /tmp/choice) + case $? in + 0 ) + file_chooser $(cat /tmp/choice) + ;; + 1 ) + $QARMA --info --title="Exiting!" --text="No wallpaper was changed." + ;; + -1 ) + $QARMA --error --title="Ooops!!" --text="Something unexpected happened." + ;; + esac +} + +function file_chooser() { + case $1 in + "file" ) + FILE="$($QARMA --file-selection --title='Choose your Wallpaper')" + case $? in + 0 ) + wpapers $FILE + ;; + 1 ) + $QARMA --info --title="Exiting!" --text="No wallpaper was changed." + ;; + -1 ) + $QARMA --error --title="Ooops!!" --text="Something unexpected happened." + esac + ;; + "directory" ) + FILE="$($QARMA --file-selection --directory --title='Choose your Wallpaper directory')" + case $? in + 0 ) + wpapers $FILE + ;; + 1 ) + $QARMA --info --title="Exiting!" --text="No wallpaper was changed." + ;; + -1 ) + $QARMA --error --title="Ooops!!" --text="Something unexpected happened." + esac + ;; + * ) + $QARMA --error --title="Ooops!!" --text="Something unexpected happened." + ;; + esac +} + +function run() { + if [[ $(basename $0) == "wallpaper.sh" ]]; then + # we were called as wallpaper.sh, so simple wallpaper setter without qarma interaction + wpapers $1 + elif [[ $(basename $0) == "change_wallpaper.sh" ]]; then + # we use qarma to set the wallpaper + $QARMA --question --title="Change Wallpaper" --text="Do you want to change the wallpaper?" + case $? in + 0 ) + file_or_dir + ;; + 1 ) + $QARMA --info --title="Exiting!" --text="No wallpaper was changed." + ;; + -1 ) + $QARMA --error --title="Ooops!!" --text="Something unexpected happened." + esac + fi +} + +if [[ -r $PIDFILE ]]; then + # PIDFILE exists, so I guess there's already an instance running + # let's kill it and run again + kill -s 15 $(cat $PIDFILE) > /dev/null 2>&1 + # should already be deleted by trap, but just to be sure + rm $PIDFILE +fi + +# create PIDFILE +echo $PID > $PIDFILE + +run diff --git a/bin/executors/battery-level b/bin/executors/battery-level new file mode 100644 index 0000000..4078b35 --- /dev/null +++ b/bin/executors/battery-level @@ -0,0 +1,26 @@ +#! /bin/bash + +BAT_LEVEL=$(acpi -b | awk ' { print ($4)-0}') +CHARGER_ON=$(acpi -a | grep -i "on") +CHARGER_OFF=$(acpi -a | grep -i "off") + +if [ "$BAT_LEVEL" -le "20" ] ; then + if [ "$CHARGER_OFF" ]; then + logger "battery not charging, we're gonna die soon." + notify-send -u critical -i dialog-error "BATTERY LOW" "battery level is below 20%, please plug the AC charger" + pactl set-sink-volume 0 100\% + pactl set-sink-mute 0 0 + play -q /usr/share/sounds/Oxygen-Sys-App-Error.ogg + else + logger "battery low but charging. It's all fine." + fi +elif [ "$BAT_LEVEL" -lt "10" ]; then + if [ "$CHARGER_ON" ]; then + logger "battery extremely low but charging. It's all fine." + else + notify-send -u critical -i dialog-error "BATTERY EXTREMELY LOW" "battery level is below 10%, the system is going to shutdown." + pactl set-sink-volume 0 100\% + pactl set-sink-mute 0 0 + play -q /usr/share/sounds/Oxygen-Sys-App-Error-Serious.ogg + fi +fi diff --git a/bin/i3-exit b/bin/i3-exit old mode 100755 new mode 100644 index b942ab2..13858ff --- a/bin/i3-exit +++ b/bin/i3-exit @@ -1,5 +1,5 @@ #!/bin/bash -rofi_command="rofi -theme blackpearl/i3exit.rasi" +rofi_command="rofi -theme darknix/i3exit.rasi" NO="ﰸ" YES="" diff --git a/bin/i3-scrot b/bin/i3-scrot old mode 100755 new mode 100644 index 27e60bd..57958f0 --- a/bin/i3-scrot +++ b/bin/i3-scrot @@ -24,33 +24,27 @@ fi case "$1" in --desk|-d|$NULL) cd $scrot_dir - $cmd && - sleep 1 && - notify-send "screenshot has been saved in $scrot_dir" - ;; - --window|-w) - cd $scrot_dir - $cmd -u && - sleep 1 && + $cmd + sleep 1 notify-send "screenshot has been saved in $scrot_dir" ;; --select|-s) cd $scrot_dir - notify-send 'select an area for the screenshot' & - $cmd -s && - sleep 1 && notify-send "screenshot has been saved in $scrot_dir" + notify-send 'select a window or drag to select an area for the screenshot' & + $cmd -s + sleep 1 + notify-send "screenshot has been saved in $scrot_dir" ;; --help|-h) echo " available options: -d | --desk full screen --w | --window active window -s | --select selection -h | --help display this information -The -d or -w options can be used with a delay +All options can be used with a delay by adding the number of seconds, like for example: -'i3-scrot -w 5' +'i3-scrot -d 5' Default option is 'full screen'. @@ -64,7 +58,6 @@ Default is $scrot_dir available options: -d | --desk full screen --w | --window active window -s | --select selection -h | --help display this information diff --git a/bin/i3lock-blur b/bin/i3lock-blur old mode 100755 new mode 100644 diff --git a/bin/i3lock-fancy b/bin/i3lock-fancy old mode 100755 new mode 100644 diff --git a/bin/i3suspend b/bin/i3suspend old mode 100755 new mode 100644 diff --git a/bin/is_installed b/bin/is_installed old mode 100755 new mode 100644 diff --git a/bin/run-polybar.sh b/bin/run-polybar.sh new file mode 100755 index 0000000..5d90e5f --- /dev/null +++ b/bin/run-polybar.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Terminate already running bar instances +killall -q polybar +# If all your bars have ipc enabled, you can also use +# polybar-msg cmd quit + +# Launch Polybar, using default config location ~/.config/polybar/config.ini +polybar top -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-top.log & disown +polybar bottom -r --config=/home/danix/.config/polybar/config.ini 2>&1 | tee -a /tmp/polybar-bottom.log & disown + +logger "Polybar launched..." diff --git a/bin/wacom b/bin/wacom new file mode 100755 index 0000000..0cf66e3 --- /dev/null +++ b/bin/wacom @@ -0,0 +1,22 @@ +#! /bin/bash + +device="Wacom Intuos PT M" +PAD="$device Pad pad" +FINGER="$device Finger touch" # NOT USED +STYLUS="$device Pen stylus" +ERASER="$device Pen eraser" + +xsetwacom set "$PAD" "Button" 1 "key +ctrl e -ctrl" +xsetwacom set "$PAD" "Button" 3 "key +ctrl s -ctrl" +xsetwacom set "$PAD" "Button" 8 "key +ctrl y -ctrl" +xsetwacom set "$PAD" "Button" 9 "key +ctrl z -ctrl" + +xsetwacom set "$STYLUS" PressureCurve 5 10 90 95 +xsetwacom set "$STYLUS" "Button" 1 "button +1" +xsetwacom set "$STYLUS" "Button" 2 "button +2 -2" +xsetwacom set "$STYLUS" "Button" 3 "button +3 -3" + +xsetwacom set "$ERASER" PressureCurve 0 10 90 100 +xsetwacom set "$ERASER" "Button" 1 key "button +1" +xsetwacom set "$ERASER" "Button" 2 key "" +xsetwacom set "$ERASER" "Button" 3 key "" diff --git a/etc/bash_completion.d/is_installed.bash-completion b/etc/bash_completion.d/is_installed.bash-completion index 183bc75..d14eb36 100644 --- a/etc/bash_completion.d/is_installed.bash-completion +++ b/etc/bash_completion.d/is_installed.bash-completion @@ -1,4 +1,5 @@ -# bash completion for is_installed -*- shell-script -*- +# bash completion for is_installed +# -*- shell-script -*- _is_installed() { diff --git a/i3/config b/i3/config index cd7cfe8..c000eac 100644 --- a/i3/config +++ b/i3/config @@ -23,6 +23,12 @@ set $win Mod4 set $alt Mod1 set $ctrl Ctrl +# browser variable +set $browser firefox +set $incognito-browser firefox --private-window +# editor variable +set $prog-editor sublime_text + # title alignment #title_align center @@ -34,14 +40,14 @@ set $ctrl Ctrl # # something like: set $ws1 1:mail # # set $ws2 2:x # -set $ws1 "1:web" -set $ws2 "2:editor" -set $ws3 "3:console" -set $ws4 "4:ssh" -set $ws5 "5:graphic" -set $ws6 "6:editor2" -set $ws7 "7:chat" -set $ws8 "8:music" +set $ws1 "web" +set $ws2 "editor" +set $ws3 "console" +set $ws4 "ssh" +set $ws5 "graphic" +set $ws6 "editor2" +set $ws7 "chat" +set $ws8 "music" # per workspace gaps workspace $ws1 gaps inner 0 @@ -58,41 +64,66 @@ font pango:"Droid Sans 10" floating_modifier $win # start a terminal -bindsym $alt+Return exec urxvt +# macropad 5 +bindsym $alt+Return exec --no-startup-id alacritty +# macropad Shift+5 +bindsym Shift+$alt+Return exec --no-startup-id blackpearl-sshmenu.sh + # custom binding -bindsym Shift+$ctrl+l exec --no-startup-id xclip -o | qrencode -o - | feh -Z - +# macropad 4 +bindsym Shift+$ctrl+l exec --no-startup-id clipmenu -no-lazy-grab -show run -theme blackpearl/runner +bindsym $alt+Shift+$ctrl+l exec --no-startup-id xclip -o | qrencode -o - | feh -Z - bindsym Print exec --no-startup-id blackpearl-scrotmenu.sh bindsym $alt+Menu exec --no-startup-id blackpearl-utilsmenu.sh +bindsym $win+Menu exec --no-startup-id blackpearl-appsmenu.sh bindsym $alt+Escape --release exec xkill bindsym $win+e exec pcmanfm-qt +# macropad 3 +bindsym $win+g exec gimp #bindsym $win+x exec --no-startup-id i3-exit -bindsym $win+s exec --no-startup-id wol d4:c9:ef:f1:c9:24 +#bindsym $win+s exec --no-startup-id wol d4:c9:ef:f1:c9:24 bindsym $win+l exec --no-startup-id i3lock-fancy -bindsym $win+t exec flatpak run io.typora.Typora -bindsym $win+w exec vivaldi +# macropad 1 +bindsym $win+w exec $browser +# macropad Shift+1 +bindsym $win+Shift+w exec $incognito-browser bindsym XF86Calculator exec kcalc bindsym XF86Sleep exec i3suspend -bindsym $win+Shift+w exec "vivaldi --incognito" -bindsym $win+h exec --no-startup-id blackpearl-sshmenu.sh -bindsym $win+r exec atom +# macropad 2 +bindsym $win+r exec $prog-editor +bindsym $win+Shift+r exec Typora bindsym XF86HomePage exec --no-startup-id blackpearl-appsmenu.sh -bindsym $win+p exec uxterm -T "spt" -geometry 90x30+800+30 -e spt -bindsym $win+Shift+t exec flatpak run org.telegram.desktop +#bindsym $win+p exec uxterm -T "spt" -geometry 90x30+800+30 -e spt +bindsym $win+m exec Telegram # window switching bindings bindsym $alt+Tab exec --no-startup-id "blackpearl-window.sh desktop" bindsym $alt+Ctrl+Tab exec --no-startup-id "blackpearl-window.sh all" -# volume binding +# multimedia binding +# macropad top encoder bindsym XF86AudioMute exec --no-startup-id pamixer -t bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5 +# macropad bottom encoder +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioNext exec --no-startup-id playerctl next + +# brightness bindings +# macropad Alt + top encoder +bindsym $alt+XF86AudioLowerVolume exec --no-startup-id monitor-light.sh dec 10 +bindsym $alt+XF86AudioRaiseVolume exec --no-startup-id monitor-light.sh inc 10 # kill focused window #bindsym $ctrl+Shift+q kill -# start dmenu (a program launcher) +# restart polybar +# macropad Alt + bottom encoder +bindsym $alt+XF86AudioPlay exec --no-startup-id polybar-msg cmd restart + +# start rofi in dmenu mode (a program launcher) bindsym $alt+F2 exec --no-startup-id blackpearl-runner.sh # change focus @@ -120,17 +151,17 @@ bindsym $alt+Shift+Up move up bindsym $alt+Shift+Right move right # split in horizontal orientation -bindsym $alt+h split h;exec notify-send 'split horizontally' +bindsym $alt+h split h;exec notify-send 'splitting windows horizontally' # split in vertical orientation -bindsym $alt+v split v;exec notify-send 'split vertically' +bindsym Shift+$alt+h split v;exec notify-send 'splitting windows vertically' # enter fullscreen mode for the focused container bindsym $alt+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) -bindsym $alt+s layout stacking;exec notify-send 'layout stacking' bindsym $alt+w layout tabbed;exec notify-send 'layout tabbed' -bindsym $alt+e layout toggle split;exec notify-send 'layout split' +bindsym Shift+$alt+w layout stacking;exec notify-send 'layout stacking' +bindsym Ctrl+$alt+w layout toggle split;exec notify-send 'layout split' # toggle tiling / floating bindsym $alt+Shift+space floating toggle @@ -149,55 +180,53 @@ bindsym Ctrl+F1 workspace $ws1 bindsym Ctrl+F2 workspace $ws2 bindsym Ctrl+F3 workspace $ws3 bindsym Ctrl+F4 workspace $ws4 -bindsym Ctrl+F5 workspace $ws5 -bindsym Ctrl+F6 workspace $ws6 -bindsym Ctrl+F7 workspace $ws7 -bindsym Ctrl+F8 workspace $ws8 +bindsym Shift+Ctrl+F1 workspace $ws5 +bindsym Shift+Ctrl+F2 workspace $ws6 +bindsym Shift+Ctrl+F3 workspace $ws7 +bindsym Shift+Ctrl+F4 workspace $ws8 # move focused container to workspace -bindsym $win+Shift+1 move container to workspace $ws1 -bindsym $win+Shift+2 move container to workspace $ws2 -bindsym $win+Shift+3 move container to workspace $ws3 -bindsym $win+Shift+4 move container to workspace $ws4 -bindsym $win+Shift+5 move container to workspace $ws5 -bindsym $win+Shift+6 move container to workspace $ws6 -bindsym $win+Shift+7 move container to workspace $ws7 -bindsym $win+Shift+8 move container to workspace $ws8 +bindsym $win+Ctrl+F1 move container to workspace $ws1 +bindsym $win+Ctrl+F2 move container to workspace $ws2 +bindsym $win+Ctrl+F3 move container to workspace $ws3 +bindsym $win+Ctrl+F4 move container to workspace $ws4 +bindsym $win+Shift+Ctrl+F1 move container to workspace $ws5 +bindsym $win+Shift+Ctrl+F2 move container to workspace $ws6 +bindsym $win+Shift+Ctrl+F3 move container to workspace $ws7 +bindsym $win+Shift+Ctrl+F4 move container to workspace $ws8 # navigate workspaces #bindsym $win+Home workspace $ws1 #bindsym $win+End workspace $ws8 -bindsym $win+Prior workspace prev -bindsym $win+Next workspace next - -# navigate workspaces next / previous -#bindsym $win+Ctrl+j workspace prev -#bindsym $win+Ctrl+ograve workspace next -#bindsym $win+Ctrl+Right workspace next -#bindsym $win+Ctrl+Left workspace prev +bindsym $win+XF86AudioPrev workspace prev +bindsym $win+XF86AudioNext workspace next # assign programs to specific workspaces -assign [title="ssh"] $ws4 -assign [class="URxvt"] $ws3 -assign [class="Atom"] $ws2 +assign [class="Firefox"] $ws1 +assign [class="Sublime_text"] $ws2 +for_window [title="^ssh*"] move to workspace $ws4 +assign [class="Alacritty"] $ws3 +assign [class="Gimp"] $ws5 assign [class="Typora"] $ws6 -assign [class="Vivaldi-stable"] $ws1 +assign [class="trojita"] $ws6 +assign [class="Joplin"] $ws8 assign [class="Telegram"] $ws7 -assign [class="gimp-2.10"] $ws5 -assign [title="^spt$"] $ws8 # open specific apps in floating mode for_window [class="kcalc"] floating enable border pixel 1 for_window [class="lxsudo"] floating enable border pixel 1 for_window [title="^spt$"] floating enable border pixel 1 +# trojita starts in tabbed layout +for_window [class="trojita"] layout tabbed + # switch to workspace with urgent window automatically for_window [urgent=latest] focus -client.focused #349f86 #349f85 #000088 #00C1FF -client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C -client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C -client.urgent #00C1FF #00C1FF #000088 #00C1FF +client.focused #f57c00 #ffb74d #303030 #7986cb +client.focused_inactive #303030 #303030 #ffb74d #303030 +client.unfocused #303030 #303030 #BDBDBD #303030 +client.urgent #D32F2F #D32F2F #303030 #D32F2F # window borders hide_edge_borders both @@ -280,30 +309,35 @@ mode "$wine_gaps_inner" { bindsym Escape mode "default" } - -# start kdeconnect -exec --no-startup-id kdeconnect-indicator - -# start tint2 i3status -exec --no-startup-id tint2 -c ~/.config/tint2/i3status.tint2rc - -# start tint2 bar -exec --no-startup-id tint2 -c ~/.config/tint2/minima.tint2rc - -# start pulseaudio daemon -exec --no-startup-id start-pulseaudio-x11 +# start both polybar +exec_always --no-startup-id $HOME/bin/run-polybar.sh # start networkmanager applet exec --no-startup-id nm-applet # start lxqt-notificationd exec --no-startup-id lxqt-notificationd + +# start pulseaudio daemon +exec --no-startup-id start-pulseaudio-x11 + +# start dunst #exec --no-startup-id dunst -# start keepassxc -#exec --no-startup-id keepassxc +# start tint2 i3status +#exec --no-startup-id tint2 -c ~/.config/tint2/i3status.tint2rc + +# start tint2 bar +#exec --no-startup-id tint2 -c ~/.config/tint2/minima.tint2rc + +# start kdeconnect +#exec --no-startup-id kdeconnect-indicator + +# start redshift applet +#exec --no-startup-id redshift-gtk + # start qtpass -exec --no-startup-id qtpass +#exec --no-startup-id qtpass -# start audio icon -exec --no-startup-id pnmixer +# start feh-blur +exec --no-startup-id feh-blur -b 7 --no-animate -d diff --git a/compton.conf b/oldies/compton.conf similarity index 100% rename from compton.conf rename to oldies/compton.conf diff --git a/conky/qlocktwo.conkyrc b/oldies/conky/qlocktwo.conkyrc similarity index 100% rename from conky/qlocktwo.conkyrc rename to oldies/conky/qlocktwo.conkyrc diff --git a/bin/executors/caps b/oldies/executors/caps similarity index 100% rename from bin/executors/caps rename to oldies/executors/caps diff --git a/bin/executors/inet b/oldies/executors/inet similarity index 100% rename from bin/executors/inet rename to oldies/executors/inet diff --git a/bin/executors/mail-check b/oldies/executors/mail-check similarity index 100% rename from bin/executors/mail-check rename to oldies/executors/mail-check diff --git a/bin/executors/psuinfo.py b/oldies/executors/psuinfo.py similarity index 100% rename from bin/executors/psuinfo.py rename to oldies/executors/psuinfo.py diff --git a/bin/executors/wifi-name b/oldies/executors/wifi-name similarity index 100% rename from bin/executors/wifi-name rename to oldies/executors/wifi-name diff --git a/rofi/blackpearl/appmenu.rasi b/oldies/rofi/blackpearl/appmenu.rasi similarity index 100% rename from rofi/blackpearl/appmenu.rasi rename to oldies/rofi/blackpearl/appmenu.rasi diff --git a/rofi/blackpearl/i3exit.rasi b/oldies/rofi/blackpearl/i3exit.rasi similarity index 100% rename from rofi/blackpearl/i3exit.rasi rename to oldies/rofi/blackpearl/i3exit.rasi diff --git a/rofi/blackpearl/powermenu.rasi b/oldies/rofi/blackpearl/powermenu.rasi similarity index 100% rename from rofi/blackpearl/powermenu.rasi rename to oldies/rofi/blackpearl/powermenu.rasi diff --git a/rofi/blackpearl/runner.rasi b/oldies/rofi/blackpearl/runner.rasi similarity index 100% rename from rofi/blackpearl/runner.rasi rename to oldies/rofi/blackpearl/runner.rasi diff --git a/rofi/blackpearl/scrotmenu.rasi b/oldies/rofi/blackpearl/scrotmenu.rasi similarity index 100% rename from rofi/blackpearl/scrotmenu.rasi rename to oldies/rofi/blackpearl/scrotmenu.rasi diff --git a/rofi/blackpearl/shared/reset.rasi b/oldies/rofi/blackpearl/shared/reset.rasi similarity index 100% rename from rofi/blackpearl/shared/reset.rasi rename to oldies/rofi/blackpearl/shared/reset.rasi diff --git a/rofi/blackpearl/shared/settings.rasi b/oldies/rofi/blackpearl/shared/settings.rasi similarity index 100% rename from rofi/blackpearl/shared/settings.rasi rename to oldies/rofi/blackpearl/shared/settings.rasi diff --git a/rofi/blackpearl/utilsmenu.rasi b/oldies/rofi/blackpearl/utilsmenu.rasi similarity index 100% rename from rofi/blackpearl/utilsmenu.rasi rename to oldies/rofi/blackpearl/utilsmenu.rasi diff --git a/tint2/i3status.tint2rc b/oldies/tint2/i3status.tint2rc similarity index 100% rename from tint2/i3status.tint2rc rename to oldies/tint2/i3status.tint2rc diff --git a/tint2/minima.tint2rc b/oldies/tint2/minima.tint2rc similarity index 100% rename from tint2/minima.tint2rc rename to oldies/tint2/minima.tint2rc diff --git a/wacomsetter.sh b/oldies/wacomsetter.sh similarity index 100% rename from wacomsetter.sh rename to oldies/wacomsetter.sh diff --git a/bin/wallpaper.sh b/oldies/wallpaper.sh similarity index 100% rename from bin/wallpaper.sh rename to oldies/wallpaper.sh diff --git a/picom.conf b/picom.conf index a8ba5c7..660f5f7 100644 --- a/picom.conf +++ b/picom.conf @@ -44,6 +44,7 @@ shadow-offset-y = -7; # # shadow-exclude = [] shadow-exclude = [ + "class_g = 'lxqt-notificationd'", "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", @@ -273,7 +274,7 @@ detect-transient = true; # will be considered focused or unfocused at the same time. # 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. # -# detect-client-leader = false +detect-client-leader = true; # Resize damaged region by a specific number of pixels. # A positive value enlarges it while a negative one shrinks it. @@ -420,7 +421,7 @@ log-level = "warn"; # wintypes: { - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; + tooltip = { fade = true; shadow = false; opacity = 0.95; focus = true; full-shadow = false; }; dock = { shadow = false; clip-shadow-above = true; } dnd = { shadow = false; } popup_menu = { opacity = 0.8; } diff --git a/tmux/tmux.conf.danix b/tmux/tmux.conf.danix index 55484ea..228b7d5 100644 --- a/tmux/tmux.conf.danix +++ b/tmux/tmux.conf.danix @@ -3,7 +3,7 @@ set -g history-limit 10000 ## set the default TERM -set -g default-terminal screen +set -g default-terminal "screen-256color" ## update the TERM variable of terminal emulator when creating a new session or attaching a existing session set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM' ## determine if we should enable 256-colour support @@ -161,9 +161,9 @@ set -goq @blackpearl-status-left-area-left-format "\[ #h \]" set -goq @blackpearl-status-left-area-middle-format "#(whoami)" set -goq @blackpearl-status-left-area-right-format "" -set -goq @blackpearl-status-right-area-left-format "" -set -goq @blackpearl-status-right-area-middle-format "[ %d-%b-%y ]" -set -goq @blackpearl-status-right-area-right-format "[ %H:%M:%S ]" +#set -goq @blackpearl-status-right-area-left-format "" +#set -goq @blackpearl-status-right-area-middle-format "[ %d-%b-%y ]" +#set -goq @blackpearl-status-right-area-right-format "[ %H:%M:%S ]" set -goq @blackpearl-window-status-current-format "( #I:#W )" set -goq @blackpearl-window-status-format "#I:#W" @@ -178,13 +178,12 @@ set -gF status-justify centre set -gF status-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}" set -gF status-left-length "40" -set -gF status-right-length "150" +#set -gF status-right-length "150" +set -gF status-right-length "0" set -gF status-left "#{@theme-status-left}" -# set -gF status-left "[ #h ] ♥ #(cat /etc/slackware-version)" set -gF status-left-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}" -set -gF status-right "#{@theme-status-right}" -# set -gF status-right "%d-%b-%y | %H:%M:%S" -set -gF status-right-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}" +#set -gF status-right "#{@theme-status-right}" +#set -gF status-right-style "fg=#{@blackpearl-orange},bg=#{@blackpearl-standard-background}" set -gwF window-status-current-format "#{@theme-window-status-current-format}" set -gwF window-status-format "#{@theme-window-status-format}" @@ -196,13 +195,8 @@ set -gF message-style "fg=#{@blackpearl-dark-grey},bg=#{@blackpearl-orange}" set -gwF clock-mode-colour "#{@theme-clock-mode-colour}" set -gwF clock-mode-style "#{@theme-clock-mode-style}" -# set-option -g status-style bg=colour220,fg=colour233 -# set-option -g pane-active-border-bg "#ff0000" -# set -gq @themepack-status-left-area-right-format "" -# set -gq @themepack-status-right-area-middle-format "#h" -# set -gq @themepack-status-right-area-right-format "%d-%b-%y" -# set -gq @powerline-status-bg "ffbf00" -# set -g @themepack 'powerline/block/yellow' +# remove the right side of the status bar +set-option -g status-right "" # run tmux-plugin-manager # run -b '~/.tmux/plugins/tpm/tpm' diff --git a/xinitrc b/xinitrc index cf28ecf..94de8f8 100644 --- a/xinitrc +++ b/xinitrc @@ -2,7 +2,6 @@ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap -userxprofile=$HOME/.xprofile sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap @@ -11,8 +10,6 @@ sysmodmap=/etc/X11/xinit/.Xmodmap [ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap [ -f $userresources ] && /usr/bin/xrdb -merge $userresources [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap -[ -f $userxprofile ] && . $userxprofile - # Start i3 if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then diff --git a/xprofile b/xprofile index 2384452..ca975ef 100644 --- a/xprofile +++ b/xprofile @@ -1,17 +1,24 @@ #! /bin/sh xbacklight -set 100 & -# ~/.fehbg & -~/bin/wallpaper.sh ~/Pictures/wallpapers/Chrome_OS_Wallpapers_Late_2020/Element_by_Rutger_Paulusse/ & -#wicd-client --tray & -#lxqt-powermanagement & +clipmenud &> /dev/null & +kdeconnect-indicator & +redshift-gtk & +qtpass & setxkbmap -layout it & numlockx & syndaemon -K -t -R -i 2 -d & +picom -b +xdg-user-dirs-update & + +# USELESS!!! +#wicd-client --tray & +# ~/.fehbg & +# ~/bin/wallpaper.sh ~/Pictures/wallpapers/Chrome_OS_Wallpapers_Late_2020/Element_by_Rutger_Paulusse/ & +# /home/danix/Pictures/wallpapers/Walls-by-JFL/ +#lxqt-powermanagement & #xautolock -time 10 -locker i3lock-wrapper -notify 30 -notifier "notify-send 'locking the system' '30 seconds before locking system.' --icon=dialog-warning" & #compton --dbus --config ~/.config/compton.conf & -picom -b #conky -c ~/.config/conky/qlocktwo.conkyrc & -xdg-user-dirs-update & -- 2.20.1