Selaa lähdekoodia

updated i3 settings

master
Josh Fabean 6 vuotta sitten
vanhempi
commit
2b7637b762
3 muutettua tiedostoa jossa 96 lisäystä ja 29 poistoa
  1. +22
    -22
      .config/i3/config
  2. +65
    -0
      .config/i3/i3status.conf
  3. +9
    -7
      .i3blocks.conf

+ 22
- 22
.config/i3/config Näytä tiedosto

@ -12,7 +12,7 @@ exec --no-startup-id xset b off
exec --no-startup-id setxkbmap -option caps:escape
exec --no-startup-id nightshift -l 39.0315533:-94.4954291 -d
font pango:Liberation 12
font pango:Liberation, FontAwesome 12
bindsym $mod+F7 exec --no-startup-id xset r rate 250 25 && xset b off && setxkbmap -option caps:escape
@ -44,8 +44,8 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
#change screen layout
bindsym $mod+Shift+m exec --no-startup-id /home/josh/.screenlayout/work-2-monitors.sh
bindsym $mod+Shift+n exec --no-startup-id /home/josh/.screenlayout/just-lappy.sh
bindsym $mod+Shift+m exec --no-startup-id /home/joshfabean/.screenlayout/work-2-monitors.sh
bindsym $mod+Shift+n exec --no-startup-id /home/joshfabean/.screenlayout/just-lappy.sh
# move focused window
bindsym $mod+Shift+j move left
@ -87,16 +87,16 @@ bindsym $mod+p focus parent
bindsym $mod+c focus child
# switch to workspace
bindsym $mod+1 workspace 1: Browser
bindsym $mod+1 workspace 1:
bindsym $mod+2 workspace 2: CK
bindsym $mod+3 workspace 3: Chat
bindsym $mod+4 workspace 4: Term
bindsym $mod+5 workspace 5: Code
bindsym $mod+6 workspace 6: Code
bindsym $mod+7 workspace 7: Code
bindsym $mod+8 workspace 8: Code
bindsym $mod+9 workspace 9: Code
bindsym $mod+0 workspace 10: Code
bindsym $mod+3 workspace 3:
bindsym $mod+4 workspace 4:
bindsym $mod+5 workspace 5:
bindsym $mod+6 workspace 6:
bindsym $mod+7 workspace 7:
bindsym $mod+8 workspace 8:
bindsym $mod+9 workspace 9:
bindsym $mod+0 workspace 10:
bindsym Mod1+Control+Right workspace next
bindsym Mod1+Control+Left workspace prev
workspace_auto_back_and_forth yes
@ -104,16 +104,16 @@ bindsym $mod+z workspace back_and_forth
bindsym $mod+Shift+z move container to workspace back_and_forth
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1: Browser
bindsym $mod+Shift+1 move container to workspace number 1:
bindsym $mod+Shift+2 move container to workspace number 2: CK
bindsym $mod+Shift+3 move container to workspace number 3: Chat
bindsym $mod+Shift+4 move container to workspace number 4: Term
bindsym $mod+Shift+5 move container to workspace number 5: Code
bindsym $mod+Shift+6 move container to workspace number 6: Code
bindsym $mod+Shift+7 move container to workspace number 7: Code
bindsym $mod+Shift+8 move container to workspace number 8: Code
bindsym $mod+Shift+9 move container to workspace number 9: Code
bindsym $mod+Shift+0 move container to workspace number 10: Code
bindsym $mod+Shift+3 move container to workspace number 3:
bindsym $mod+Shift+4 move container to workspace number 4:
bindsym $mod+Shift+5 move container to workspace number 5:
bindsym $mod+Shift+6 move container to workspace number 6:
bindsym $mod+Shift+7 move container to workspace number 7:
bindsym $mod+Shift+8 move container to workspace number 8:
bindsym $mod+Shift+9 move container to workspace number 9:
bindsym $mod+Shift+0 move container to workspace number 10:
#Custom Keybindings
@ -192,7 +192,7 @@ bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt
bar {
position top
status_command i3blocks
font pango:Roboto Mono 12
font pango:Liberation 10, FontAwesome 12
# strip_workspace_numbers yes
colors {


+ 65
- 0
.config/i3/i3status.conf Näytä tiedosto

@ -0,0 +1,65 @@
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
general {
interval = 1
colors = true
color_good = '#88b090'
color_degraded = '#ccdc90'
color_bad = '#e89393'
}
order += "wireless wlp4s0"
order += "battery 0"
order += "cpu_temperature 0"
order += "cpu_usage 0"
order += "tztime local"
order += "volume master"
order += "disk /"
order += "memory"
wireless wlp4s0 {
format_up = "%quality  %essid %ip"
format_down = ""
}
battery 0 {
format = "%status %percentage %remaining"
format_down = ""
last_full_capacity = true
integer_battery_capacity = true
low_threshold = 11
threshold_type = percentage
hide_seconds = true
status_chr = " "
status_bat = " "
status_unk = " "
status_full = " "
}
tztime local {
format = "%V  %A %e.%B  %H:%M"
}
cpu_usage {
format = " %usage"
}
cpu_temperature 0 {
format = " %degrees°C"
}
disk "/" {
format = " %avail"
prefix_type = custom
low_threshold = 20
threshold_type = percentage_avail
}
volume master {
format = "%volume  "
format_muted = " "
device = "default"
mixer = "Master"
mixer_idx = 0
}

+ 9
- 7
.i3blocks.conf Näytä tiedosto

@ -6,7 +6,7 @@ separator_block_width=15
command=/usr/lib/i3blocks/$BLOCK_NAME
[ssid]
command=echo "$(iw dev wlp4s0 link | grep SSID | cut -d " " -f 2-)"
command=echo "$(iw dev wlp4s0 link | grep SSID | cut -d " " -f 2-)"
color=#00FF00
separator=false
interval=10
@ -16,6 +16,12 @@ instance=wlp4s0
color=#00FF00
interval=10
[battery]
label=
#command=/usr/lib/i3blocks/battery
interval=30
instance=1
[battery]
label=⚡
command=/usr/lib/i3blocks/battery
@ -29,21 +35,17 @@ interval=30
instance=1
[time]
label=
command=date "+%m-%d-%Y %l:%M %p"
interval=5
[Mouse]
label=Magic Mouse
command=cat /sys/class/power_supply/hid-c4:2c:03:ab:b4:cc-battery/capacity
interval=30
[memory]
label=
instance=mem
interval=30
[volume]
label=
label=
instance=Master
#instance=PCM
interval=once


Ladataan…
Peruuta
Tallenna