Add i3status-rs configs
This commit is contained in:
147
i3/config
147
i3/config
@@ -13,24 +13,23 @@
|
|||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# font
|
# font
|
||||||
set $font "pango:Roboto Mono for Powerline 10"
|
set $font "pango:DejaVu Sans Mono for Powerline 8"
|
||||||
|
set $font_bar "pango:DejaVu Sans Mono for Powerline, Awesome 8"
|
||||||
font $font
|
font $font
|
||||||
|
|
||||||
# floating modifier
|
# floating modifier
|
||||||
# mod1 = Alt (xmodmap to show)
|
# mod1 = Alt (xmodmap to show)
|
||||||
# mod4 = Winkey (xmodmap to show)
|
# mod4 = Winkey (xmodmap to show)
|
||||||
set $mod mod4
|
set $mod mod4
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# remove window decorations
|
# remove window decorations
|
||||||
new_window pixel
|
new_window pixel
|
||||||
|
|
||||||
# focus follows mouse
|
# focus follows mouse
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
# border
|
||||||
##border
|
|
||||||
new_window pixel 3
|
new_window pixel 3
|
||||||
|
# gaps
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 10
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Script Section #
|
# Script Section #
|
||||||
@@ -44,91 +43,68 @@ new_window pixel 3
|
|||||||
bindsym XF86AudioRaiseVolume exec ~/.i3/util/volnotid.sh down
|
bindsym XF86AudioRaiseVolume exec ~/.i3/util/volnotid.sh down
|
||||||
bindsym XF86AudioLowerVolume exec ~/.i3/util/volnotid.sh up
|
bindsym XF86AudioLowerVolume exec ~/.i3/util/volnotid.sh up
|
||||||
bindsym XF86AudioMute exec ~/.i3/util/volnotid.sh mute
|
bindsym XF86AudioMute exec ~/.i3/util/volnotid.sh mute
|
||||||
|
|
||||||
# display brightness management
|
# display brightness management
|
||||||
bindsym XF86MonBrightnessUp exec "xbacklight +10"
|
bindsym XF86MonBrightnessUp exec "xbacklight +2"
|
||||||
bindsym XF86MonBrightnessDown exec "xbacklight -10"
|
bindsym XF86MonBrightnessDown exec "xbacklight -2"
|
||||||
|
|
||||||
# webcam
|
# webcam
|
||||||
bindym XF86WebCam exec /bin/cheese
|
bindym XF86WebCam exec /bin/cheese
|
||||||
|
|
||||||
# lenovo Key wifi-menu
|
# lenovo Key wifi-menu
|
||||||
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
||||||
|
# screenshot stuff
|
||||||
# jauth two factor authenticator
|
|
||||||
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
||||||
|
|
||||||
# start dmenu-launcher
|
# start dmenu-launcher
|
||||||
#bindsym $mod+d exec ~/.i3/util/i3dmenu-wrapper.sh
|
bindsym $mod+d exec rofi -show drun -theme solarized_alternate -font "Roboto Mono for Powerline 10"
|
||||||
bindsym $mod+d exec rofi -show drun -theme solarized_alternate -font "mono 10"
|
|
||||||
|
|
||||||
# lock i3 with i3lock
|
# lock i3 with i3lock
|
||||||
bindsym $mod+Shift+x exec i3lock-fancy-dualmonitor
|
bindsym $mod+Shift+x exec GLITCHICON=/home/aaron/.i3/stop.png glitchlock
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Keymaps #
|
# Keymaps #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# start terminal
|
# start terminal
|
||||||
#bindsym $mod+Return exec --no-startup-id urxvtc
|
#bindsym $mod+Return exec --no-startup-id termite
|
||||||
bindsym $mod+Return exec --no-startup-id termite
|
bindsym $mod+Return exec --no-startup-id kitty
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# change focus vim Style
|
# change focus vim Style
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+l focus right
|
bindsym $mod+l focus right
|
||||||
bindsym $mod+k focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+j focus down
|
bindsym $mod+j focus down
|
||||||
|
|
||||||
# move focused window vim Style
|
# move focused window vim Style
|
||||||
bindsym $mod+Shift+h move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+l move right
|
bindsym $mod+Shift+l move right
|
||||||
bindsym $mod+Shift+k move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+j move down
|
bindsym $mod+Shift+j move down
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+v split h
|
bindsym $mod+v split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+c split v
|
bindsym $mod+c split v
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# toggle tiling / floating
|
# toggle tiling / floating
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
# change focus between tiling / floating windows
|
||||||
bindsym $mod+space focus mode_toggle
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
# focus the parent container
|
# focus the parent container
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
# restart i3 inplace
|
# restart i3 inplace
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
# exit i3
|
# exit i3
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3?' -b 'Yes' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3?' -b 'Yes' 'i3-msg exit'"
|
||||||
|
|
||||||
# enter the resize mode
|
# enter the resize mode
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# scratchpad
|
# scratchpad
|
||||||
bindsym $mod+y scratchpad show
|
bindsym $mod+y scratchpad show
|
||||||
bindsym $mod+x move scratchpad
|
bindsym $mod+x move scratchpad
|
||||||
@@ -137,29 +113,23 @@ bindsym $mod+x move scratchpad
|
|||||||
# Workspace & Tags #
|
# Workspace & Tags #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# name for the workspaces
|
|
||||||
set $tag1 "1 Terminal"
|
|
||||||
set $tag2 "2 Internet"
|
|
||||||
set $tag3 "3 Coding"
|
|
||||||
set $tag4 "4 Music"
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace $tag1
|
bindsym $mod+1 workspace 1
|
||||||
bindsym $mod+2 workspace $tag2
|
bindsym $mod+2 workspace 2
|
||||||
bindsym $mod+3 workspace $tag3
|
bindsym $mod+3 workspace 3
|
||||||
bindsym $mod+4 workspace $tag4
|
bindsym $mod+4 workspace 4
|
||||||
bindsym $mod+5 workspace 5
|
bindsym $mod+5 workspace 5
|
||||||
bindsym $mod+6 workspace 6
|
bindsym $mod+6 workspace 6
|
||||||
bindsym $mod+7 workspace 7
|
bindsym $mod+7 workspace 7
|
||||||
bindsym $mod+8 workspace 8
|
bindsym $mod+8 workspace 8
|
||||||
bindsym $mod+9 workspace 9
|
bindsym $mod+9 workspace 9
|
||||||
bindsym $mod+0 workspace 10
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace $tag1
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
bindsym $mod+Shift+2 move container to workspace $tag2
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
bindsym $mod+Shift+3 move container to workspace $tag3
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
bindsym $mod+Shift+4 move container to workspace $tag4
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
bindsym $mod+Shift+5 move container to workspace 5
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
bindsym $mod+Shift+6 move container to workspace 6
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
bindsym $mod+Shift+7 move container to workspace 7
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
@@ -208,7 +178,6 @@ set $WHITE #fdf6e3
|
|||||||
|
|
||||||
client.background #ffffff
|
client.background #ffffff
|
||||||
|
|
||||||
# Solarized theme
|
|
||||||
# name #border #background #text #indicator #child_border
|
# name #border #background #text #indicator #child_border
|
||||||
client.focused $FOREGROUND $MAGENTA $GREEN $GREEN $MAGENTA
|
client.focused $FOREGROUND $MAGENTA $GREEN $GREEN $MAGENTA
|
||||||
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
||||||
@@ -219,37 +188,20 @@ client.urgent $BACKGROUND $BACKGROUND $BACKGROUND $GREEN $B
|
|||||||
# i3-bar #
|
# i3-bar #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# Workspace symbol colors
|
|
||||||
set $BORDER_ACTIVE #00000050
|
|
||||||
set $BORDER_INACTIVE #00000050
|
|
||||||
set $BORDER_FOCUSED #FFFFFF50
|
|
||||||
set $TEXT_ACTIVE #FFFFFFFF
|
|
||||||
set $TEXT_INACTIVE #AAAAAAFF
|
|
||||||
set $TEXT_FOCUSED #00000050
|
|
||||||
set $BG_ACTIVE #00000050
|
|
||||||
set $BG_INACTIVE #00000000
|
|
||||||
set $BG_FOCUSED #FFFFFF80
|
|
||||||
|
|
||||||
# Color ouf statusline background and text
|
|
||||||
set $BG_STATUS #00000000
|
|
||||||
set $COL_STATUS #FFFFFFFF
|
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
position top
|
font $font_bar
|
||||||
font $font
|
position top
|
||||||
i3bar_command /usr/bin/i3bar -t
|
status_command /usr/bin/i3status-rs /home/aaron/.i3/i3status.toml
|
||||||
status_command i3status -c ~/.i3/i3status.conf
|
|
||||||
separator_symbol ""
|
|
||||||
|
|
||||||
# bar theme
|
|
||||||
colors {
|
colors {
|
||||||
statusline $COL_STATUS
|
separator #666666
|
||||||
background $BG_STATUS
|
#background #222222
|
||||||
# name border background text
|
background #222439
|
||||||
inactive_workspace $BORDER_INACTIVE $BG_INACTIVE $TEXT_INACTIVE
|
statusline #dddddd
|
||||||
active_workspace $BORDER_ACTIVE $BG_ACTIVE $TEXT_ACTIVE
|
focused_workspace #0088CC #0088CC #ffffff
|
||||||
focused_workspace $BORDER_FOCUSED $BG_FOCUSED $TEXT_FOCUSED
|
active_workspace #333333 #333333 #ffffff
|
||||||
}
|
inactive_workspace #333333 #333333 #888888
|
||||||
|
urgent_workspace #2f343a #900000 #ffffff
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
@@ -262,28 +214,25 @@ for_window [class="Nautilus"] floating enable
|
|||||||
for_window [class="GParted"] floating enable
|
for_window [class="GParted"] floating enable
|
||||||
for_window [class="Gedit"] floating enable
|
for_window [class="Gedit"] floating enable
|
||||||
for_window [class="teamspeak3"] floating enable
|
for_window [class="teamspeak3"] floating enable
|
||||||
|
for_window [class="plecs"] floating enable
|
||||||
# 0px Border
|
# 0px Border
|
||||||
for_window [class="chrome"] border none
|
for_window [class="chrome"] border none
|
||||||
for_window [class="Firefox"] border none
|
for_window [class="firefox"] border none
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# auto start with i3 #
|
# auto start with i3 #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# composite manager
|
# composite manager
|
||||||
exec --no-startup-id compton -b --config ~/.config/compton.conf
|
exec compton --config ~/.config/compton.conf
|
||||||
# terminal daemon
|
# Touchpad Speed
|
||||||
#exec --no-startup-id urxvtd -q -f -o
|
exec xinput set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Accel Constant Deceleration" 1
|
||||||
# less eye pain
|
# less eye pain
|
||||||
#exec --no-startup-id redshift -l 46:7
|
exec --no-startup-id redshift -l 46:7 -t 6500K:2500K
|
||||||
# no beep!
|
# no beep!
|
||||||
exec --no-startup-id xset b off
|
exec --no-startup-id xset b off
|
||||||
# Nextcloud Sync
|
|
||||||
exec --no-startup-id nextcloud
|
|
||||||
# nm-applet
|
|
||||||
exec --no-startup-id nm-applet
|
|
||||||
# dunst for notifications and volnoti daemon
|
# dunst for notifications and volnoti daemon
|
||||||
exec --no-startup-id dunst -conf ~/.dunstrc
|
exec --no-startup-id dunst -conf ~/.config/dunst/dunstrc
|
||||||
|
exec --no-startup-id volnoti
|
||||||
# wallpapers
|
# wallpapers
|
||||||
exec --no-startup-id feh --bg-fill ~/.wallpapers/linus.png
|
exec --no-startup-id feh --bg-fill ~/.wallpapers/gentoo.jpg
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
########################################
|
|
||||||
# _ ____ _ _ #
|
|
||||||
# (_)___ \ | | | | #
|
|
||||||
# _ __) |___| |_ __ _| |_ _ _ ___ #
|
|
||||||
# | ||__ </ __| __/ _` | __| | | / __| #
|
|
||||||
# | |___) \__ \ || (_| | |_| |_| \__ \ #
|
|
||||||
# |_|____/|___/\__\__,_|\__|\__,_|___/ #
|
|
||||||
# #
|
|
||||||
########################################
|
|
||||||
|
|
||||||
general {
|
|
||||||
colors = true
|
|
||||||
interval = 1
|
|
||||||
output_format = i3bar
|
|
||||||
color_good = "#4ff243"
|
|
||||||
color_degraded = "#8c7f22"
|
|
||||||
color_bad = "#9b0e0e"
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /"
|
|
||||||
order += "disk /media/Data1"
|
|
||||||
order += "disk /media/Data2"
|
|
||||||
order += "wireless _first_"
|
|
||||||
order += "ethernet _first_"
|
|
||||||
order += "load"
|
|
||||||
order += "volume master"
|
|
||||||
order += "tztime local"
|
|
||||||
|
|
||||||
wireless _first_ {
|
|
||||||
format_up = " WiFi: %ip %quality %essid %bitrate "
|
|
||||||
format_down = " WiFi: (/) "
|
|
||||||
}
|
|
||||||
|
|
||||||
ethernet _first_ {
|
|
||||||
format_up = " LAN: %ip %speed "
|
|
||||||
format_down = " LAN: (/) "
|
|
||||||
}
|
|
||||||
|
|
||||||
battery 0 {
|
|
||||||
format = " Power: %status %percentage %remaining left "
|
|
||||||
path = "/sys/class/power_supply/BAT0/uevent"
|
|
||||||
low_threshold = 20
|
|
||||||
}
|
|
||||||
|
|
||||||
tztime local {
|
|
||||||
format = " Date: %y.%m.%d Time: %H:%M:%S "
|
|
||||||
}
|
|
||||||
|
|
||||||
cpu_usage {
|
|
||||||
format = " CPU: %usage "
|
|
||||||
}
|
|
||||||
|
|
||||||
load {
|
|
||||||
format = " Load: [%1min, %5min, %15min] "
|
|
||||||
}
|
|
||||||
|
|
||||||
disk "/" {
|
|
||||||
format = " root: %free "
|
|
||||||
}
|
|
||||||
|
|
||||||
disk "/media/Data1" {
|
|
||||||
format = " /data1: %free "
|
|
||||||
}
|
|
||||||
|
|
||||||
disk "/media/Data2" {
|
|
||||||
format = " /data2: %free "
|
|
||||||
}
|
|
||||||
|
|
||||||
volume master {
|
|
||||||
format = " Vol: %volume "
|
|
||||||
device = "default"
|
|
||||||
mixer = "Master"
|
|
||||||
mixer_idx = 0
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user