[kanaya] local i3 config

This commit is contained in:
Lexi / Zoe 2019-10-06 16:47:11 +02:00
parent 460f2b84b3
commit 58dfa63686
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
2 changed files with 24 additions and 13 deletions

View File

@ -25,7 +25,7 @@ font pango:Liberation Sans 9.5
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesnt scale on retina/hidpi displays.
# font, it doesn't scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -105,18 +105,21 @@ bindsym $mod+a focus parent
bindsym $mod+shift+a focus child
# define output names (primary, secondard monitor)
set $OUTPUT1 HDMI-A-1
# define output names (primary, secondary monitor)
set $OUTPUT1 DVI-D-0
set $OUTPUT2 DisplayPort-1
# hotkeys for switching between monitors
bindsym $mod+comma focus output left
bindsym $mod+period focus output right
# hotkeys for moving windows between monitors
bindsym $mod+Shift+comma move output left
bindsym $mod+Shift+period move output right
# hotkeys for moving workspaces between monitors
#bindsym Control+$mod+k move workspace to output up
#bindsym Control+$mod+j move workspace to output down
#bindsym Control+$mod+h move workspace to output left
#bindsym Control+$mod+l move workspace to output right
bindsym Control+$mod+comma move workspace to output left
bindsym Control+$mod+period move workspace to output right
# define workspace names
set $WS0 0
@ -129,8 +132,8 @@ set $WS6 6
set $WS7 7
set $WS8 8
set $WS9 9
set $WS10 "10: music"
set $WS11 "11: mail"
set $WS10 "10: mail"
set $WS11 "11: music"
#set $WS12 12
# alternative workspaces for use on second monitor
@ -148,8 +151,8 @@ set $WSalt11 "F11"
set $WSalt12 "F12"
set $WS_www $WS1
set $WS_mail $WS11
set $WS_music $WS10
set $WS_mail $WS10
set $WS_music $WS11
set $WS_com $WSalt1
workspace $WS0 output $OUTPUT1
@ -181,7 +184,7 @@ workspace $WSalt12 output $OUTPUT2
# make windows on workspace 0 and F1 (com) floating by default
#for_window [workspace=$WS0] floating enable
for_window [workspace=$WS_com] floating enable
for_window [workspace=$WSalt1] floating enable
# assign windows to workspaces
assign [class="^Waterfox$"] output $OUTPUT1
@ -209,6 +212,10 @@ for_window [class="^jetbrains-" title="Commit Changes"] floating disable
for_window [class="^Pavucontrol$"] floating enable
#for_window [class="^Steam$"] floating enable
for_window [class="^Steam$"] layout tabbed
# window hotkeys
bindsym $mod+Ctrl+t [class="^TelegramDesktop$"] focus
@ -362,6 +369,8 @@ client.background #ffffff
# sort this stuff
#----------------
exec --no-startup-id sh /home/lexi/.xprofile.i3
exec --no-startup-id redshift-gtk
exec --no-startup-id volumeicon
exec --no-startup-id nextcloud
@ -375,7 +384,8 @@ exec --no-startup-id nextcloud
#bindsym Shift+XF86AudioMute exec --no-startup-id "~/bin/paprofile -n toggle"
# Lock screen
bindsym $mod+Pause exec --no-startup-id "loginctl lock-session"
bindsym $mod+Pause exec --no-startup-id "sleep 1; systemctl suspend"
bindsym $mod+Shift+Pause exec --no-startup-id "loginctl lock-session"
# Display/projector key: auto detect displays
#bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"

View File

@ -54,6 +54,7 @@ tztime local {
cpu_temperature 0 {
format = "%degrees °C"
max_threshold = 70
path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon1/temp1_input"
}
load {