Changed i3 look

This commit is contained in:
CramMK
2020-02-11 16:42:50 +01:00
parent e818539e60
commit ea1002615b
8 changed files with 29 additions and 48 deletions

View File

@@ -6,7 +6,7 @@ My personal configurations, managed with the 'dotdrop' submodule.
| Usage | Name | | Usage | Name |
| :--- | :--- | | :--- | :--- |
| Distribution | Fedora 31 | | Distribution | Fedora 31 |
| Shell | zsh with oh-my-zsh | | Shell | zsh + oh-my-zsh |
| WM | i3 | | WM | i3 |
| Terminal | xterm | | Terminal | xterm |
| Font | Inconsolata | | Font | Inconsolata |

View File

@@ -30,8 +30,6 @@ dotfiles:
f_i3status_config: f_i3status_config:
src: i3status_config src: i3status_config
dst: ~/.config/i3status/config dst: ~/.config/i3status/config
actions:
- font-cache
f_gdbinit: f_gdbinit:
src: gdbinit src: gdbinit
dst: ~/.gdbinit dst: ~/.gdbinit
@@ -50,6 +48,8 @@ dotfiles:
d_fonts: d_fonts:
src: fonts src: fonts
dst: ~/.local/share/fonts dst: ~/.local/share/fonts
actions:
- font-cache
d_xresources_d: d_xresources_d:
src: Xresources.d src: Xresources.d
dst: ~/.Xresources.d dst: ~/.Xresources.d
@@ -59,6 +59,9 @@ dotfiles:
f_tmux: f_tmux:
src: tmux.conf src: tmux.conf
dst: ~/.tmux.conf dst: ~/.tmux.conf
d_wallpaper:
src: wallpaper
dst: ~/.wallpaper
profiles: profiles:
laptop: laptop:
include: include:
@@ -70,6 +73,7 @@ profiles:
- picom - picom
- tmux - tmux
- gdb - gdb
- wallpaper
work: work:
include: include:
- zsh - zsh
@@ -80,6 +84,7 @@ profiles:
- picom - picom
- tmux - tmux
- gdb - gdb
- wallpaper
dev: dev:
include: include:
- zsh - zsh
@@ -118,3 +123,6 @@ profiles:
tmux: tmux:
dotfiles: dotfiles:
- f_tmux - f_tmux
wallpaper:
dotfiles:
- d_wallpaper

View File

@@ -13,10 +13,10 @@
! Font ! Font
XTerm.vt100.faceName: xft:Inconsolata:antialias=true XTerm.vt100.faceName: xft:Inconsolata:antialias=true
{%@@ if profile == "work" @@%} {%@@ if profile == "work" @@%}
XTerm.vt100.faceSize: 13 XTerm.vt100.faceSize: 12
{%@@ endif @@%} {%@@ endif @@%}
{%@@ if profile == "laptop" @@%} {%@@ if profile == "laptop" @@%}
XTerm.vt100.faceSize: 15 XTerm.vt100.faceSize: 14
{%@@ endif @@%} {%@@ endif @@%}
! Remove Scrollbar ! Remove Scrollbar

View File

@@ -184,7 +184,7 @@ bar {
#separator #4b5262 #separator #4b5262
separator #2f343f separator #2f343f
# colour of border, background, and text # class border backgr. text
focused_workspace #2f343f #00b111 #d8dee8 focused_workspace #2f343f #00b111 #d8dee8
active_workspace #2f343f #2f343f #d8dee8 active_workspace #2f343f #2f343f #d8dee8
inactive_workspace #2f343f #2f343f #d8dee8 inactive_workspace #2f343f #2f343f #d8dee8
@@ -193,6 +193,15 @@ bar {
status_command i3status status_command i3status
} }
# Border
for_window [class="^.*"] border pixel 2
# class border backgr. text indicator child_border
client.focused #00b111 #222222 #ffffff #2e9ef4 #00b111
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.background #ffffff
# Keyboard lauyout shortcuts # Keyboard lauyout shortcuts
exec setxkbmap -layout us exec setxkbmap -layout us
bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap us bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap us
@@ -201,7 +210,10 @@ bindsym Ctrl+Shift+2 exec --no-startup-id setxkbmap de
# Remove title bar # Remove title bar
new_window 1pixel new_window 1pixel
# Wallpaper
exec --no-startup-id feh --bg-scale ~/.wallpaper/wallpaper.jpg
# PC specific configurations:
{%@@ if profile == "work" @@%} {%@@ if profile == "work" @@%}
# Locking # Locking
bindsym $mod+Shift+b exec "xlock -mode blank -startCmd /share/bin/isweg -endCmd /share/bin/isda" bindsym $mod+Shift+b exec "xlock -mode blank -startCmd /share/bin/isweg -endCmd /share/bin/isda"
@@ -227,9 +239,6 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
{%@@ endif @@%} {%@@ endif @@%}
{%@@ if profile == "laptop" @@%} {%@@ if profile == "laptop" @@%}
# Locking # Locking
bindsym $mod+Shift+b exec "xlock -mode matrix" bindsym $mod+Shift+b exec "xlock -mode matrix"
@@ -238,7 +247,4 @@ bindsym $mod+Shift+b exec "xlock -mode matrix"
exec --no-startup-id "firefox" exec --no-startup-id "firefox"
for_window [class="Firefox"] move container to workspace 9 for_window [class="Firefox"] move container to workspace 9
exec --no-startup-id feh --bg-scale ~/.wallpaper/minimalist-forest.jpg
exec --no-startup-id picom
{%@@ endif @@%} {%@@ endif @@%}

View File

@@ -8,11 +8,9 @@ general {
color_bad = '#ba5e57' color_bad = '#ba5e57'
} }
{%@@ if profile == "laptop" @@%}
order += "load" order += "load"
order += "memory" order += "memory"
{%@@ if profile == "laptop" @@%}
order += "cpu_temperature 0" order += "cpu_temperature 0"
order += "ethernet _first_" order += "ethernet _first_"
order += "wireless _first_" order += "wireless _first_"

View File

@@ -1,36 +1,4 @@
{%@@ if profile == "laptop" @@%}
opacity-rule = [ opacity-rule = [
"85:class_g = 'XTerm' && !focused", "100:class_g = 'XTerm' && !focused",
"95:class_g = 'XTerm' && focused",
];
{%@@ endif @@%}
{%@@ if profile == "work" @@%}
opacity-rule = [
"90:class_g = 'XTerm' && !focused",
"100:class_g = 'XTerm' && focused", "100:class_g = 'XTerm' && focused",
]; ];
{%@@ endif @@%}
wintypes: {
dock = { opacity = 0.8; }
}
#active-opacity = 0.99;
#inactive-opacity = 0.9;
#blur-background = true;
#blur-background-fixed = true;
#inactive-dim = 0.05;
#fading = true;
#fade-delta = 4;
#fade-in-step = 0.02;
#fade-out-step = 0.02;
#blur: {
# method = "gaussian";
# size = 90;
# deviation = 10.0;
#}

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -35,6 +35,7 @@ alias fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family" alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v" alias cachefonts="fc-cache -f -v"
# Allow pc local aliases
if [ -f ~/.zshaliases_local ]; then if [ -f ~/.zshaliases_local ]; then
source ~/.zshaliases_local source ~/.zshaliases_local
fi fi