From 5103f8ea48b87a062d7164bb7fefef24136c87f7 Mon Sep 17 00:00:00 2001 From: rick Date: Fri, 3 Sep 2021 01:16:32 +0200 Subject: [PATCH] update: use amixer + nostartup id + xterm --- i3/config | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/i3/config b/i3/config index f6f5607..92e5775 100644 --- a/i3/config +++ b/i3/config @@ -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