Updates
This commit is contained in:
@@ -72,7 +72,7 @@ font:
|
|||||||
#family: InconsolataLGC Nerd Font Mono
|
#family: InconsolataLGC Nerd Font Mono
|
||||||
#style: Bold Italic
|
#style: Bold Italic
|
||||||
|
|
||||||
size: 12.0
|
size: 10.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
@@ -93,7 +93,6 @@ colors:
|
|||||||
primary:
|
primary:
|
||||||
background: '0x1e2127'
|
background: '0x1e2127'
|
||||||
foreground: '0xabb2bf'
|
foreground: '0xabb2bf'
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
normal:
|
normal:
|
||||||
black: '0x1e2127'
|
black: '0x1e2127'
|
||||||
@@ -341,11 +340,11 @@ key_bindings:
|
|||||||
- { key: V, mods: Control|Shift, action: Paste }
|
- { key: V, mods: Control|Shift, action: Paste }
|
||||||
#- { key: C, mods: Control|Shift, action: Copy }
|
#- { key: C, mods: Control|Shift, action: Copy }
|
||||||
#- { key: Insert, mods: Shift, action: PasteSelection }
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||||
#- { key: Key0, mods: Control, action: ResetFontSize }
|
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||||
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||||
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
- { key: Add, mods: Control, action: IncreaseFontSize }
|
||||||
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
||||||
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
# (Windows only)
|
# (Windows only)
|
||||||
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ bindsym $mod+Return exec --no-startup-id alacritty
|
|||||||
bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
||||||
|
|
||||||
# Leaving
|
# Leaving
|
||||||
bindsym $mod+Shift+BackSpace exec "xlock -mode pacman -info ''"
|
bindsym $mod+Shift+BackSpace exec "~/scripts/lock.sh"
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
|
||||||
|
|
||||||
# Config refresh
|
# Config refresh
|
||||||
@@ -89,7 +89,8 @@ bindsym XF86AudioPrev exec playerctl previous
|
|||||||
mode "Open" {
|
mode "Open" {
|
||||||
bindsym f exec firefox
|
bindsym f exec firefox
|
||||||
bindsym s exec spotify
|
bindsym s exec spotify
|
||||||
bindsym d exec Discord
|
bindsym d exec discord; exec Discord
|
||||||
|
bindsym c exec gsimplecal
|
||||||
|
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
@@ -97,7 +98,7 @@ mode "Open" {
|
|||||||
|
|
||||||
bindsym $mod+o mode "Open"
|
bindsym $mod+o mode "Open"
|
||||||
|
|
||||||
# ======================================== Open Applications
|
# ======================================== Shutdown
|
||||||
mode "Shutdown" {
|
mode "Shutdown" {
|
||||||
bindsym s exec shutdown now
|
bindsym s exec shutdown now
|
||||||
bindsym l exec "~/scripts/lock.sh"
|
bindsym l exec "~/scripts/lock.sh"
|
||||||
@@ -151,8 +152,8 @@ set $monitor_2 "DP-1"
|
|||||||
workspace $ws1 output $monitor_1
|
workspace $ws1 output $monitor_1
|
||||||
workspace $ws10 output $monitor_2
|
workspace $ws10 output $monitor_2
|
||||||
|
|
||||||
bindsym $mod+Ctrl+1 move workspace to output $monitor_1
|
bindsym $mod+Ctrl+1 move workspace to output $monitor_2
|
||||||
bindsym $mod+Ctrl+2 move workspace to output $monitor_2
|
bindsym $mod+Ctrl+2 move workspace to output $monitor_1
|
||||||
|
|
||||||
# ============================== Design
|
# ============================== Design
|
||||||
# Remove title
|
# Remove title
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ separator = /
|
|||||||
modules-left = i3 xwindow
|
modules-left = i3 xwindow
|
||||||
modules-right = network volume backlight battery date
|
modules-right = network volume backlight battery date
|
||||||
|
|
||||||
|
tray-position = right
|
||||||
|
tray-padding = 1
|
||||||
|
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
|
|
||||||
@@ -38,6 +41,13 @@ inherit = bar/laptop
|
|||||||
|
|
||||||
modules-right = networkupdown volume date
|
modules-right = networkupdown volume date
|
||||||
|
|
||||||
|
[bar/desktop_second]
|
||||||
|
inherit = bar/desktop
|
||||||
|
|
||||||
|
tray-position = none
|
||||||
|
|
||||||
|
modules-right = volume date
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
pin-workspaces = true
|
pin-workspaces = true
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ if type "xrandr"; then
|
|||||||
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
if [ $mon = "eDP-1" ]; then
|
if [ $mon = "eDP-1" ]; then
|
||||||
MONITOR=$mon polybar --reload laptop &
|
MONITOR=$mon polybar --reload laptop &
|
||||||
else
|
elif [ $mon = "DP-3" ]; then
|
||||||
MONITOR=$mon polybar --reload desktop &
|
MONITOR="DP-3" polybar --reload desktop &
|
||||||
|
MONITOR="DP-1" polybar --reload desktop_second &
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ set cursorline
|
|||||||
set ruler
|
set ruler
|
||||||
|
|
||||||
set showmatch " highlights paranthesis
|
set showmatch " highlights paranthesis
|
||||||
set laststatus=0 " remove status bar
|
set laststatus=2 " remove status bar
|
||||||
set mat=5
|
set mat=5
|
||||||
set noswapfile " can be problematic on some systems
|
set noswapfile " can be problematic on some systems
|
||||||
set confirm " can't quit without saving
|
set confirm " can't quit without saving
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ zstyle ':vcs_info:git:*' formats ' [%b ]'
|
|||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin
|
export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin
|
||||||
export BROWSER="firefox"
|
|
||||||
|
|
||||||
# ============================== Aliases
|
# ============================== Aliases
|
||||||
alias fontslist="fc-list :scalable=true:spacing=mono: family"
|
alias fontslist="fc-list :scalable=true:spacing=mono: family"
|
||||||
@@ -34,7 +33,8 @@ if [[ -x $(which nvim 2> /dev/null) ]]; then
|
|||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias r="ranger"
|
alias updoot="yay -Syu"
|
||||||
|
|
||||||
alias s="cd ~/scripts/"
|
alias s="cd ~/scripts/"
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
blank="ffffff00"
|
xlock \
|
||||||
|
-font 'FiraCode Nerd Font Mono' \
|
||||||
nord0="2e3440"
|
-mode maze \
|
||||||
nord1="3b4252"
|
-info ''
|
||||||
|
|
||||||
frost2="eceff4"
|
|
||||||
|
|
||||||
blue2="88c0d0"
|
|
||||||
blue3="5e81ac"
|
|
||||||
|
|
||||||
red="bf616a"
|
|
||||||
yellow="ebcb8b"
|
|
||||||
green="a3be8c"
|
|
||||||
|
|
||||||
inside="${nord0}77"
|
|
||||||
|
|
||||||
i3lock \
|
|
||||||
-i ~/data/wallpaper/lockscreen.png \
|
|
||||||
\
|
|
||||||
--insidecolor=${inside} \
|
|
||||||
--ringcolor=${nord0}ff \
|
|
||||||
--linecolor=${blank} \
|
|
||||||
--keyhlcolor=${green}ff \
|
|
||||||
--bshlcolor=${red}ff \
|
|
||||||
--separatorcolor=${blue3}ff \
|
|
||||||
\
|
|
||||||
--insidevercolor=${inside} \
|
|
||||||
--ringvercolor=${yellow}ff \
|
|
||||||
--verifcolor=${yellow}ff \
|
|
||||||
\
|
|
||||||
--insidewrongcolor=${inside} \
|
|
||||||
--ringwrongcolor=${red}ff \
|
|
||||||
--wrongcolor=${red}ff \
|
|
||||||
\
|
|
||||||
--layoutcolor=ECEFF4ff \
|
|
||||||
--timecolor=ECEFF4ff \
|
|
||||||
--datecolor=ECEFF4ff \
|
|
||||||
\
|
|
||||||
--clock \
|
|
||||||
--indicator \
|
|
||||||
\
|
|
||||||
--timestr="%H:%M" \
|
|
||||||
--datestr="%B %d, %Y" \
|
|
||||||
--timepos="ix:iy-10" \
|
|
||||||
\
|
|
||||||
--timesize=17 \
|
|
||||||
--datesize=13 \
|
|
||||||
\
|
|
||||||
--time-font="InconsolataLGC Nerd Font Mono" \
|
|
||||||
--date-font="InconsolataLGC Nerd Font Mono" \
|
|
||||||
\
|
|
||||||
--veriftext="" \
|
|
||||||
--noinputtext="" \
|
|
||||||
--locktext="" \
|
|
||||||
--wrongtext="" \
|
|
||||||
\
|
|
||||||
--ring-width 4 \
|
|
||||||
--radius 100
|
|
||||||
|
|||||||
Reference in New Issue
Block a user