Some changes for work environment
This commit is contained in:
parent
4dbb8db39a
commit
47f7950584
3 changed files with 28 additions and 16 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
*.swp
|
||||
config/neomutt/accounts
|
||||
config/neomutt/signature
|
||||
Bin/calameco.sh
|
||||
|
|
9
bin/autoFocus.sh
Executable file
9
bin/autoFocus.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
swaymsg -t get_outputs|grep 'eDP-1' > /dev/null
|
||||
|
||||
if [ $? == 0 ]; then
|
||||
swaymsg focus output eDP-1
|
||||
else
|
||||
swaymsg focus output HDMI-A-3
|
||||
fi
|
|
@ -5,13 +5,9 @@ input "type:keyboard" {
|
|||
xkb_options "compose:rwin"
|
||||
}
|
||||
input "19266:13912:You_kbd6x" {
|
||||
xkb_layout us
|
||||
xkb_variant intl
|
||||
xkb_options "compose:rctrl"
|
||||
}
|
||||
input "1:1:AT_Translated_Set_2_keyboard" {
|
||||
xkb_layout us
|
||||
xkb_variant intl
|
||||
xkb_options "compose:rctrl"
|
||||
}
|
||||
|
||||
|
@ -78,11 +74,17 @@ set $ps2 Control+Print
|
|||
set $modalWidth 1280
|
||||
set $modalHeight 800
|
||||
|
||||
# Screens definitions
|
||||
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 $thinkpad resolution 1920x1080 position 0,0
|
||||
output $thinkpad-work resolution 1920x1080 position 0,1080
|
||||
|
||||
### Screens definitions
|
||||
#
|
||||
|
||||
# Thinkstation
|
||||
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
|
||||
|
||||
# Thinkpad
|
||||
output $thinkpad-work resolution 1920x1080 position 0 0
|
||||
output $thinkpad resolution 1920x1080 position 1920 785
|
||||
|
||||
|
||||
### Gnome settings
|
||||
|
@ -129,6 +131,9 @@ exec spotify
|
|||
exec signal-desktop --use-tray-icon
|
||||
exec teams
|
||||
exec mpd
|
||||
exec libinput-gestures-setup start
|
||||
# Set focus on main screen
|
||||
exec ~/bin/autoFocus.sh
|
||||
|
||||
|
||||
### Window config
|
||||
|
@ -187,9 +192,6 @@ bindsym $mod+t exec "$term -t 'Top' -e bpytop"
|
|||
# Calendar
|
||||
bindsym $mod+c exec "$term -t 'Calendar' -e khal interactive"
|
||||
|
||||
# Note
|
||||
#bindsym $mod+n exec "/home/dbroqua/Softwares/Zettlr"
|
||||
|
||||
# Dismiss last notification
|
||||
bindsym $mod+n exec makoctl dismiss
|
||||
# Do not disturb
|
||||
|
@ -212,8 +214,8 @@ bindsym $mod+p exec "swaymsg output $work toggle"
|
|||
|
||||
#
|
||||
# Brightness
|
||||
bindsym XF86MonBrightnessDown exec light -U 10
|
||||
bindsym XF86MonBrightnessUp exec light -A 10
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl s 64-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl s 64+
|
||||
|
||||
# Screenshots
|
||||
bindsym $ps1 exec grim ~/Pictures/Screenshots/ps_$(date +"%Y%m%d%H%M%S").png
|
||||
|
@ -313,8 +315,8 @@ workspace $wksp5 output $thinkstation
|
|||
workspace $wksp6 output $thinkstation
|
||||
workspace $wksp7 output $thinkstation
|
||||
workspace $wksp8 output $thinkstation
|
||||
workspace $wksp9 output $thinkstation-work
|
||||
workspace $wksp10 output $thinkstation-work
|
||||
workspace $wksp9 output $work
|
||||
workspace $wksp10 output $work
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue