Commit cb88c245 authored by Franciszek Madej's avatar Franciszek Madej 🤞

Merge branch 'master' of https://gitlab.com/franek_madej/dotfiles

parents 02e45ee6 19446ca0
......@@ -8,16 +8,16 @@ Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
! xft font
URxvt*letterSpace:-1
!URxvt*font:xft:Source Code Pro:style=Regular:pixelsize=11
!URxvt*font:xft:benis uushi
! URxvt*font:xft:Fira Mono:style=Regular:pixelsize=13, xft: Fura Code Regular Nerd Font Complete
URxvt*font:xft:Fura Code Nerd Font:pixelsize=13,xft:FantasqueSansMono Nerd Font Mono:pixelsize=13,xft=NotoSans Nerd Font Mono:pixelsize=13
! URxvt*letterSpace:-1
URxvt*font:xft:scientifica
st.font:scientifica
! ui
URxvt*cursorUnderline: true
st.cursorshape: 4
URxvt*scrollBar: false
URxvt*internalBorder: 10
st.borderpx: 10
! transparency
URxvt*.transparent: false
......@@ -27,4 +27,39 @@ URxvt*.shading: 40
! blur
URxvt*blurRadius: 35
#include ".colors"
! special
*.foreground: #c5c8c6
*.background: #1d1f21
*.cursorColor: #c5c8c6
! black
*.color0: #1d1f21
*.color8: #969896
! red
*.color1: #cc342b
*.color9: #cc342b
! green
*.color2: #198844
*.color10: #198844
! yellow
*.color3: #fba922
*.color11: #fba922
! blue
*.color4: #3971ed
*.color12: #3971ed
! magenta
*.color5: #a36ac7
*.color13: #a36ac7
! cyan
*.color6: #3971ed
*.color14: #3971ed
! white
*.color7: #c5c8c6
*.color15: #ffffff
[global]
font = Fira Code 8
font = scientifica 8
# Allow a small subset of html markup:
# <b>bold</b>
......@@ -64,7 +64,7 @@
# the top and down respectevly.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "0x8-16+56"
geometry = "0x8-16+58"
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
......@@ -153,8 +153,8 @@
icon_path = /usr/share/icons/Papirus/24x24/actions/:/usr/share/icons/Papirus/24x24/apps/:/usr/share/icons/Papirus/24x24/status/:/usr/share/icons/Papirus/24x24/devices/
# Looks!
frame_width = 3
frame_color = "#e0e0e0"
frame_width = 1
frame_color = "#fba922"
[shortcuts]
......@@ -180,18 +180,18 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#ffffff"
foreground = "#4d4d4c"
background = "#1d1f21"
foreground = "#c5c8c6"
timeout = 10
[urgency_normal]
background = "#ffffff"
foreground = "#4d4d4c"
background = "#1d1f21"
foreground = "#c5c8c6"
timeout = 10
[urgency_critical]
background = "#ffffff"
foreground = "#4d4d4c"
background = "#1d1f21"
foreground = "#c5c8c6"
timeout = 0
......
......@@ -14,9 +14,9 @@
# kitty list-fonts
# The default values shown below rely on your OS to choose an appropriate monospace font family.
font_family Fira Code Retina
italic_font Fira Code
bold_font Fira Code
bold_italic_font Fira Code
italic_font Fira Code Light
bold_font Fira Code Bold
bold_italic_font Fira Code Bold
# Font size (in pts)
font_size 10.0
......
......@@ -17,7 +17,7 @@ exports.deactivate = function (oni) {
};
exports.configuration = {
//add custom config here, such as
"ui.colorscheme": "base16-tomorrow",
"ui.colorscheme": "base16-tomorrow-night",
"oni.hideMenu": true,
//"oni.useDefaultConfig": true,
//"oni.bookmarks": ["~/Documents"],
......
......@@ -24,7 +24,7 @@ export const deactivate = (oni: Oni.Plugin.Api) => {
export const configuration = {
//add custom config here, such as
"ui.colorscheme": "base16-tomorrow",
"ui.colorscheme": "base16-tomorrow-night",
"oni.hideMenu": true,
//"oni.useDefaultConfig": true,
......
[colors]
black = #1d1f21
red = #cc6666
purple = #b294bb
green = #b5bd68
yellow = #f0c674
blue = #81a2be
light-blue = #5f819d
magenta = #b294bba
cyan = #8abeb7
red = #cc342b
purple = #a36ac7
green = #198844
yellow = #fba922
blue = #3971ed
magenta = #a36ac7
white = #c5c8c6
clear = #ffffff
grey = #969896
[bar/toplane-x200]
workspace-background = ${colors.black}
......@@ -17,20 +16,19 @@ workspace-background = ${colors.black}
fixed-center = true
width = 1248
offset-x = 16
height = 22
height = 24
offset-y = 16
module-margin = 1
padding = 1
foreground = ${colors.black}
background = ${colors.clear}
border-size = 0
border-color = ${colors.black}
foreground = ${colors.white}
background = ${colors.black}
border-size = 1
border-color = ${colors.purple}
font-0 = Fira Code:size=8;0
font-0 = scientifica:size=9;0
font-1 = NotoEmoji Nerd Font Mono:size=8;0
font-2 = Noto Sans Symbols:size=8;0
font-3 = Noto Sans Symbols2:size=8;0
font-4 = icons\-in\-terminal:size=8;0
font-4 = DejaVu Sans:size=9;0
line-size = 1
line-color = ${colors.purple}
......@@ -41,18 +39,23 @@ tray-position = right
tray-transparent = false
tray-padding = 5
tray-maxsize = 20
tray-background = ${colors.clear}
tray-background = ${colors.black}
[bar/toplane-x200-external]
width = 1888
[bar/toplane-x200-cw]
width = 768
inherit = bar/toplane-x200
[bar/toplane-zilean]
width = 1888
inherit = bar/toplane-x200
padding = 0
modules-left = xworkspaces
modules-right = pulseaudio-tail ethernet time
network-interface = enp2s0
font-0 = Fira Code Retina:size=10;0
font-1 = NotoEmoji Nerd Font Mono:size=8;0
font-2 = Noto Sans Symbols:size=8;0
font-3 = icons\-in\-terminal:size=10;1
[bar/toplane-diana]
inherit = bar/toplane-x200
......@@ -64,12 +67,10 @@ network-interface = enp3s0
[module/xworkspaces]
type = internal/xworkspaces
; very light on not used
label-empty-foreground = #30
label-active-underline = ${colors.purple}
; icons are smaller
icon-default = ▲
;label-empty-foreground = #30
icon-default = ▴
label-active = " %icon% "
label-active-foreground = ${colors.purple}
label-empty = " %icon% "
; some room to breathe
format-padding = 1
......@@ -81,9 +82,6 @@ time-format = %H:%M
label-charging = 🔌 %percentage%% (%time%)
label-full = 🔌 100%
label-discharging = 🔋 %percentage%% (%time%)
format-charging-underline = ${colors.purple}
format-discharging-underline = ${colors.yellow}
format-full-underline = ${colors.yellow}
format-discharging-padding = 1
format-charging-padding = 1
......@@ -92,8 +90,6 @@ format-charging-padding = 1
type = internal/pulseaudio
label-volume = 🔊 %percentage%%
label-muted = 🔇 %percentage%%
format-volume-underline = ${colors.red}
format-muted-underline = ${colors.red}
format-volume-padding = 1
format-muted-padding = 1
......@@ -104,20 +100,17 @@ interface = ${root.network-interface}
label-connected = 🌍 %local_ip%
label-connected-padding = 1
format-connected = <label-connected>
format-connected-underline = ${colors.green}
[module/network]
type = internal/network
interface = wls1
format-connected = <label-connected><ramp-signal>
label-connected-underline = ${colors.blue}
label-connected = "%essid%"
label-connected-padding = 0
label-disconnected-padding = 0
ramp-signal-font = 3
ramp-signal-underline = ${colors.purple}
ramp-signal-0 = " 🜄 "
ramp-signal-1 = " 🜃 "
ramp-signal-2 = " 🜃 "
......@@ -130,13 +123,12 @@ type = internal/date
time = %H:%M
time-alt= %H:%M:%S %A, %d %B %Y
label = %time% %date%
label-underline = ${colors.light-blue}
label = %time%
label-padding = 1
label-background = ${colors.blue}
[module/pulseaudio-tail]
type = custom/script
exec = /home/kosciak/documents/scripts/sinkcheck
tail = true
label-underline = ${colors.purple}
label-padding = 1
......@@ -18,11 +18,11 @@ font = 'Fira Code Retina'
color_list = {
'black': '#1d1f21',
'red': '#cc6666',
'green': '#b5bd68',
'blue': '#81a2be',
'yellow': '#f0c674',
'purple': '#b294bb',
'red': '#cc342b',
'green': '#198844',
'blue': '#3971ed',
'yellow': '#fba922',
'purple': '#a36ac7',
'clear': '#ffffff'
}
......@@ -69,15 +69,17 @@ for index, group_name in enumerate(groups):
layouts = [
layout.MonadTall(border_focus=color_list['purple'],
border_normal=color_list['clear'],
border_width=2, margin=16, ratio=0.65),
border_width=1, margin=16, ratio=0.65),
]
terminal_emulator = 'urxvt'
if shutil.which('kitty'):
terminal_emulator = 'kitty'
elif shutil.which('urxvt'):
terminal_emulator = 'urxvt'
elif shutil.which('sakura'):
terminal_emulator = 'xst'
elif shutil.which('xst'):
terminal_emulator = 'xterm'
keys += [
Key(
......
! Fonts
rofi.font: scientifica 9
! Enable the extended coloring options
rofi.color-enabled: true
! rofi.color-enabled: true
! Property Name BG Border Separator
rofi.color-window: #e0e0e0, #e0e0e0, #ffffff
rofi.color-window: #1d1f21, #fba922, #fba922
! Property Name BG FG BG-alt Head-BG Head-FG
rofi.color-normal: #e0e0e0, #4d4d4c, #e0e0e0, #e0e0e0, #1d1f21
rofi.color-active: #e0e0e0, #4271ae, #e0e0e0, #e0e0e0, #4271ae
rofi.color-urgent: #e0e0e0, #c82829, #e0e0e0, #e0e0e0, #c82829
rofi.color-normal: #1d1f21, #c5c8c6, #1d1f21, #fba922, #1d1f21
rofi.color-active: #1d1f21, #fba922, #fba922, #fba922, #1d1f21
rofi.color-urgent: #1d1f21, #fba922, #fba922, #fba922, #1d1f21
! Set the desired separator style
! rofi.separator-style: solid
! FiraCode is love
rofi.font: Fira Code Retina 9
! Modi
rofi.combi-modi: drun,ssh,window
rofi.combi-modi: drun,window
rofi.modi: combi
rofi.display-combi:
rofi.display-drun:
......@@ -24,9 +24,3 @@ rofi.display-drun:
! Icons
rofi.show-icons: true
rofi.drun-icon-theme: Papirus
! SSH Connection
rofi.terminal: kitty
rofi.ssh-client: /bin/ssh
rofi.ssh-command: {terminal} --dump-commands {ssh-client} {host}
rofi.parse-known-hosts: false
......@@ -3,31 +3,34 @@
_gen_fzf_default_opts() {
local color00='#ffffff'
local color01='#e0e0e0'
local color02='#d6d6d6'
local color03='#8e908c'
local color04='#969896'
local color05='#4d4d4c'
local color06='#282a2e'
local color07='#1d1f21'
local color00='#1d1f21'
local color01='#cc6666'
local color02='#b5bd68'
local color03='#f0c674'
local color04='#81a2be'
local color05='#b294bb'
local color06='#8abeb7'
local color07='#c5c8c6'
local color08='#c82829'
local color09='#f5871f'
local color0A='#eab700'
local color0B='#718c00'
local color0C='#3e999f'
local color0D='#4271ae'
local color0E='#8959a8'
local color0F='#a3685a'
local color0A='#b5bd68'
local color0B='#f0c674'
local color0C='#81a2be'
local color0D='#b294bb'
local color0E='#8abeb7'
local color0F='#c5c8c6'
export FZF_DEFAULT_OPTS="
--color=bg+:$color00,bg:$color00,spinner:$color0C,hl:$color0B
--color=fg:$color04,header:$color0D,info:$color0B,pointer:$color08
--color=marker:$color0C,fg+:$color06,prompt:$color08,hl+:$color0B
--reverse
--preview 'cat {}'
--preview 'file -bL --mime {} | rg text'
"
# --preview 'if [ -z \"\$(file -bL --mime {} | rg text)\" ]; then bat {}; else echo {}; fi'
#"
}
_gen_fzf_default_opts
# --color=bg+:$color00,bg:$color00,spinner:$color0C,hl:$color0B
# --color=fg:$color04,header:$color0D,info:$color0B,pointer:$color08
# --color=marker:$color0C,fg+:$color06,prompt:$color08,hl+:$color0B
......@@ -16,7 +16,7 @@ if ! zgen saved; then
zgen oh-my-zsh plugins/taskwarrior
zgen load Tarrasch/zsh-bd
if which rg 1>/dev/null 2>&1; then
# zgen load jedahan/ripz
zgen load jedahan/ripz
fi
zgen load chrissicool/zsh-256color
zgen load eendroroy/zed-zsh
......@@ -50,6 +50,9 @@ SPACESHIP_HOST_SHOW=always
if [ "$(uname -o)" = "Android" ]; then
SPACESHIP_HOST_SHOW=false
fi
if [ "$(hostname)" = "lucian" ]; then
SPACESHIP_CHAR_SYMBOL='> '
fi
SPACESHIP_VI_MODE_INSERT="[insert]"
SPACESHIP_VI_MODE_NORMAL="[normal]"
SPACESHIP_VI_MODE_COLOR="blue"
......@@ -139,13 +142,13 @@ alias nvimrc="vim ~/.config/nvim/init.vim"
export PATH
# mosh on ssh
function ssh() {
if command -v mosh > /dev/null; then
/usr/bin/mosh "$@"
else
/usr/bin/ssh "$@"
fi
}
# function ssh() {
# if command -v mosh > /dev/null; then
# /usr/bin/mosh "$@"
# else
# /usr/bin/ssh "$@"
# fi
# }
function list-missing() {
autoload -U colors;
......
......@@ -11,7 +11,7 @@ BLUE="81A2BEFF"
PURPLE="B294BBFF"
SEABLUE="8ABEB7FF"
LOCKPAPER="$HOME/.config/misc/wallpapers/wavy-dots.png"
LOCKPAPER="$HOME/.config/misc/wallpapers/congruent_outline.png"
# Enable compton's fade-in effect so that the lockscreen gets a nice fade-in
# effect.
......@@ -23,13 +23,14 @@ pkill -u $USER -USR1 dunst
i3lock \
-i $LOCKPAPER -t \
-S=0 --force-clock --redraw-thread \
--time-font="Fira Sans Heavy" \
--verif-font="Fira Sans Heavy" \
--time-font="scientifica" \
--verif-font="scientifica" \
--timecolor="$BLACK" \
--datestr="" \
--veriftext="..." \
--wrongtext="" \
--timestr="%H:%M" \
--timesize=36 \
--timesize=1 \
--time-align=1 \
--timepos="20:h-20" \
--indpos="w-40:h-40" \
......
#!/bin/zsh
export QT_QPA_PLATFORMTHEME="qt5ct"
~/documents/scripts/autolock &
dunst &
......@@ -11,7 +13,7 @@ mpDris2 &
indicator-kdeconnect &
redshift &
feh --bg-tile ~/.config/misc/wallpapers/tic-tac-toe.png &
feh --bg-tile ~/.config/misc/wallpapers/darkness.png &
if [ "$(hostname)" = "lucian" ]; then
xcalib -d :0 ~/.color/icc/x200.icc &
......
......@@ -23,7 +23,7 @@ if which reflector 1> /dev/null 2>&1; then
echo "";
echo "$bold_color$fg[blue]updating mirrorlist${reset_color}";
echo "";
sudo reflector --verbose --latest 200 --age 24 --sort rate --save /etc/pacman.d/mirrorlist;
sudo reflector --latest 200 --age 24 --sort rate --save /etc/pacman.d/mirrorlist;
if [ -f /etc/pacman.d/mirrorlist.pacnew ]; then
sudo rm /etc/pacman.d/mirrorlist.pacnew;
fi
......@@ -66,9 +66,7 @@ if which nvim 1> /dev/null 2>&1; then
echo "";
echo "$bold_color$fg[green]updating Neovim plugins${reset_color}";
echo "";
nvim -c PackUpdate -c q;
nvim -c PackClean -c q;
echo "";
nvim -c dein#update() -c q;
echo "";
echo "$bold_color$fg[green]done!${reset_color}";
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment