Add piucom and i3 with transparency
This commit is contained in:
parent
e1317d38ee
commit
1ff03eb4ca
8 changed files with 128 additions and 27 deletions
|
@ -3,8 +3,10 @@ import = ["/home/hactario/.config/alacritty/dracula.toml", "/home/hactario/.conf
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
decorations = "none"
|
decorations = "none"
|
||||||
opacity = "0.9"
|
|
||||||
startup_mode = "Maximized"
|
startup_mode = "Maximized"
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.70
|
||||||
|
|
||||||
[scrolling]
|
[scrolling]
|
||||||
history = 100000
|
history = 100000
|
||||||
|
|
|
@ -14,7 +14,7 @@ set $mod Mod4
|
||||||
# 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:monospace 8
|
#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
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# 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
|
# 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.
|
# 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,
|
# 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.
|
||||||
|
@ -62,7 +62,7 @@ bindsym $mod+Shift+a kill
|
||||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
# 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.
|
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
||||||
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
# 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
|
# change focus
|
||||||
bindsym $mod+j focus left
|
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.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $ws1 "1"
|
set $ws1 "1 "
|
||||||
set $ws2 "2"
|
set $ws2 "2 "
|
||||||
set $ws3 "3"
|
set $ws3 "3 "
|
||||||
set $ws4 "4"
|
set $ws4 "4 "
|
||||||
set $ws5 "5"
|
set $ws5 "5 "
|
||||||
set $ws6 "6"
|
set $ws6 "6 "
|
||||||
set $ws7 "7"
|
set $ws7 "7 "
|
||||||
set $ws8 "8"
|
set $ws8 "8 "
|
||||||
set $ws9 "9"
|
set $ws9 "9 "
|
||||||
set $ws10 "10"
|
set $ws10 "10 "
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+ampersand workspace number $ws1
|
bindsym $mod+ampersand workspace number $ws1
|
||||||
|
@ -185,15 +185,15 @@ mode "resize" {
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
||||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||||
client.background #F8F8F2
|
client.background #F8F8F2
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
font 'FiraCode Nerd Font Mono',FontAwesome 12
|
font pango:'Hack Nerd Font Regular' 12
|
||||||
position bottom
|
position bottom
|
||||||
status_command i3status ~/.config/i3status-rust/config.toml
|
status_command i3status ~/.config/i3status-rust/config.toml
|
||||||
colors {
|
colors {
|
||||||
|
@ -207,3 +207,4 @@ bar {
|
||||||
binding_mode #FF5555 #FF5555 #F8F8F2
|
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=⚡
|
label=⚡
|
||||||
command=/run/current-system/sw/libexec/i3blocks/battery
|
command=/run/current-system/sw/libexec/i3blocks/battery
|
||||||
interval=10
|
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 {
|
general {
|
||||||
|
|
||||||
output_format = "i3bar"
|
output_format = "i3bar"
|
||||||
colors = true
|
colors = true
|
||||||
color_good = "#50FA7B"
|
color_good = "#50FA7B"
|
||||||
|
@ -7,7 +6,6 @@ general {
|
||||||
color_bad = "#FF5555"
|
color_bad = "#FF5555"
|
||||||
interval = 5
|
interval = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
order += "ipv6"
|
order += "ipv6"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
order += "run_watch DHCP"
|
order += "run_watch DHCP"
|
||||||
|
|
14
picom/.config/picom/picom.conf
Normal file
14
picom/.config/picom/picom.conf
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Default opacity of active windows.
|
||||||
|
active-opacity = 1.0;
|
||||||
|
|
||||||
|
# Default opacity of inactive windows.
|
||||||
|
inactive-opacity = 1.0;
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders.
|
||||||
|
frame-opacity = 1.0;
|
||||||
|
|
||||||
|
# Application-specific settings; these override the default `active-opacity`
|
||||||
|
opacity-rule = [
|
||||||
|
"95:class_g = 'Alacritty' && focused",
|
||||||
|
"80:class_g = 'Alacritty' && !focused"
|
||||||
|
];
|
|
@ -34,7 +34,7 @@ font-0 = FiraMono Nerd Font:size=10;4
|
||||||
#font-0 = Overpass Nerd Font:size=10;4
|
#font-0 = Overpass Nerd Font:size=10;4
|
||||||
#font-1 = Noto Sans:size=10;4
|
#font-1 = Noto Sans:size=10;4
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 18pt
|
height = 16pt
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
dpi = 192
|
dpi = 192
|
||||||
|
@ -68,7 +68,7 @@ enable-ipc = true
|
||||||
|
|
||||||
; wm-restack = generic
|
; wm-restack = generic
|
||||||
; wm-restack = bspwm
|
; wm-restack = bspwm
|
||||||
; wm-restack = i3
|
wm-restack = i3
|
||||||
|
|
||||||
; override-redirect = true
|
; override-redirect = true
|
||||||
|
|
||||||
|
@ -276,4 +276,54 @@ label = %date%
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
pseudo-transparency = true
|
pseudo-transparency = true
|
||||||
|
|
||||||
|
[module/i3]
|
||||||
|
type = internal/i3
|
||||||
|
|
||||||
|
; Only show workspaces defined on the same output as the bar
|
||||||
|
;
|
||||||
|
; Useful if you want to show monitor specific workspaces
|
||||||
|
; on different bars
|
||||||
|
;
|
||||||
|
; Default: false
|
||||||
|
pin-workspaces = true
|
||||||
|
|
||||||
|
; Show urgent workspaces regardless of whether the workspace is actually hidden
|
||||||
|
; by pin-workspaces.
|
||||||
|
;
|
||||||
|
; Default: false
|
||||||
|
; New in version 3.6.0
|
||||||
|
show-urgent = true
|
||||||
|
|
||||||
|
; This will split the workspace name on ':'
|
||||||
|
; Default: false
|
||||||
|
strip-wsnumbers = true
|
||||||
|
|
||||||
|
; Sort the workspaces by index instead of the default
|
||||||
|
; sorting that groups the workspaces by output
|
||||||
|
; Default: false
|
||||||
|
index-sort = true
|
||||||
|
|
||||||
|
; Create click handler used to focus workspace
|
||||||
|
; Default: true
|
||||||
|
enable-click = false
|
||||||
|
|
||||||
|
; Create scroll handlers used to cycle workspaces
|
||||||
|
; Default: true
|
||||||
|
enable-scroll = false
|
||||||
|
|
||||||
|
; Wrap around when reaching the first/last workspace
|
||||||
|
; Default: true
|
||||||
|
wrapping-scroll = false
|
||||||
|
|
||||||
|
; Set the scroll cycle direction
|
||||||
|
; Default: true
|
||||||
|
reverse-scroll = false
|
||||||
|
|
||||||
|
; Use fuzzy (partial) matching for wc-icon.
|
||||||
|
; Example: code;♚ will apply the icon to all workspaces
|
||||||
|
; containing 'code' in the name
|
||||||
|
; Changed in version 3.7.0: Selects longest string match instead of the first match.
|
||||||
|
; Default: false
|
||||||
|
fuzzy-match = true
|
||||||
|
|
||||||
; vim:ft=dosini
|
; vim:ft=dosini
|
||||||
|
|
1
setup.sh
1
setup.sh
|
@ -17,6 +17,7 @@ base=(
|
||||||
puppet
|
puppet
|
||||||
ssh
|
ssh
|
||||||
i3
|
i3
|
||||||
|
picom
|
||||||
polybar
|
polybar
|
||||||
sway
|
sway
|
||||||
terminfo
|
terminfo
|
||||||
|
|
Loading…
Add table
Reference in a new issue