Ajout de Kanshi pour la gestion des écrans
This commit is contained in:
parent
9ef26d9eab
commit
5f72bdbfe5
2 changed files with 25 additions and 11 deletions
13
config/kanshi/config
Normal file
13
config/kanshi/config
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
profile office {
|
||||||
|
output eDP-1 enable mode 1920x1080 position 2560,0
|
||||||
|
output DP-2 enable mode 2560x1080 position 0,0
|
||||||
|
}
|
||||||
|
|
||||||
|
profile laptop {
|
||||||
|
output DP-2 disable
|
||||||
|
output eDP-1 enable mode 1920x1080 position 0,0
|
||||||
|
}
|
||||||
|
|
||||||
|
profile home {
|
||||||
|
output HDMI-A-3 enable mode 3440x1440@100Hz position 0,0
|
||||||
|
}
|
|
@ -24,10 +24,10 @@ input type:touchpad {
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Displays
|
# Displays
|
||||||
set $thinkstation HDMI-A-3
|
#set $thinkstation HDMI-A-3
|
||||||
#set $thinkstation-work "Iiyama North America PL2483H 1173700204528"
|
##set $thinkstation-work "Iiyama North America PL2483H 1173700204528"
|
||||||
set $thinkpad eDP-1
|
#set $thinkpad eDP-1
|
||||||
set $thinkpad-work DP-2
|
#set $thinkpad-work DP-2
|
||||||
|
|
||||||
# Workspaces
|
# Workspaces
|
||||||
set $wksp1 "1: Main"
|
set $wksp1 "1: Main"
|
||||||
|
@ -81,12 +81,12 @@ set $gnome-schema org.gnome.desktop.interface
|
||||||
#
|
#
|
||||||
|
|
||||||
# Thinkstation
|
# Thinkstation
|
||||||
output $thinkstation resolution 3440x1440@100Hz position 0 0 adaptive_sync on
|
#output $thinkstation resolution 3440x1440@100Hz position 0 0 adaptive_sync on
|
||||||
#output $thinkstation-work resolution 1920x1080@60Hz position 3440 0 transform 270 adaptive_sync on
|
##output $thinkstation-work resolution 1920x1080@60Hz position 3440 0 transform 270 adaptive_sync on
|
||||||
|
|
||||||
# Thinkpad
|
# Thinkpad
|
||||||
output $thinkpad resolution 1920x1080 position 2560 0
|
#output $thinkpad resolution 1920x1080 position 2560 0
|
||||||
output $thinkpad-work resolution 2560x1080 position 0 0
|
#output $thinkpad-work resolution 2560x1080 position 0 0
|
||||||
|
|
||||||
|
|
||||||
### Gnome settings
|
### Gnome settings
|
||||||
|
@ -123,6 +123,7 @@ exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
|
||||||
exec gnome-keyring-daemon
|
exec gnome-keyring-daemon
|
||||||
#exec /usr/bin/libinput-gestures
|
#exec /usr/bin/libinput-gestures
|
||||||
#exec nm-applet --indicator
|
#exec nm-applet --indicator
|
||||||
|
exec kanshi
|
||||||
exec kdeconnect-indicator
|
exec kdeconnect-indicator
|
||||||
exec mako
|
exec mako
|
||||||
exec nextcloud --background
|
exec nextcloud --background
|
||||||
|
@ -134,7 +135,7 @@ exec teams
|
||||||
exec mpd
|
exec mpd
|
||||||
exec libinput-gestures-setup start
|
exec libinput-gestures-setup start
|
||||||
# Set focus on main screen
|
# Set focus on main screen
|
||||||
exec ~/bin/autoFocus.sh
|
#exec ~/bin/autoFocus.sh
|
||||||
|
|
||||||
|
|
||||||
### Window config
|
### Window config
|
||||||
|
@ -211,8 +212,8 @@ bindsym $mod+shift+m exec "$term -t 'Music Player Client' -e ncmpcpp"
|
||||||
bindsym $mod+shift+v exec "$term -t 'Audio Visualizer' -e cava"
|
bindsym $mod+shift+v exec "$term -t 'Audio Visualizer' -e cava"
|
||||||
|
|
||||||
# Screen
|
# Screen
|
||||||
bindsym $mod+p exec "swaymsg output $work toggle"
|
#bindsym $mod+p exec "swaymsg output $work toggle"
|
||||||
bindsym $mod+alt+p exec "swaymsg output $thinkpad toggle"
|
#bindsym $mod+alt+p exec "swaymsg output $thinkpad toggle"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Brightness
|
# Brightness
|
||||||
|
|
Loading…
Reference in a new issue