Compare commits

..

4 Commits

7 changed files with 22 additions and 26 deletions

View File

@ -67,6 +67,8 @@ pavucontrol
papirus-icon-theme papirus-icon-theme
papirus-folders-catppuccin-git papirus-folders-catppuccin-git
pass pass
perl-file-homedir
perl-yaml-tiny
picom picom
pipewire pipewire
pipewire-audio pipewire-audio
@ -92,6 +94,7 @@ rsync
signal-desktop signal-desktop
stylua stylua
telegram-desktop telegram-desktop
tectonic
terminator terminator
thunderbird thunderbird
torbrowser-launcher torbrowser-launcher

View File

@ -20,21 +20,6 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym Shift+XF86AudioPrev exec --no-startup-id playerctl position 3- bindsym Shift+XF86AudioPrev exec --no-startup-id playerctl position 3-
bindsym Shift+XF86AudioNext exec --no-startup-id playerctl position 3+ bindsym Shift+XF86AudioNext exec --no-startup-id playerctl position 3+
##################################
# PROGRAMS STARTED AUTOMATICALLY
##################################
# cadence will take care of all we need :
# - Config tells Cadence to start LADISH, export MIDI hw and start A2J ;
# - LADISH implies JACK starts, then it will starts needed apps (e.g. Non-Mixer)
exec --no-startup-id cadence-session-start --start
exec --no-startup-id catia
# automate port mapping for applications
exec --no-startup-id jack-matchmaker -p ~/.config/jack-matchmaker/patterns
# Start ALSA/Jack bridge for RODE mic
exec_always --no-startup-id zita-a2j -d hw:Mini -j Rode -c 1
################################## ##################################
# BINDINGS FOR STARTING PROGRAMS # BINDINGS FOR STARTING PROGRAMS
@ -55,7 +40,5 @@ bindsym Pause exec --no-startup-id bluetooth-autoconnect
################################## ##################################
# Scratchpad # Scratchpad
for_window [class="Catia*"] mark "jack", move scratchpad
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center
for_window [class="Pianoteq STAGE"] floating enable, move position center for_window [class="Pianoteq STAGE"] floating enable, move position center
assign [class="Pianoteq STAGE"] → number 6 assign [class="Pianoteq STAGE"] → number 6

View File

@ -2,11 +2,6 @@
# STARTING CONFIGURATION # STARTING CONFIGURATION
################################## ##################################
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D hw:PCH -M sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle
# Luminosity on laptop # Luminosity on laptop
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5% bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
@ -44,6 +39,4 @@ exec pavucontrol
# OPERATIONS FOR SPECIFIC WINDOWS # OPERATIONS FOR SPECIFIC WINDOWS
################################## ##################################
# Scratchpad
for_window [class="Pavucontrol"] mark "pavucontrol", move scratchpad
bindsym $mod+Shift+j [con_mark="pavucontrol"] scratchpad show, move position center

View File

@ -116,6 +116,8 @@ exec telegram-desktop
exec obsidian exec obsidian
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
exec qbittorrent exec qbittorrent
exec pavucontrol
exec helvum
# fetch keys from HSM # fetch keys from HSM
exec --no-startup-id gpg --card-status exec --no-startup-id gpg --card-status
@ -235,6 +237,12 @@ mode "$resize_mode" {
bindsym $mod+r mode "$resize_mode" bindsym $mod+r mode "$resize_mode"
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D pulse -M sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse -M sset 'Master' toggle
################################## ##################################
# BINDINGS FOR NOTIFICATIONS # BINDINGS FOR NOTIFICATIONS
################################## ##################################
@ -267,6 +275,8 @@ for_window [class="Signal" window_type="normal"] move scratchpad
for_window [class="Telegram"] move scratchpad for_window [class="Telegram"] move scratchpad
# we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad # we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad
for_window [instance="Mail"] move scratchpad for_window [instance="Mail"] move scratchpad
for_window [instance="helvum"] floating enable, move scratchpad
for_window [instance="pavucontrol"] floating enable, move scratchpad
# only target main window # only target main window
for_window [title="qBittorrent v*"] move scratchpad for_window [title="qBittorrent v*"] move scratchpad
bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center
@ -290,3 +300,6 @@ assign [class="(?i)Obsidian"] → number 4
assign [class="(?i)Tor Browser"] → number 5 assign [class="(?i)Tor Browser"] → number 5
assign [class="(?i)Firefox" window_role="browser"] → number 3 assign [class="(?i)Firefox" window_role="browser"] → number 3
assign [class="(?i)VSCodium"] → number 2 assign [class="(?i)VSCodium"] → number 2
bindsym $mod+j [instance="pavucontrol"] scratchpad show, move position center
bindsym $mod+Shift+j [instance="helvum"] scratchpad show, move position center

View File

@ -4,7 +4,7 @@ height = 30
top_left = powermenu system-uptime-pretty top_left = powermenu system-uptime-pretty
top_center = player-mpris top_center = player-mpris
;top_center = xwindow ;top_center = xwindow
top_right = system-usb-udev date top_right = pulseaudio system-usb-udev date
bottom_left = i3 bottom_left = i3
bottom_right = temperature cpu memory filesystem-custom bottom_right = temperature cpu memory filesystem-custom

View File

@ -22,3 +22,5 @@
autoSetupRemote = true autoSetupRemote = true
[pull] [pull]
rebase = true rebase = true
[init]
defaultBranch = main

View File

@ -97,6 +97,8 @@ function init_system() {
sudo systemctl enable --now bluetooth sudo systemctl enable --now bluetooth
sudo systemctl enable --now bluetooth-autoconnect sudo systemctl enable --now bluetooth-autoconnect
sudo systemctl enable --now updatedb.timer sudo systemctl enable --now updatedb.timer
systemctl --user enable --now pipewire-pulse
systemctl --user enable --now pipewire-pulse.socket
~/.config/bootstrap/init_netctl.sh ${ENV} ~/.config/bootstrap/init_netctl.sh ${ENV}
echo -e "* Ensure hardware clock is up to date..." echo -e "* Ensure hardware clock is up to date..."
sudo hwclock --systohc sudo hwclock --systohc