I3 config changes, i3status

This commit is contained in:
Loïc Gremaud 2022-06-22 18:10:30 +02:00
parent c2386880ed
commit a452ac6014
Signed by: Legrems
GPG Key ID: D4620E6DF3E0121D
8 changed files with 103 additions and 19 deletions

View File

@ -40,13 +40,13 @@ URxvt*background: black
URxvt*transparent: true
URxvt*shading: 90
URxvt*shading: 40
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.rgba: rgb
Xft.dpi: 282
Xft.dpi: 80
URxvt.perl-ext-common: default,matcher,resize-font
URxvt.iso14755: false
@ -54,6 +54,7 @@ URxvt.iso14755_52: false
!URxvt*font: xft:DejaVuSansMono:size=8:style=dzForPowerline
URxvt*font: xft:Courier New:size=12
URxvt.letterSpace: -1
!URxvt.keysym.Alt-Up: resize-font:bigger
!URxvt.keysym.Alt-Down: resize-font:smaller
!URxvt.perl-ext:

View File

@ -20,7 +20,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:DejaVu Sans Mono 12
font pango:DejaVu Sans Mono 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -51,9 +51,9 @@ default_border pixel 1
default_floating_border none
# Default colors
# class border backgr. text indicator child_border
client.focused #ffaaff #ffa900 #000000 #ffffff #888888
client.focused #ffffff #888888 #000000 #ffffff #888888
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #ff0000 #222222 #888888 #444444 #444444
client.unfocused #ff0000 #040404 #888888 #444444 #444444
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
@ -177,6 +177,16 @@ set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $ws11 "A"
set $ws12 "B"
set $ws13 "C"
set $ws14 "D"
set $ws15 "E"
set $ws16 "F"
set $ws17 "G"
set $ws18 "H"
set $ws19 "I"
set $ws20 "J"
# switch to workspace
bindsym $mod+1 workspace $ws1
@ -189,6 +199,16 @@ bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
bindsym $mod+F1 workspace $ws11
bindsym $mod+F2 workspace $ws12
bindsym $mod+F3 workspace $ws13
bindsym $mod+F4 workspace $ws14
bindsym $mod+F5 workspace $ws15
bindsym $mod+F6 workspace $ws16
bindsym $mod+F7 workspace $ws17
bindsym $mod+F8 workspace $ws18
bindsym $mod+F9 workspace $ws19
bindsym $mod+F10 workspace $ws20
# Scratchpad
# Make the currently focused window a scratchpad
@ -207,6 +227,16 @@ bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
bindsym $mod+Shift+F1 move container to workspace $ws11
bindsym $mod+Shift+F2 move container to workspace $ws12
bindsym $mod+Shift+F3 move container to workspace $ws13
bindsym $mod+Shift+F4 move container to workspace $ws14
bindsym $mod+Shift+F5 move container to workspace $ws15
bindsym $mod+Shift+F6 move container to workspace $ws16
bindsym $mod+Shift+F7 move container to workspace $ws17
bindsym $mod+Shift+F8 move container to workspace $ws18
bindsym $mod+Shift+F9 move container to workspace $ws19
bindsym $mod+Shift+F10 move container to workspace $ws20
# reload the configuration file
bindsym $mod+Shift+c reload
@ -245,6 +275,7 @@ bindsym --release button2 kill
# Custom config window
for_window [class="vlc"] floating enable
for_window [class="feh"] floating enable
# Assign to desktop
assign [class="Firefox"] 1
@ -278,6 +309,7 @@ bar {
status_command py3status
position top
tray_output primary
colors {
background #000000
@ -301,7 +333,6 @@ bar {
#separator_symbol "|"
#separator_symbol "ǁ"
strip_workspace_name no
strip_workspace_numbers yes

View File

@ -1 +0,0 @@
/home/legrems/Documents/dotfiles/config/i3

View File

@ -1,14 +1,29 @@
order += nvidia_smi
# order += bluetooth
order += keyboard_layout
order += arch_updates
order += "whatismyip"
order += spotify
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += net_rate
#order += net_iplist
order += "battery all"
order += "disk /"
order += "disk /home"
order += "load"
order += "memory"
order += sysdata
# order += lm_sensors
# order += "load"
# order += "memory"
order += "tztime local"
spotify {
button_next = 4
button_play_pause = 3
button_previous = 5
}
whatismyip {
format = " {isp}\|{city}\|{countryCode} ({ip}) "
hide_when_offline = True
@ -29,16 +44,45 @@ ethernet _first_ {
format_down = ""
}
net_iplist {
cache_timeout = 30
format_iface = "[{ip4}]"
format = "{format_iface}"
}
net_rate {
cache_timeout = 10
format = "{total}"
}
disk "/" {
format = "%percentage_used (%used / %free / %total)"
# format = "%percentage_used (%used / %free / %total)"
format = "/ %percentage_used %free"
on_click 1 = "exec thunar /"
}
disk "/home" {
format = "%percentage_used (%used / %free / %total)"
# format = "%percentage_used (%used / %free / %total)"
format = "/home %percentage_used %free"
on_click 1 = "exec thunar /home/legrems/Documents/Arcanite"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
timezone = "Europe/Zurich"
}
arch_updates {
format = "P:{pacman}/A:{aur}"
hide_if_zero = True
}
keyboard_layout {
layouts = ['us intl', 'us']
color_us_intl = "#ffff00"
color_us = "#ff00ff"
}
sysdata {
cache_timeout = 2
}

View File

@ -1,5 +1,5 @@
[General]
ConfigVersion=1
ConfigVersion=2
[Browser]
CustomProxyLocation=

View File

@ -1 +0,0 @@
/home/legrems/Documents/dotfiles/config/trizen

3
vimrc
View File

@ -223,6 +223,9 @@ let g:syntastic_python_flake8_post_args='--ignore=E501,E128'
let g:syntastic_python_pep8_post_args='--ignore=E501,E128'
let g:syntastic_check_on_open=1
Plug 'https://github.com/vim-python/python-syntax'
let g:python_highlight_all=1
Plug 'https://github.com/gioele/vim-autoswap'
Plug 'https://github.com/airblade/vim-gitgutter'
let g:gitgutter_eager = 0 " only update on read/write

View File

@ -1,18 +1,25 @@
xrandr --output DP-1-0 --pos 0x0
xrandr --output DP-1-3 --pos 2560x0
xrandr --output eDP-1 --scale 1x1
xrandr --auto
sleep 5
xrandr --output DP-1-0.2 --pos 0x0
xrandr --output DP-1-0.3 --pos 2560x0
xrandr --output eDP-1 --off
xrandr --output DP-1-0.3 --primary
i3-msg workspace 1
i3-msg move workspace to output DP-1-3
i3-msg move workspace to output DP-1-0.3
i3-msg workspace 2
i3-msg move workspace to output DP-1-3
i3-msg move workspace to output DP-1-0.3
i3-msg workspace 3
i3-msg move workspace to output DP-1-0
i3-msg move workspace to output DP-1-0.2
i3-msg workspace 4
i3-msg move workspace to output DP-1-0
i3-msg move workspace to output DP-1-0.2
i3-msg workspace 3
i3-msg workspace 1