summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-09-07 22:44:34 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-09-23 12:51:15 +0200
commit6a3196a2452895ae20c349ce237f39e4a6c9cd4b (patch)
treee46a6e21b89fd4aa646f19874531ec37594eacf4
parentb566055133e40cd1c45d617951ce0967ac195709 (diff)
more laptop config
-rw-r--r--.config/alacritty/alacritty.yml46
-rw-r--r--.config/i3/config8
-rw-r--r--.config/picom/picom.conf2
-rw-r--r--.config/polybar/config64
-rw-r--r--.vimrc1
-rw-r--r--.xinitrc2
6 files changed, 57 insertions, 66 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 3ed3f18..285dba0 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -131,7 +131,7 @@ font:
#style: Bold Italic
# Point size
- size: 6.5
+ size: 7
# 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.
@@ -318,33 +318,33 @@ font:
# The value `0.0` is completely transparent and `1.0` is opaque.
#background_opacity: 1.0
background_opacity: 0.9
-colors:
+#colors:
# Default colors
- primary:
- background: '#0A0E14'
- foreground: '#B3B1AD'
+# primary:
+# background: '#0A0E14'
+# foreground: '#B3B1AD'
# Normal colors
- normal:
- black: '#01060E'
- red: '#EA6C73'
- green: '#91B362'
- yellow: '#F9AF4F'
- blue: '#53BDFA'
- magenta: '#FAE994'
- cyan: '#90E1C6'
- white: '#C7C7C7'
+# normal:
+# black: '#01060E'
+# red: '#EA6C73'
+# green: '#91B362'
+# yellow: '#F9AF4F'
+# blue: '#53BDFA'
+# magenta: '#FAE994'
+# cyan: '#90E1C6'
+# white: '#C7C7C7'
# Bright colors
- bright:
- black: '#686868'
- red: '#F07178'
- green: '#C2D94C'
- yellow: '#FFB454'
- blue: '#59C2FF'
- magenta: '#FFEE99'
- cyan: '#95E6CB'
- white: '#FFFFFF'
+# bright:
+# black: '#686868'
+# red: '#F07178'
+# green: '#C2D94C'
+# yellow: '#FFB454'
+# blue: '#59C2FF'
+# magenta: '#FFEE99'
+# cyan: '#95E6CB'
+# white: '#FFFFFF'
#selection:
# This string contains all characters that are used as separators for
diff --git a/.config/i3/config b/.config/i3/config
index 776d759..c60d279 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -22,9 +22,9 @@ bindsym $alt+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show
bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --no-symbols --choices=shutdown/reboot/suspend/logout --confirm="
bindsym $mod+p exec --no-startup-id rofi-pass
-bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/custom/volume_up.sh 100
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
-bindsym XF86AudioPlay exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
+bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
+bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5
@@ -163,7 +163,7 @@ for_window [title="^Steam Keyboard$"] floating enable
##### Exec
-exec_always --no-startup-id /usr/bin/nm-applet
exec_always --no-startup-id /usr/bin/unclutter -b
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec_always --no-startup-id picom --experimental-backends --config ~/.config/picom/picom.conf -b
+exec_always --no-startup-id setxkbmap -option grp:win_space_toggle us,dk
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index a1ef30f..496ac30 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -104,7 +104,7 @@ wintypes:
# focus: Whether to always consider windows of this type focused.
focus = true;
};
- dock = { shadow = true; }
+ dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = {
opacity = 1.0;
diff --git a/.config/polybar/config b/.config/polybar/config
index ee55443..83e0df0 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -36,13 +36,13 @@ padding-left = 0
padding-right = 2
module-margin-left = 0
-module-margin-right = 2.5
+module-margin-right = 5
-font-0 = SFNS Display:style=Regular:size=14;3.5
-font-1 = Font Awesome 5 Free Regular:size=13;3
-font-2 = Font Awesome 5 Free Solid:size=13;3
-font-3 = Font Awesome 5 Pro Solid:size=13;3
-font-4 = Font Awesome 5 Pro Regular:size=13;3
+font-0 = FreeSans:size=15;3
+font-1 = Font Awesome 5 Free Regular:size=14;4.5
+font-2 = Font Awesome 5 Free Solid:size=14;4.5
+font-3 = Font Awesome 5 Pro Solid:size=14;4.5
+font-4 = Font Awesome 5 Pro Regular:size=14;4.5
modules-left = i3
modules-center =
@@ -62,16 +62,10 @@ enable-ipc = true
[module/xkeyboard]
type = internal/xkeyboard
;blacklist-0 = num lock
-
-;format-prefix = "  "
-;format-prefix-foreground = ${colors.foreground}
-;format-prefix-background = ${colors.background-alt}
-
-;label-layout = "%layout% "
-label-layout = " %layout% "
+label-layout = "%layout% "
label-layout-background = ${colors.background-alt}
-label-indicator-padding = 1
+label-indicator-padding = 2
label-indicator-margin = 0
label-indicator-background = #bc99ed
label-indicator-foreground = #000
@@ -144,23 +138,28 @@ format-discharging-background = ${colors.background-alt}
; %percentage_raw%
; %time%
; %consumption% (shows current charge rate in watts)
-label-charging = "  %percentage% "
+label-charging = " %percentage%"
label-charging-background = ${colors.background-alt}
+format-full = <ramp-capacity> <label-full>
+format-full-background = ${colors.background-alt}
+label-full = "%percentage%"
+label-full-background = ${colors.background-alt}
+
; Available tokens:
; %percentage% (default) - is set to 100 if full-at is reached
; %percentage_raw%
; %time%
; %consumption% (shows current discharge rate in watts)
-label-discharging = "%percentage% "
+label-discharging = "%percentage%"
label-discharging-background = ${colors.background-alt}
; Only applies if <ramp-capacity> is used
-ramp-capacity-0 = "  "
-ramp-capacity-1 = "  "
-ramp-capacity-2 = "  "
-ramp-capacity-3 = "  "
-ramp-capacity-4 = "  "
+ramp-capacity-0 = " "
+ramp-capacity-1 = " "
+ramp-capacity-2 = " "
+ramp-capacity-3 = " "
+ramp-capacity-4 = " "
@@ -168,16 +167,13 @@ ramp-capacity-4 = "  "
type = internal/date
interval = 5
-date = " %a %b %d"
-time = %H:%M
+date = ""
+date-alt = "%a %b %d "
-;format-prefix = "  "
-;format-prefix-background = ${colors.background-alt}
-;format-prefix-foreground = ${colors.foreground}
-;format-underline = #0a6cf5
+time = "%H:%M"
+time-alt = "%H:%M"
-;label = "  %date% %time% "
-label = " %date% %time% "
+label = "%date%%time% "
label-background = ${colors.background-alt}
@@ -188,17 +184,11 @@ type = internal/pulseaudio
format-volume = <label-volume>
format-volume-background = ${colors.background-alt}
-; Only applies if <ramp-volume> is used
-;ramp-volume-0 = "  "
-;ramp-volume-1 = "  "
-;ramp-volume-2 = "  "
-;ramp-volume-3 = "  "
-
-label-volume = "  %percentage% "
+label-volume = " %percentage%"
label-volume-foreground = ${root.foreground}
label-volume-background = ${colors.background-alt}
-label-muted = "  muted "
+label-muted = " muted"
label-muted-foreground = #999
label-muted-background = ${colors.background-alt}
diff --git a/.vimrc b/.vimrc
index 0764550..b17ba5c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -119,6 +119,7 @@ endif
set cmdheight=2
" Display line numbers on the left
+set number
set relativenumber
" Quickly time out on keycodes, but never time out on mappings
diff --git a/.xinitrc b/.xinitrc
index 675dc2a..b0cf806 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -36,9 +36,9 @@ fi
greenclip daemon &
playerctld daemon &
nitrogen --restore &
-setxkbmap -option grp:win_space_toggle us,dk &
redshift -l 56:10 &
pcmanfm -d &
+nm-applet &
exec i3 & wmpid=$!
sleep 5