add laptop config

This commit is contained in:
Mans Ziesel 2024-09-03 16:17:20 +02:00
parent ba13837ffd
commit 55a2d3cbba
3 changed files with 166 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
config

View File

@ -0,0 +1,119 @@
separator=false
markup=pango
[disk]
#label=
label=disk:
instance=/
command=~/.config/i3/scripts/disk
interval=30
[memory]
label=mem:
command=~/.config/i3/scripts/memory
interval=2
[cpu_usage]
label=cpu:
command=~/.config/i3/scripts/cpu_usage
#min_width=CPU: 100.00%
interval=2
[CPU-temperature]
label=temp:
command=~/.config/i3/scripts/temperature
interval=30
#SENSOR_CHIP=""
# where SENSOR_CHIP can be find with sensors output
# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
# showing name of connected network (enable for wifi use)
[net]
#label=
command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')"
interval=30
[simple-2]
full_text=::
color=#717171
[simple-2]
full_text=net:
[bandwidth]
command=~/.config/i3/scripts/bandwidth2
interval=persist
[simple-2]
full_text=::
color=#717171
# Battery indicator
[battery]
command=~/.config/i3/scripts/battery2
interval=30
# for alternative battery script change to battery1
# change this to battery-pinebook-pro if you are running on pinebook-pro
[simple-2]
full_text=::
color=#717171
[pavucontrol]
full_text=
command=pavucontrol
[volume-pulseaudio]
command=~/.config/i3/scripts/volume
instance=Master
interval=1
# display keyboard layout name
# for keyboard layouts switcher
# see i3 config file
# this needs xkblayout-state installed from the AUR:
# https://aur.archlinux.org/packages/xkblayout-state-git
#[keyboard-layout]
#command=~/.config/i3/scripts/keyboard-layout
#interval=2
#[keybindings]
#full_text=
#command=~/.config/i3/scripts/keyhint
# power-profiles-daemon implementation:
# needs package power-profiles-daemon installed and the service running see here:
# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon
#set power-profile
# [ppd_menu]
# full_text=
# command=~/.config/i3/scripts/power-profiles
# color=#407437
# Show the current power-profile
# [ppd-status]
# command=~/.config/i3/scripts/ppd-status
# interval=5
[simple-2]
full_text=::
color=#717171
[time]
#label=
command=date '+%a %d %b %H:%M:%S'
interval=1
[simple-2]
full_text=::
color=#717171
[shutdown_menu]
full_text=
command=~/.config/i3/scripts/powermenu
# [simple-2]
# full_text=::
# color=#717171

View File

@ -0,0 +1,46 @@
exec --no-startup-id ~/.screenlayout/monitor.sh
## Variables do not work across files
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
set $mod Mod1
# Autostart apps as you like
exec --no-startup-id sleep 3 && birdtray
exec --no-startup-id sleep 3 && obsidian
exec --no-startup-id xfce4-clipman
#exec --no-startup-id sleep 3 && discord
exec --no-startup-id /usr/bin/setxkbmap -option "caps:escape"
exec --no-startup-id sleep 3 && discord
bar {
#font pango: Iosevka Term 12
font pango: Iosevka Term 12
status_command i3blocks -c ~/.config/i3/i3blocks-lpt-mans.conf
position bottom
# i3bar_command i3bar --transparency
# it could be that you have no primary display set: set one (xrandr --output <output> --primary)
# reference: https://i3wm.org/docs/userguide.html#_tray_output
tray_output primary
tray_padding 3
# When strip_workspace_numbers is set to yes,
# any workspace that has a name of the form
# “[n][:][NAME]” will display only the name.
strip_workspace_numbers yes
##strip_workspace_name no
}
bindsym $mod+b exec "boomer"