[i3] Update i3 config
This commit is contained in:
@@ -12,9 +12,6 @@ workspace_layout tabbed
|
|||||||
# Hide window borders when fullscreen
|
# Hide window borders when fullscreen
|
||||||
hide_edge_borders smart
|
hide_edge_borders smart
|
||||||
|
|
||||||
# Disable mouse acceleration
|
|
||||||
exec_always for id in $(xinput list | grep "pointer" | cut -d '=' -f 2 | cut -f 1); do xinput --set-prop $id 'libinput Accel Profile Enabled' 0, 1; done
|
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango:Iosevka, Regular 10
|
font pango:Iosevka, Regular 10
|
||||||
@@ -36,12 +33,12 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
|||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
exec --no-startup-id nm-applet
|
# exec --no-startup-id nm-applet
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
@@ -53,7 +50,6 @@ floating_modifier $mod
|
|||||||
tiling_drag modifier titlebar
|
tiling_drag modifier titlebar
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
#bindsym $mod+Return exec i3-sensible-terminal
|
|
||||||
bindsym $mod+Return exec alacritty
|
bindsym $mod+Return exec alacritty
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
general {
|
general {
|
||||||
colors = true
|
colors = true
|
||||||
interval = 1
|
interval = 5
|
||||||
separator = "|"
|
separator = "|"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
order += "ipv6"
|
||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
order += "ethernet _first_"
|
order += "ethernet _first_"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
@@ -12,23 +13,22 @@ order += "cpu_temperature 0"
|
|||||||
order += "cpu_usage"
|
order += "cpu_usage"
|
||||||
order += "time"
|
order += "time"
|
||||||
|
|
||||||
ethernet _first_ {
|
|
||||||
format_up = "E: %ip (%speed)"
|
|
||||||
format_down = "E: down"
|
|
||||||
}
|
|
||||||
|
|
||||||
wireless _first_ {
|
wireless _first_ {
|
||||||
format_up = "W: (%quality at %essid) %ip"
|
format_up = "W: (%quality at %essid) %ip"
|
||||||
format_down = "W: down"
|
format_down = "W: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ethernet _first_ {
|
||||||
|
format_up = "E: %ip (%speed)"
|
||||||
|
format_down = "E: down"
|
||||||
|
}
|
||||||
|
|
||||||
disk "/" {
|
disk "/" {
|
||||||
format = "/: %percentage_used"
|
format = "/: %percentage_used"
|
||||||
}
|
}
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
memory_used_method = classical
|
format="RAM: %used/%total"
|
||||||
format="R: %used/%total"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
@@ -42,5 +42,5 @@ cpu_usage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
time {
|
time {
|
||||||
format = "%d-%m-%Y %H:%M:%S"
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user