Add piucom and i3 with transparency
This commit is contained in:
parent
e1317d38ee
commit
1ff03eb4ca
8 changed files with 128 additions and 27 deletions
|
@ -14,7 +14,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:monospace 8
|
||||
font 'FiraCode Nerd Font Mono' 8
|
||||
font pango:Hack Nerd Font Regular 12
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
|
@ -29,7 +29,7 @@ exec --no-startup-id dex --autostart --environment i3
|
|||
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.config/i3/lock.sh --nofork
|
||||
|
||||
# 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.
|
||||
|
@ -62,7 +62,7 @@ bindsym $mod+Shift+a kill
|
|||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
||||
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
||||
bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -p 'launch% '"
|
||||
bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -l 5 -p ' '"
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
|
@ -116,16 +116,16 @@ bindsym $mod+q focus parent
|
|||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
set $ws1 "1 "
|
||||
set $ws2 "2 "
|
||||
set $ws3 "3 "
|
||||
set $ws4 "4 "
|
||||
set $ws5 "5 "
|
||||
set $ws6 "6 "
|
||||
set $ws7 "7 "
|
||||
set $ws8 "8 "
|
||||
set $ws9 "9 "
|
||||
set $ws10 "10 "
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+ampersand workspace number $ws1
|
||||
|
@ -185,15 +185,15 @@ mode "resize" {
|
|||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||
client.background #F8F8F2
|
||||
|
||||
bar {
|
||||
font 'FiraCode Nerd Font Mono',FontAwesome 12
|
||||
font pango:'Hack Nerd Font Regular' 12
|
||||
position bottom
|
||||
status_command i3status ~/.config/i3status-rust/config.toml
|
||||
colors {
|
||||
|
@ -207,3 +207,4 @@ bar {
|
|||
binding_mode #FF5555 #FF5555 #F8F8F2
|
||||
}
|
||||
}
|
||||
exec --no-startup-id feh --bg-fill ~/.dotfiles/i3/.wallpapers/mr-robot-hacker-10000x5625-15768.png
|
|
@ -2,6 +2,4 @@
|
|||
label=⚡
|
||||
command=/run/current-system/sw/libexec/i3blocks/battery
|
||||
interval=10
|
||||
instance=1
|
||||
|
||||
|
||||
instance=1
|
37
i3/.config/i3/lock.sh
Executable file
37
i3/.config/i3/lock.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/sh
|
||||
|
||||
BLANK='#F8F8F2'
|
||||
CLEAR='#44475A'
|
||||
DEFAULT='#6272A4'
|
||||
TEXT='#6272A4'
|
||||
WRONG='#44475A'
|
||||
VERIFYING='#6272A4'
|
||||
|
||||
i3lock \
|
||||
--insidever-color=$CLEAR \
|
||||
--ringver-color=$VERIFYING \
|
||||
\
|
||||
--insidewrong-color=$CLEAR \
|
||||
--ringwrong-color=$WRONG \
|
||||
\
|
||||
--inside-color=$BLANK \
|
||||
--ring-color=$DEFAULT \
|
||||
--line-color=$BLANK \
|
||||
--separator-color=$DEFAULT \
|
||||
\
|
||||
--verif-color=$TEXT \
|
||||
--wrong-color=$TEXT \
|
||||
--time-color=$TEXT \
|
||||
--date-color=$TEXT \
|
||||
--layout-color=$TEXT \
|
||||
--keyhl-color=$WRONG \
|
||||
--bshl-color=$WRONG \
|
||||
\
|
||||
--screen 1 \
|
||||
--blur 9 \
|
||||
--clock \
|
||||
--indicator \
|
||||
--time-str="%H:%M:%S" \
|
||||
--date-str="%A, %Y-%m-%d" \
|
||||
--keylayout 1 \
|
||||
${@}
|
|
@ -1,5 +1,4 @@
|
|||
general {
|
||||
|
||||
output_format = "i3bar"
|
||||
colors = true
|
||||
color_good = "#50FA7B"
|
||||
|
@ -7,7 +6,6 @@ general {
|
|||
color_bad = "#FF5555"
|
||||
interval = 5
|
||||
}
|
||||
|
||||
order += "ipv6"
|
||||
order += "disk /"
|
||||
order += "run_watch DHCP"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue