mirror of
https://github.com/eRgo35/dots.git
synced 2026-02-04 08:46:10 +01:00
Compare commits
2 Commits
2dcaf81a3a
...
023f608bec
| Author | SHA1 | Date | |
|---|---|---|---|
| 023f608bec | |||
| 13eefb792f |
@@ -1,4 +1,4 @@
|
|||||||
#? Config file for btop v. 1.4.0
|
#? Config file for btop v. 1.4.2
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
@@ -210,6 +210,9 @@ net_sync = True
|
|||||||
#* Starts with the Network Interface specified here.
|
#* Starts with the Network Interface specified here.
|
||||||
net_iface = ""
|
net_iface = ""
|
||||||
|
|
||||||
|
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
|
||||||
|
base_10_bitrate = "Auto"
|
||||||
|
|
||||||
#* Show battery stats in top right if battery is present.
|
#* Show battery stats in top right if battery is present.
|
||||||
show_battery = True
|
show_battery = True
|
||||||
|
|
||||||
@@ -226,6 +229,9 @@ log_level = "WARNING"
|
|||||||
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
||||||
nvml_measure_pcie_speeds = True
|
nvml_measure_pcie_speeds = True
|
||||||
|
|
||||||
|
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
|
||||||
|
rsmi_measure_pcie_speeds = True
|
||||||
|
|
||||||
#* Horizontally mirror the GPU graph.
|
#* Horizontally mirror the GPU graph.
|
||||||
gpu_mirror_graph = True
|
gpu_mirror_graph = True
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
"IS_MAXIMIZED": false,
|
"IS_MAXIMIZED": false,
|
||||||
"IS_MINIMIZED": false,
|
"IS_MINIMIZED": false,
|
||||||
"WINDOW_BOUNDS": {
|
"WINDOW_BOUNDS": {
|
||||||
"x": 4510,
|
"x": 4511,
|
||||||
"y": 52,
|
"y": 53,
|
||||||
"width": 2500,
|
"width": 2500,
|
||||||
"height": 1378
|
"height": 1378
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
"format_on_save": "on",
|
"format_on_save": "on",
|
||||||
"autosave": "on_window_change",
|
"autosave": "on_window_change",
|
||||||
"vim_mode": false,
|
"vim_mode": false,
|
||||||
"assistant": {
|
"agent": {
|
||||||
"default_model": {
|
"default_model": {
|
||||||
"provider": "copilot_chat",
|
"provider": "copilot_chat",
|
||||||
"model": "gpt-4o"
|
"model": "gpt-4o"
|
||||||
|
|||||||
185
.xinitrc
Normal file
185
.xinitrc
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# start some nice programs
|
||||||
|
# if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
|
# for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
|
# # shellcheck source=/dev/null
|
||||||
|
# [ -x "$f" ] && . "$f"
|
||||||
|
# done
|
||||||
|
# unset f
|
||||||
|
# fi
|
||||||
|
|
||||||
|
xset -b # disable bell
|
||||||
|
|
||||||
|
export SSH_AUTH_SOCK;
|
||||||
|
# export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
|
# ssh-agent -d &
|
||||||
|
|
||||||
|
|
||||||
|
# ssh agent setup
|
||||||
|
#eval `/usr/bin/ssh-agent`
|
||||||
|
#
|
||||||
|
#if test -f /usr/lib/openssh/x11-ssh-askpass # Archlinux
|
||||||
|
#then
|
||||||
|
# SSH_ASKPASS=/usr/lib/openssh/x11-ssh-askpass ssh-add < /dev/null
|
||||||
|
#fi
|
||||||
|
#
|
||||||
|
#if test -f /usr/lib/ssh/x11-ssh-askpass # Debian
|
||||||
|
#then
|
||||||
|
# SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass ssh-add < /dev/null
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# theming
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
export DESKTOP_SESSION=plasma
|
||||||
|
export XDG_CURRENT_DESKTOP=dwm
|
||||||
|
|
||||||
|
# IMF configuration (fcitx5)
|
||||||
|
export GTK_IM_MODULE=fcitx
|
||||||
|
export QT_IM_MODULE=fcitx
|
||||||
|
export XMODIFIERS=@im=fcitx
|
||||||
|
export GLFW_IM_MODULE=ibus
|
||||||
|
|
||||||
|
# compositor
|
||||||
|
picom -b --vsync &
|
||||||
|
|
||||||
|
# fix android studio interface
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1 &
|
||||||
|
|
||||||
|
# set keyboard layout
|
||||||
|
setxkbmap pl &
|
||||||
|
# IMF daemon
|
||||||
|
# fcitx5 -d &
|
||||||
|
|
||||||
|
# enable local fonts in .fonts directory
|
||||||
|
# xset +fp /usr/share/fonts/local &
|
||||||
|
# xset +fp /usr/share/fonts/misc &
|
||||||
|
# xset +fp ~/.fonts &
|
||||||
|
# xset fp rehash &
|
||||||
|
# fc-cache -fv &
|
||||||
|
|
||||||
|
# powersaving options
|
||||||
|
# xset s off &
|
||||||
|
# xset s noblank &
|
||||||
|
# xset s noexpose &
|
||||||
|
# xset s on &
|
||||||
|
# xset -dpms &
|
||||||
|
# xset s 900 &
|
||||||
|
# Host-specific rules
|
||||||
|
if [ "$(hostname)" = "zion" ]; then
|
||||||
|
# Zion rules (Desktop)
|
||||||
|
# screenlayout setup for odin
|
||||||
|
bash $HOME/.config/screenlayout/main.sh &
|
||||||
|
# Enable DPMS and set longer timeouts for desktop
|
||||||
|
# xset +dpms
|
||||||
|
# xset dpms 1200 2400 3600 # Standby: 20 min, Suspend: 40 min, Off: 60 min
|
||||||
|
|
||||||
|
# Enable screen blanking and set timeout to 20 minutes
|
||||||
|
# xset s on
|
||||||
|
xset s off
|
||||||
|
xset s noblank
|
||||||
|
xset -dpms
|
||||||
|
# xset s 1200
|
||||||
|
|
||||||
|
xidlehook \
|
||||||
|
--socket /tmp/xidlehook.sock \
|
||||||
|
--not-when-fullscreen \
|
||||||
|
--not-when-audio \
|
||||||
|
--timer 600 "xset dpms force standby" "" \
|
||||||
|
--timer 1800 "xset dpms force suspend" "" \
|
||||||
|
--timer 3600 "xset dpms force off" "" &
|
||||||
|
|
||||||
|
elif [ "$(hostname)" = "thor" ]; then
|
||||||
|
# Thor rules (Laptop)
|
||||||
|
autorandr -c
|
||||||
|
# Enable DPMS and set shorter timeouts for laptop
|
||||||
|
# xset +dpms
|
||||||
|
# xset dpms 300 600 900 # Standby: 5 min, Suspend: 10 min, Off: 15 min
|
||||||
|
|
||||||
|
# Enable screen blanking and set timeout to 10 minutes
|
||||||
|
# xset s on
|
||||||
|
# xset s 600
|
||||||
|
|
||||||
|
# Laptop-specific xidlehook rules
|
||||||
|
xidlehook \
|
||||||
|
--socket /tmp/xidlehook.sock
|
||||||
|
--not-when-fullscreen \
|
||||||
|
--not-when-audio \
|
||||||
|
--timer 450 "brightnessctl -s set 5%" "brightnessctl -s set 100%" \
|
||||||
|
--timer 600 "loginctl lock-session" "" \
|
||||||
|
--timer 750 "xset dpms force standby" "" \
|
||||||
|
--timer 900 "systemctl suspend" "" &
|
||||||
|
else
|
||||||
|
# Fallback rules for other hosts
|
||||||
|
autorandr -c
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# auths
|
||||||
|
# /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
||||||
|
# gnome-keyring-daemon &
|
||||||
|
# source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
|
||||||
|
|
||||||
|
## Map super key to trigger rofi when used alone
|
||||||
|
# xcape -e 'Super_L=Super_L|Shift_L|space' &
|
||||||
|
|
||||||
|
# wallpaper engine and theming
|
||||||
|
# nitrogen --restore &
|
||||||
|
# wal --backend colorz -i $HOME/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg &
|
||||||
|
. ~/.fehbg &
|
||||||
|
|
||||||
|
## Set screen locker
|
||||||
|
xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' &
|
||||||
|
|
||||||
|
## Desktop portal
|
||||||
|
/usr/lib/xdg-desktop-portal-gtk &
|
||||||
|
|
||||||
|
# notification daemon
|
||||||
|
dunst &
|
||||||
|
|
||||||
|
## Screenshot daemon
|
||||||
|
flameshot &
|
||||||
|
|
||||||
|
# Easyeffects daemon
|
||||||
|
# easyeffects --gapplication-service &
|
||||||
|
|
||||||
|
## Telegram daemon
|
||||||
|
# telegram-desktop -startintray &
|
||||||
|
|
||||||
|
## Caffeine-ng
|
||||||
|
caffeine >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
## Ulauncher
|
||||||
|
# ulauncher --hide-window --no-window-shadow >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
# Emacs Server
|
||||||
|
# emacs --daemon &
|
||||||
|
|
||||||
|
# Theme changing service
|
||||||
|
# xsettingsd &
|
||||||
|
|
||||||
|
# Theming service
|
||||||
|
# dusk &
|
||||||
|
|
||||||
|
# Alacritty config
|
||||||
|
# $HOME/.config/alacritty/theme-patcher.sh &
|
||||||
|
|
||||||
|
## THINKPAD-SPECIFIC
|
||||||
|
#hash dockd && dockd --daemon &
|
||||||
|
|
||||||
|
# status bar
|
||||||
|
bash $HOME/repos/dwm/bar.sh & disown
|
||||||
|
|
||||||
|
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
||||||
|
|
||||||
|
# . /etc/X11/Xsession
|
||||||
|
|
||||||
|
# redshift &
|
||||||
|
|
||||||
|
# some merges
|
||||||
|
# xrdb merge .Xresources &
|
||||||
|
# xsetroot -cursor_name left_ptr &
|
||||||
|
|
||||||
|
# start dwm
|
||||||
|
exec dwm
|
||||||
|
|
||||||
Reference in New Issue
Block a user