update: use amixer + nostartup id + xterm

This commit is contained in:
rick 2021-09-03 01:16:32 +02:00
parent e9938ccec8
commit 5103f8ea48
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -12,13 +12,13 @@
set $mod Mod4
# wallpaper & set xterm config
# exec feh --bg-fill '/home/'
# exec --no-startup-id feh --bg-fill '/home'
exec xrdb $HOME/.Xresources
# gaps config
# gaps inner 10
# for_window [class=".*"] border pixel 0
# for_window [class="XTerm"] border pixel 3
# for_window [class="XTerm"] border pixel 3 floating enable
# for_window [class="URxvt"] border pixel 3
# Font for window titles. Will also be used by the bar unless a different font
@ -39,8 +39,13 @@ font pango:DejaVu Sans Mono 8
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# passe le workspace sur l'écran à gauche
bindsym $mod+p move workspace to output left
# i3-msg "workspace X, move workspace to output Y" # X = numéro du bureau et Y = direction ou port (left, VGA1...)
# start a terminal
bindsym $mod+Return exec urxvt # i3-sensible-terminal
bindsym $mod+Shift+Return exec xterm
# kill focused window
bindsym $mod+Shift+q kill
@ -178,14 +183,16 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Backlight
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1+ #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1- #decrease sound volume
# bindsym XF86AudioMute exec --no-startup-id amixer set Master mute # mute sound
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
bindsym XF86AudioMicMute exec --no-startup-id amixer set Capture toggle
# Colors
# class border backgr. text indicator child_border