Compare commits

3 Commits
main ... x13

18 changed files with 66 additions and 274 deletions

142
.bashrc
View File

@@ -1,142 +0,0 @@
#
# ~/.bashrc
#
[[ $- != *i* ]] && return
colors() {
local fgc bgc vals seq0
printf "Color escapes are %s\n" '\e[${value};...;${value}m'
printf "Values 30..37 are \e[33mforeground colors\e[m\n"
printf "Values 40..47 are \e[43mbackground colors\e[m\n"
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n"
# foreground colors
for fgc in {30..37}; do
# background colors
for bgc in {40..47}; do
fgc=${fgc#37} # white
bgc=${bgc#40} # black
vals="${fgc:+$fgc;}${bgc}"
vals=${vals%%;}
seq0="${vals:+\e[${vals}m}"
printf " %-9s" "${seq0:-(default)}"
printf " ${seq0}TEXT\e[m"
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
done
echo; echo
done
}
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
# Change the window title of X terminals
case ${TERM} in
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
;;
screen*)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
;;
esac
use_color=true
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
if ${use_color} ; then
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
else
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
fi
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors
PS1='\u@\h \W \$ '
else
PS1='\u@\h \w \$ '
fi
fi
unset use_color safe_term match_lhs sh
#alias cp="cp -i" # confirm before overwriting something
#alias df='df -h' # human-readable sizes
#alias free='free -m' # show sizes in MB
#alias np='nano -w PKGBUILD'
#alias more=less
source ~/bin/alias
xhost +local:root > /dev/null 2>&1
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control. #65623
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
shopt -s expand_aliases
# export QT_SELECT=4
# Enable history appending instead of overwriting. #139609
shopt -s histappend
#
# # ex - archive extractor
# # 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 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"

View File

@@ -1,7 +1,7 @@
[General] [General]
TabbedEditor=false TabbedEditor=false
StartupDirectory=last StartupDirectory=last
StartupPath=/mnt/rsync/photos/2011/10/2011_10_16 StartupPath=/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw
DateFormat=%Y-%m-%d DateFormat=%Y-%m-%d
AdjusterMinDelay=100 AdjusterMinDelay=100
AdjusterMaxDelay=200 AdjusterMaxDelay=200
@@ -44,7 +44,7 @@ MaxCacheEntries=20000
ParseExtensions=3fr;arw;arq;cr2;cr3;crf;crw;dcr;dng;fff;iiq;jpg;jpeg;kdc;mef;mos;mrw;nef;nrw;orf;pef;png;raf;raw;rw2;rwl;rwz;sr2;srf;srw;tif;tiff;x3f; ParseExtensions=3fr;arw;arq;cr2;cr3;crf;crw;dcr;dng;fff;iiq;jpg;jpeg;kdc;mef;mos;mrw;nef;nrw;orf;pef;png;raf;raw;rw2;rwl;rwz;sr2;srf;srw;tif;tiff;x3f;
ParseExtensionsEnabled=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;0;1;1;1;1;1;1;1;1;1;1;1; ParseExtensionsEnabled=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;0;1;1;1;1;1;1;1;1;1;1;1;
ThumbnailInterpolation=1 ThumbnailInterpolation=1
FavoriteDirs=/mnt/rsync/photos/2011/10/2011_10_16; FavoriteDirs=
ThumbnailZoomRatios=0.20000000000000001;0.29999999999999999;0.45000000000000001;0.59999999999999998;0.80000000000000004;1; ThumbnailZoomRatios=0.20000000000000001;0.29999999999999999;0.45000000000000001;0.59999999999999998;0.80000000000000004;1;
OverlayedFileNames=false OverlayedFileNames=false
FilmStripOverlayedFileNames=false FilmStripOverlayedFileNames=false
@@ -53,7 +53,7 @@ FilmStripShowFileNames=false
HighlightSelected=false HighlightSelected=false
InternalThumbIfUntouched=true InternalThumbIfUntouched=true
MaxRecentFolders=15 MaxRecentFolders=15
RecentFolders=/mnt/rsync/photos/2011/10/2011_10_16;/mnt/rsync/photos/marrakech/sct;/mnt/rsync/photos/marrakech/AWA;/mnt/rsync/photos/106_PANA;/mnt/rsync/photos/2011/10/2011_10_15;/mnt/rsync/photos/201410/steingletscher/DCIM;/mnt/rsync/photos/201410/steingletscher;/mnt/rsync/photos/2011/10/2011_10_01;/home/thierry/Pictures;/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw;/run/media/thierry/9C33-6BBD/DCIM/11451225;/home/thierry/Pictures/nex;/run/media/thierry/LUMIX/DCIM/102_PANA; RecentFolders=/home/thierry/Pictures/23.12.2025 - promenade avec beony/raw;/home/thierry/Pictures;/run/media/thierry/9C33-6BBD/DCIM/11451225;/home/thierry/Pictures/nex;/run/media/thierry/LUMIX/DCIM/102_PANA;
ThumbnailRatingMode=xmp ThumbnailRatingMode=xmp
[Clipping Indication] [Clipping Indication]
@@ -130,8 +130,8 @@ CustomProfileBuilderPath=
CustomProfileBuilderKeys=0 CustomProfileBuilderKeys=0
[GUI] [GUI]
WindowWidth=1272 WindowWidth=2552
WindowHeight=1402 WindowHeight=1405
WindowX=0 WindowX=0
WindowY=0 WindowY=0
WindowMonitor=0 WindowMonitor=0

View File

@@ -4,7 +4,8 @@
# #
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
monitor=HDMI-A-1,2560x1440@60, 0x0, 1 monitor=eDP-1,1920x1080@120, 0x0, 1
monitor=HDMI-A-1,2560x1440@74.78, 1920x0, 1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -12,15 +13,12 @@ monitor=HDMI-A-1,2560x1440@60, 0x0, 1
# Execute your favorite apps at launch # Execute your favorite apps at launch
debug { debug {
disable_logs = false disable_logs=false
#gl_debugging = true
} }
# Source a file (multi-file configs) # Source a file (multi-file configs)
#source = ~/.config/hypr/myColors.conf #source = ~/.config/hypr/myColors.conf
#env = AQ_NO_MODIFIERS,1
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,48 env = XCURSOR_SIZE,48
@@ -63,8 +61,8 @@ ecosystem {
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
kb_layout = ch #,us kb_layout = ch
kb_variant = fr #,euro kb_variant = fr
kb_model = kb_model =
kb_options = grp:alt_space_toggle kb_options = grp:alt_space_toggle
kb_rules = kb_rules =
@@ -138,10 +136,11 @@ master {
#no_gaps_when_only=true #no_gaps_when_only=true
} }
#gestures { gestures {
# # See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
# workspace_swipe = off #workspace_swipe = off
#} gesture = 3, horizontal, workspace
}
# Example per-device config # Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
@@ -155,16 +154,6 @@ master {
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
#plugin {
# hyprexpo {
# columns = 3
# gap_size = 1
# bg_col = rgb(111111)
# workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
#
# gesture_distance = 300 # how far is the "max" for the gesture
# }
#}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
@@ -175,18 +164,17 @@ bind = $mainMod SHIFT, Q, exec, alacritty
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, W, killactive, bind = $mainMod, W, killactive,
bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, E, exec, nautilus #nemo bind = $mainMod, E, exec, nemo
bind = $mainMod, Y, exec, copyq toggle bind = $mainMod, Y, exec, copyq toggle
bind = $mainMod, A, exec, swaync-client -t -sw bind = $mainMod, A, exec, swaync-client -t -sw
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, space, exec, fuzzel bind = $mainMod, space, exec, fuzzel
bind = $mainMod, D, exec, wayscriber --active bind = $mainMod, D, exec, wayscriber --active
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, layoutmsg, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprlock bind = $mainMod, L, exec, hyprlock
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen,
bind = $mainMod, Delete, exec, ~/bin/suspend.sh bind = $mainMod, Delete, exec, ~/bin/suspend.sh
#bind = $mainMod, HOME, hyprexpo:expo, toggle
#laptop screen brightness #laptop screen brightness
bind = $mainMod ALT, 1, exec, sudo brightnessctl s 10% bind = $mainMod ALT, 1, exec, sudo brightnessctl s 10%
@@ -213,11 +201,6 @@ bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_fac
bindd = $mainMod ALT, mouse_up, zoom out, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')" bindd = $mainMod ALT, mouse_up, zoom out, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')"
# Desktop zooming or magnifier
bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')"
bindd = $mainMod ALT, mouse_up, zoom out, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')"
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r bind = $mainMod, right, movefocus, r
@@ -261,8 +244,8 @@ bind = $mainMod CTRL, 0, movetoworkspacesilent, 10
# Scroll through existing workspaces with mainMod + scroll # Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e-1 bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1
# Scroll workspaces with ctrl + mod + left || right keys # Scroll workspaces with ctrl + mod + left || right keys
bind = $mainMod CTRL, left, workspace, e-1 bind = $mainMod CTRL, left, workspace, e-1
@@ -294,15 +277,27 @@ bind = ALT, a, exec, playerctl -p $player previous
#screenshot #screenshot
#bind = $mainMod, Shift_R , exec, hyprshot --clipboard-only -m region #bind = $mainMod, Shift_R , exec, hyprshot --clipboard-only -m region
#bind = , Print, exec, hyprshot --clipboard-only -m region bind = , Print, exec, hyprshot --clipboard-only -m region
bind = , Print, exec, flameshot gui
#windows rules #windows rules
##windowrule = workspace 5, audacious
##windowrule = workspace 1, firefox
#windowrule = float, class:com.github.hluk.copyq #windowrule = float, class:com.github.hluk.copyq
##windowrule = float,title:^(.*)Aria2(.*)Download(.*)Firefox(.*)$
#
#windowrule=float,class:clight-gui #windowrule=float,class:clight-gui
#windowrule=float,class:localsend #windowrule=float,class:localsend
#windowrule=float,class:blueman-manager #windowrule=float,class:blueman-manager
##windowrule=workspace 10 silent,class:org.keepassxc.KeePassXC
#
#windowrule = stayfocused,class:(steam),title:(^$) #windowrule = stayfocused,class:(steam),title:(^$)
#windowrule = stayfocused,class:(zoom),title:(^$)
# To get more information about a windows class, title, XWayland status or its size, you can use `hyprctl clients`. (From Hyprland Wiki)
#windowrulev2 = float,class:^(one.alynx.showmethekey)$
#windowrulev2 = float,class:^(showmethekey-gtk)$ # make window floating
#windowrulev2 = pin,class:^(showmethekey-gtk)$ # pin window
#windowrule = stayfocused, title:^(menu window)$, class:^(zoom)$ #windowrule = stayfocused, title:^(menu window)$, class:^(zoom)$
#windowrule = stayfocused, title:^(confirm window)$, class:^(zoom)$ #windowrule = stayfocused, title:^(confirm window)$, class:^(zoom)$
#windowrulev2 = tile, class:^(com-zerenesystems-stacker-gui-MainFrame)$ #windowrulev2 = tile, class:^(com-zerenesystems-stacker-gui-MainFrame)$
@@ -318,47 +313,20 @@ windowrule {
float = on float = on
} }
#region Stay focused
windowrule { windowrule {
name = stay-focused-tag-steam name = stay-focused
match:class = (steam) match:class = (steam)
tag = +stay-focused
}
windowrule {
name = stay-focused-tag-zoom
match:class = ^(zoom)$ match:class = ^(zoom)$
tag = +stay-focused
}
windowrule {
name = stay-focused-apply
match:tag = stay-focused
stay_focused = on stay_focused = on
} }
#endRegion
#region tiled
windowrule {
name = tiled-tag-zerene
match:class = ^(com-zerenesystems-stacker-gui-MainFrame__)$
match:xwayland = 1
tag=+tiled
}
windowrule { windowrule {
name = tiled-tag-renpy name = tiled
match:class = ^(com-zerenesystems-stacker-gui-MainFrame)$
match:title = (A Ren(.)Py Game) match:title = (A Ren(.)Py Game)
match:xwayland = 1 match:xwayland = 1
tag = +tiled
}
windowrule {
name = tiles-apply
match:tag = tiled
float = off float = off
} }
#endRegion
#jetbrain xwayland fixes. see https://github.com/hyprwm/Hyprland/issues/4257 #jetbrain xwayland fixes. see https://github.com/hyprwm/Hyprland/issues/4257
windowrule { windowrule {
@@ -374,7 +342,6 @@ windowrule {
focus_on_activate = on focus_on_activate = on
no_initial_focus = on no_initial_focus = on
float=off float=off
stay_focused = on
match:tag = jb match:tag = jb
} }

View File

@@ -21,7 +21,6 @@
#wallpaper = , /home/thierry/Pictures/bg/IMG_20210913_142249.jpg #wallpaper = , /home/thierry/Pictures/bg/IMG_20210913_142249.jpg
splash = false splash = false
wallpaper { wallpaper {
monitor = eDP-1 monitor = eDP-1
path = /home/thierry/Pictures/bg/ path = /home/thierry/Pictures/bg/
@@ -36,9 +35,3 @@ wallpaper {
timeout = 240 timeout = 240
} }
wallpaper {
monitor = HDMI-A-1
path = /home/thierry/Pictures/bg/
fit_mode = cover
timeout = 240
}

View File

@@ -49,8 +49,8 @@ local function save_profiles(threshold)
end end
time([[Luarocks path setup]], true) time([[Luarocks path setup]], true)
local package_path_str = "/home/thierry/.cache/nvim/packer_hererocks/2.1.1765228720/share/lua/5.1/?.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1765228720/share/lua/5.1/?/init.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1765228720/lib/luarocks/rocks-5.1/?.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1765228720/lib/luarocks/rocks-5.1/?/init.lua" local package_path_str = "/home/thierry/.cache/nvim/packer_hererocks/2.1.1748459687/share/lua/5.1/?.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1748459687/share/lua/5.1/?/init.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1748459687/lib/luarocks/rocks-5.1/?.lua;/home/thierry/.cache/nvim/packer_hererocks/2.1.1748459687/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/thierry/.cache/nvim/packer_hererocks/2.1.1765228720/lib/lua/5.1/?.so" local install_cpath_pattern = "/home/thierry/.cache/nvim/packer_hererocks/2.1.1748459687/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str package.path = package.path .. ';' .. package_path_str
end end

View File

@@ -112,17 +112,6 @@
"custom/left-arrow-dark", "custom/left-arrow-dark",
"cpu", "cpu",
//"custom/sep", //"custom/sep",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"temperature",
//"battery",
//"custom/left-arrow-light",
//"custom/left-arrow-dark",
//"backlight",
//"custom/left-arrow-light",
//"custom/left-arrow-dark",
//"user",
//"idle_inhibitor",
"temperature", "temperature",
"custom/left-arrow-light", "custom/left-arrow-light",
"custom/left-arrow-dark", "custom/left-arrow-dark",

View File

@@ -48,11 +48,11 @@ window#waybar {
color: #fdf6e3; color: #fdf6e3;
} }
#workspaces button.visible{ #workspaces button.visible{
color: red; color: @red;
/*border-bottom: 2px dotted red;*/ /*border-bottom: 2px dotted red;*/
} }
#workspaces button.empty{ #workspaces button.empty{
color: white; color: @white;
/*border-bottom: 2px dotted white;*/ /*border-bottom: 2px dotted white;*/
} }

View File

@@ -1,4 +0,0 @@
[default]
path = "/home/thierry/Pictures/Wallpapers/"
duration = "30m"
sorting = "ascending"

View File

@@ -1,5 +0,0 @@
{
"devel": true,
"timeupdate": true
}

5
.gitignore vendored
View File

@@ -1,5 +1,2 @@
/.idea/ /.idea/
*.AppImage *.AppImage
/.config/ART/batch/queue.csv
/.config/ART/options
/.config/RawTherapee/options

View File

@@ -5,7 +5,6 @@ local wezterm = require 'wezterm'
local config = wezterm.config_builder() local config = wezterm.config_builder()
-- This is where you actually apply your config choices. -- This is where you actually apply your config choices.
config.font = wezterm.font 'JetBrains Mono'
-- For example, changing the initial geometry for new windows: -- For example, changing the initial geometry for new windows:
config.initial_cols = 180 config.initial_cols = 180
@@ -16,14 +15,9 @@ config.font_size = 11
--config.dpi=180 --config.dpi=180
--config.color_scheme = 'AdventureTime' --config.color_scheme = 'AdventureTime'
--config.color_scheme = "tokyonight_moon" config.color_scheme = "tokyonight_moon"
--config.color_scheme = "Aco (Gogh)" config.color_scheme = "Aco (Gogh)"
config.color_scheme = "Dark Pastel (Gogh)" config.color_scheme = "adventure"
config.color_scheme = 'deep'
config.color_scheme = 'Dissonance (Gogh)'
--config.color_scheme = 'Duotone Dark'
config.warn_about_missing_glyphs = false
config.window_background_opacity = 0.8 config.window_background_opacity = 0.8
config.enable_scroll_bar = true config.enable_scroll_bar = true

10
.zshrc
View File

@@ -1,6 +1,6 @@
neofetch neofetch
#cd ~ cd ~
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n] # Initialization code that may require console input (password prompts, [y/n]
@@ -130,11 +130,3 @@ if [[ -f ~/bin/alias ]]; then
fi fi
eval "$(atuin init zsh --disable-up-arrow)" eval "$(atuin init zsh --disable-up-arrow)"
## [Completion]
## Completion scripts setup. Remove the following line to uninstall
[[ -f /home/thierry/.dart-cli-completion/zsh-config.zsh ]] && . /home/thierry/.dart-cli-completion/zsh-config.zsh || true
## [/Completion]
# Set up fzf key bindings and fuzzy completion
source <(fzf --zsh)

View File

@@ -4,7 +4,8 @@ alias batt="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
alias iops="fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75" alias iops="fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75"
alias btr="bluetoothctl connect 40:ED:98:1A:40:D0" alias btr="bluetoothctl connect 40:ED:98:1A:40:D0"
alias btro="bluetoothctl disconnect 40:ED:98:1A:40:D0" alias btro="bluetoothctl disconnect 40:ED:98:1A:40:D0"
alias ls="eza --icons=always --colour=always" alias ls="eza --icons=always --colour=always -l"
alias scan='ssh localhost "DISPLAY=:1 simple-scan -d"'
alias kpwd='echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx' alias kpwd='echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx'
alias paclean='sudo pacman -R $(pacman -Qtdq)' alias paclean='sudo pacman -R $(pacman -Qtdq)'
alias vim=nvim alias vim=nvim

View File

@@ -12,7 +12,7 @@ if test $action = up
else if test $action = down else if test $action = down
set newVal (math $current_value - $dvalue) set newVal (math $current_value - $dvalue)
if test $newVal -lt 2424 if test $newVal -lt 2424
set newVal 2424 set newVal 2424
end end
echo New brightness value: $newVal echo New brightness value: $newVal
echo $newVal > $backlight_device echo $newVal > $backlight_device

View File

@@ -2,7 +2,6 @@
set -e set -e
default_sink=$(pactl info | grep "Default Sink:" | cut '-d ' -f3) default_sink=$(pactl info | grep "Default Sink:" | cut '-d ' -f3)
sinks=$(pactl list short sinks | cut -f2 | grep -v "^easyeffects_sink$")
# Only sinks that are available (not "not available") # Only sinks that are available (not "not available")
sinks=$(pactl list sinks | awk ' sinks=$(pactl list sinks | awk '
@@ -33,5 +32,4 @@ pactl set-default-sink "$next_sink"
easyeffects_id=$(pactl list short sinks | awk '$2=="easyeffects_sink" {print $1; exit}') easyeffects_id=$(pactl list short sinks | awk '$2=="easyeffects_sink" {print $1; exit}')
pactl list short sink-inputs | \ pactl list short sink-inputs | \
cut -f1 | \ cut -f1 | \
xargs -I{} pactl move-sink-input {} "$next_sink" xargs -I{} pactl move-sink-input {} "$next_sink"

View File

@@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source ~/keepass.env source ~/keepass.env
echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx <<<$KEEPWD & echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx &
sleep 1 sleep 1
#firefox &
librewolf & librewolf &

View File

@@ -5,16 +5,27 @@ export TERMINAL=weztzerm
source /home/thierry/keepass.env source /home/thierry/keepass.env
source /home/thierry/bin/alias source /home/thierry/bin/alias
#sleep 1
#killall -e xdg-desktop-portal-hyprland
#killall -e xdg-desktop-portal-wlr
#killall xdg-desktop-portal
#/usr/lib/xdg-desktop-portal-hyprland &
#sleep 2
#/usr/lib/xdg-desktop-portal &
#jamesdsp -t &
#clight-gui --tray &
#localsend --hidden &
#jetbrains-toolbox &
~/bin/keep.sh & ~/bin/keep.sh &
blueman-tray & blueman-tray &
blueman-applet & blueman-applet &
copyq --start-server & copyq --start-server &
#easyeffects -w & easyeffects -w &
feishin & feishin &
#hyprpaper & hyprpaper &
wpaperd &
localsend --hidden &
mangohud steam -silent & mangohud steam -silent &
nextcloud --background & nextcloud --background &
nm-applet & nm-applet &

View File