updates for desktop
This commit is contained in:
parent
039a897afa
commit
46b6522a1d
32
.i3/config
32
.i3/config
|
@ -107,26 +107,28 @@ set $WS8 "8 "
|
||||||
set $WS9 "9 "
|
set $WS9 "9 "
|
||||||
|
|
||||||
assign [class="^Firefox$"] $WS1
|
assign [class="^Firefox$"] $WS1
|
||||||
|
assign [class="^DebugScreen"] $WS3
|
||||||
assign [class="^Eclipse$"] $WS5
|
assign [class="^Eclipse$"] $WS5
|
||||||
assign [class="^Thunderbird$"] $WS4
|
assign [class="^Thunderbird$"] $WS4
|
||||||
assign [class=".*ee.*ass.*"] $WS8
|
assign [class=".*ee.*ass.*"] $WS8
|
||||||
|
|
||||||
# https://faq.i3wm.org/question/3726/workspace-output-multiple-values/index.html%3Fanswer=3731.html#post-id-3731
|
# https://faq.i3wm.org/question/3726/workspace-output-multiple-values/index.html%3Fanswer=3731.html#post-id-3731
|
||||||
set $LAPTOP LVDS-1
|
set $LAPTOP LVDS-1
|
||||||
set $CENTER HDMI-1
|
set $CENTER DP-2
|
||||||
set $RIGHT VGA-1
|
set $RIGHT DP-1
|
||||||
|
set $LEFT DVI-D-0
|
||||||
|
|
||||||
# monitor settings
|
# monitor settings
|
||||||
bindsym $mod+m mode "monitor"
|
bindsym $mod+m mode "monitor"
|
||||||
mode "monitor" {
|
mode "monitor" {
|
||||||
# only laptop
|
# only laptop
|
||||||
bindsym 1 exec xrandr --output $LAPTOP --auto --primary --output $CENTER --off $RIGHT --off
|
bindsym 1 exec xrandr --output $LAPTOP --auto --primary --output $CENTER --off $RIGHT --off
|
||||||
# HDMI main, laptop secondary
|
# CENTER main, RIGHT secondary
|
||||||
bindsym 2 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --off
|
bindsym 2 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --off
|
||||||
# HDMI main, laptop left, VGA right, *not* supported on X230
|
# HDMI main, laptop left, VGA right, *not* supported on X230
|
||||||
bindsym 3 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --auto --right-of $CENTER
|
bindsym 3 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --auto --right-of $CENTER
|
||||||
# HDMI main, VGA right, laptop off
|
# CENTER main, RIGHT right, rotated
|
||||||
bindsym 4 exec xrandr --output $CENTER --primary --auto --output $RIGHT --right-of $CENTER --rotate left --auto --output $LAPTOP --off
|
bindsym 4 exec xrandr --output $CENTER --primary --auto --output $RIGHT --auto --right-of $CENTER --rotate left --output $LAPTOP --off --output $LEFT --off
|
||||||
# VGA main, laptop left, HDMI off
|
# VGA main, laptop left, HDMI off
|
||||||
bindsym 8 exec xrandr --output $RIGHT --primary --auto --output $LAPTOP --auto --left-of $RIGHT --output $CENTER --off
|
bindsym 8 exec xrandr --output $RIGHT --primary --auto --output $LAPTOP --auto --left-of $RIGHT --output $CENTER --off
|
||||||
# HDMI main, VGA right, laptop off
|
# HDMI main, VGA right, laptop off
|
||||||
|
@ -138,15 +140,13 @@ mode "monitor" {
|
||||||
bindsym $mod+m mode "default"
|
bindsym $mod+m mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+p exec xrandr-toggle
|
|
||||||
|
|
||||||
workspace $WS1 output $CENTER
|
workspace $WS1 output $CENTER
|
||||||
workspace $WS2 output $CENTER
|
workspace $WS2 output $CENTER
|
||||||
workspace $WS3 output $LAPTOP
|
workspace $WS3 output $RIGHT
|
||||||
workspace $WS4 output $LAPTOP
|
workspace $WS4 output $RIGHT
|
||||||
workspace $WS5 output $CENTER
|
workspace $WS5 output $CENTER
|
||||||
workspace $WS8 output $LAPTOP
|
workspace $WS8 output $RIGHT
|
||||||
workspace $WS9 output $LAPTOP
|
workspace $WS9 output $RIGHT
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace $WS1
|
bindsym $mod+1 workspace $WS1
|
||||||
|
@ -226,17 +226,16 @@ bar {
|
||||||
inactive_workspace #002b36 #586e75 #002b36
|
inactive_workspace #002b36 #586e75 #002b36
|
||||||
urgent_workspace #d33682 #d33682 #fdf6e3
|
urgent_workspace #d33682 #d33682 #fdf6e3
|
||||||
}
|
}
|
||||||
output $LAPTOP
|
|
||||||
output $CENTER
|
output $CENTER
|
||||||
font pango:DejaVu Sans Mono, FontAwesome 7
|
font pango:DejaVu Sans Mono, FontAwesome 7
|
||||||
status_command i3status --config ~/.i3/status.conf
|
status_command i3status --config ~/.i3/status.conf
|
||||||
|
tray_output $CENTER
|
||||||
}
|
}
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
# output $CENTER
|
|
||||||
output $RIGHT
|
output $RIGHT
|
||||||
status_command i3status --config ~/.i3/status_small.conf
|
status_command i3status --config ~/.i3/status_small.conf
|
||||||
tray_output $LAPTOP
|
tray_output $CENTER
|
||||||
}
|
}
|
||||||
|
|
||||||
# auto run commands
|
# auto run commands
|
||||||
|
@ -254,9 +253,10 @@ bar {
|
||||||
exec amixer set Master 1+ off
|
exec amixer set Master 1+ off
|
||||||
exec amixer set Master 54
|
exec amixer set Master 54
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
exec --no-startup-id xrandr --output LVDS1 --left-of VGA1 --auto
|
# exec --no-startup-id xrandr --output LVDS1 --left-of VGA1 --auto
|
||||||
exec --no-startup-id xrandr --output VGA1 --auto
|
# exec --no-startup-id xrandr --output VGA1 --auto
|
||||||
#exec --no-startup-id clipit
|
#exec --no-startup-id clipit
|
||||||
|
exec --no-startup-id xrandr --output $CENTER --primary --auto --output $RIGHT --auto --right-of $CENTER --rotate left --output $LAPTOP --off --output $LEFT --off
|
||||||
exec --no-startup-id i3-msg 'workspace $WS1; exec firefox;'
|
exec --no-startup-id i3-msg 'workspace $WS1; exec firefox;'
|
||||||
exec --no-startup-id i3-msg 'workspace $WS2; exec emacs'
|
exec --no-startup-id i3-msg 'workspace $WS2; exec emacs'
|
||||||
exec --no-startup-id i3-msg 'exec thunderbird'
|
exec --no-startup-id i3-msg 'exec thunderbird'
|
||||||
|
|
|
@ -25,7 +25,7 @@ order += "run_watch DHCP"
|
||||||
#order += "ipv6"
|
#order += "ipv6"
|
||||||
order += "wireless wlp3s0"
|
order += "wireless wlp3s0"
|
||||||
order += "ethernet fschl-vpn"
|
order += "ethernet fschl-vpn"
|
||||||
order += "ethernet enp0s25"
|
order += "ethernet enp31s0"
|
||||||
order += "volume Master"
|
order += "volume Master"
|
||||||
order += "battery 0"
|
order += "battery 0"
|
||||||
# order += "cpu_temperature 0"
|
# order += "cpu_temperature 0"
|
||||||
|
@ -36,19 +36,19 @@ order += "tztime DE"
|
||||||
#order += "tztime KG"
|
#order += "tztime KG"
|
||||||
# order += "tztime UK"
|
# order += "tztime UK"
|
||||||
|
|
||||||
# look for icons: https://fontawesome.com/icons?d=gallery
|
|
||||||
wireless wlp3s0 {
|
|
||||||
format_up = " %essid(%quality) %ip"
|
|
||||||
format_down = "-"
|
|
||||||
}
|
|
||||||
|
|
||||||
ethernet fschl-vpn {
|
ethernet fschl-vpn {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "VPN: %ip "
|
format_up = "fschl-vpn: %ip"
|
||||||
format_down = "VPN:-"
|
format_down = "fschl-vpn: -"
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet enp0s25 {
|
ethernet sl-optigem {
|
||||||
|
# if you use %speed, i3status requires root privileges
|
||||||
|
format_up = "optigem: %ip"
|
||||||
|
format_down = "optigem: -"
|
||||||
|
}
|
||||||
|
|
||||||
|
ethernet enp31s0 {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "E: %ip (%speed)"
|
format_up = "E: %ip (%speed)"
|
||||||
format_down = "E:-"
|
format_down = "E:-"
|
||||||
|
|
|
@ -22,7 +22,7 @@ order += "run_watch DHCP"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
order += "wireless wlp3s0"
|
order += "wireless wlp3s0"
|
||||||
# order += "ethernet eth0"
|
# order += "ethernet eth0"
|
||||||
order += "ethernet enp0s25"
|
order += "ethernet enp31s0"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
order += "battery 0"
|
order += "battery 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
@ -39,13 +39,8 @@ battery 0 {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
wireless wlp3s0 {
|
|
||||||
format_up = " %essid (%quality)"
|
|
||||||
format_down = " -"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ethernet eth0 {
|
# ethernet eth0 {
|
||||||
ethernet enp0s25 {
|
ethernet enp31s0 {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "E: up"
|
format_up = "E: up"
|
||||||
format_down = "E: down"
|
format_down = "E: down"
|
||||||
|
|
10
.spacemacs
10
.spacemacs
|
@ -60,7 +60,15 @@ This function should only modify configuration layer settings."
|
||||||
spell-checking
|
spell-checking
|
||||||
syntax-checking
|
syntax-checking
|
||||||
version-control
|
version-control
|
||||||
yaml)
|
yaml
|
||||||
|
;; (shell :variables
|
||||||
|
;; shell-default-height 30
|
||||||
|
;; shell-default-position 'bottom)
|
||||||
|
;; spell-checking
|
||||||
|
;; syntax-checking
|
||||||
|
;; version-control
|
||||||
|
treemacs)
|
||||||
|
|
||||||
|
|
||||||
;; List of additional packages that will be installed without being wrapped
|
;; List of additional packages that will be installed without being wrapped
|
||||||
;; in a layer (generally the packages are installed only and should still be
|
;; in a layer (generally the packages are installed only and should still be
|
||||||
|
|
Loading…
Reference in New Issue