Compare commits

...

2 Commits

Author SHA1 Message Date
Quentin Duchemin 747506f8af
Better trash 2023-06-27 17:03:27 +02:00
Quentin Duchemin a844f73f75
New screen, maintenance 2023-06-23 15:16:48 +02:00
7 changed files with 17 additions and 9 deletions

View File

@ -44,6 +44,7 @@ signal-desktop
telegram-desktop telegram-desktop
terminator terminator
thunderbird thunderbird
trash-cli
ttf-dejavu ttf-dejavu
ttf-font-awesome-5 ttf-font-awesome-5
ttf-material-icons-git ttf-material-icons-git

View File

@ -4,9 +4,9 @@
# alterning workspace between each screen # alterning workspace between each screen
workspace 1 output DVI-I-1 workspace 1 output DVI-I-1
workspace 2 output HDMI-0 workspace 2 output HDMI-1
workspace 3 output DVI-I-1 workspace 3 output DVI-I-1
workspace 4 output HDMI-0 workspace 4 output HDMI-1
workspace 5 output DVI-I-1 workspace 5 output DVI-I-1
workspace 6 output DVI-I-1 workspace 6 output DVI-I-1
workspace 7 output DVI-I-1 workspace 7 output DVI-I-1

View File

@ -4,7 +4,7 @@ JACK settings, as persisted by D-Bus object.
You probably don't want to edit this because You probably don't want to edit this because
it will be overwritten next time jackdbus saves. it will be overwritten next time jackdbus saves.
--> -->
<!-- Thu Mar 30 10:33:45 2023 --> <!-- Thu Apr 20 18:56:48 2023 -->
<jack> <jack>
<engine> <engine>
<option name="driver">alsa</option> <option name="driver">alsa</option>
@ -16,7 +16,7 @@ it will be overwritten next time jackdbus saves.
<option name="playback">hw:PCH,0</option> <option name="playback">hw:PCH,0</option>
<option name="rate">44100</option> <option name="rate">44100</option>
<option name="period">2048</option> <option name="period">2048</option>
<option name="inchannels">2</option> <option name="inchannels">0</option>
<option name="outchannels">2</option> <option name="outchannels">2</option>
<option name="midi-driver">seq</option> <option name="midi-driver">seq</option>
</driver> </driver>

View File

@ -3,7 +3,7 @@
names=("chostybottombar" "chostytopbar") names=("chostybottombar" "chostytopbar")
killall -q polybar killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
monitor=$(xrandr --query | grep "connected" | grep "primary" | cut -d" " -f1) monitor=$(xrandr --query | grep " connected" | grep "primary" | cut -d" " -f1)
for name in ${names[@]}; do for name in ${names[@]}; do
MONITOR=${monitor} polybar -q --reload ${name} & MONITOR=${monitor} polybar -q --reload ${name} &
done done

9
.env
View File

@ -1,3 +1,8 @@
export SCENARI_SSH_USER='qduchemin' export SCENARI_SSH_USER='qduchemin'
export SCENARI_SSH_KEY_PATH="~/.ssh/id_gpg.pub" export SCENARI_SSH_KEY_PATH="/home/.ssh/id_gpg.pub"
export PATH="$PATH:~/go/bin" export PATH="$PATH:/home/go/bin"
# trash-cli supports top-level trash (see https://specifications.freedesktop.org/trash-spec/trashspec-latest.html)
# gio, which is otherwise used by default, wants to write to ~/.local/share/Trash, which is on my
# system on another partition than user data, so that copying between partitions is denied by gio.
# another solution is to link $XDG_DATA_HOME/Trash somewhere on the same partition as user data
export ELECTRON_TRASH="trash-cli"

View File

@ -1,3 +1,3 @@
enable-ssh-support enable-ssh-support
default-cache-ttl 3600 default-cache-ttl 3600
max-cache-ttl 3600 max-cache-ttl 7200

2
.zshrc
View File

@ -24,6 +24,8 @@ HISTFILE=~/.zsh_history
HISTSIZE=10000 HISTSIZE=10000
SAVEHIST=10000 SAVEHIST=10000
[[ -s /home/.autojump/etc/profile.d/autojump.sh ]] && source /home/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)