Updates
This commit is contained in:
@@ -72,7 +72,7 @@ font:
|
||||
#family: InconsolataLGC Nerd Font Mono
|
||||
#style: Bold Italic
|
||||
|
||||
size: 12.0
|
||||
size: 10.0
|
||||
|
||||
# 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.
|
||||
@@ -93,7 +93,6 @@ colors:
|
||||
primary:
|
||||
background: '0x1e2127'
|
||||
foreground: '0xabb2bf'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '0x1e2127'
|
||||
@@ -341,11 +340,11 @@ key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
#- { key: C, mods: Control|Shift, action: Copy }
|
||||
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||
#- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
||||
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
||||
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Add, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
||||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
|
||||
# (Windows only)
|
||||
#- { 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
|
||||
|
||||
# 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'"
|
||||
|
||||
# Config refresh
|
||||
@@ -89,7 +89,8 @@ bindsym XF86AudioPrev exec playerctl previous
|
||||
mode "Open" {
|
||||
bindsym f exec firefox
|
||||
bindsym s exec spotify
|
||||
bindsym d exec Discord
|
||||
bindsym d exec discord; exec Discord
|
||||
bindsym c exec gsimplecal
|
||||
|
||||
bindsym Escape mode "default"
|
||||
bindsym Return mode "default"
|
||||
@@ -97,7 +98,7 @@ mode "Open" {
|
||||
|
||||
bindsym $mod+o mode "Open"
|
||||
|
||||
# ======================================== Open Applications
|
||||
# ======================================== Shutdown
|
||||
mode "Shutdown" {
|
||||
bindsym s exec shutdown now
|
||||
bindsym l exec "~/scripts/lock.sh"
|
||||
@@ -151,8 +152,8 @@ set $monitor_2 "DP-1"
|
||||
workspace $ws1 output $monitor_1
|
||||
workspace $ws10 output $monitor_2
|
||||
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor_1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor_2
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor_2
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor_1
|
||||
|
||||
# ============================== Design
|
||||
# Remove title
|
||||
|
||||
@@ -27,6 +27,9 @@ separator = /
|
||||
modules-left = i3 xwindow
|
||||
modules-right = network volume backlight battery date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 1
|
||||
|
||||
foreground = ${colors.foreground}
|
||||
background = ${colors.background}
|
||||
|
||||
@@ -38,6 +41,13 @@ inherit = bar/laptop
|
||||
|
||||
modules-right = networkupdown volume date
|
||||
|
||||
[bar/desktop_second]
|
||||
inherit = bar/desktop
|
||||
|
||||
tray-position = none
|
||||
|
||||
modules-right = volume date
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
pin-workspaces = true
|
||||
|
||||
@@ -5,8 +5,9 @@ if type "xrandr"; then
|
||||
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
if [ $mon = "eDP-1" ]; then
|
||||
MONITOR=$mon polybar --reload laptop &
|
||||
else
|
||||
MONITOR=$mon polybar --reload desktop &
|
||||
elif [ $mon = "DP-3" ]; then
|
||||
MONITOR="DP-3" polybar --reload desktop &
|
||||
MONITOR="DP-1" polybar --reload desktop_second &
|
||||
fi
|
||||
done
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user