2024-11-06
This commit is contained in:
parent
dfd3191ee9
commit
7d9e95fafa
9 changed files with 70 additions and 32 deletions
|
@ -13,7 +13,7 @@ journals:
|
|||
default:
|
||||
display_format: markdown
|
||||
encrypt: true
|
||||
journal: /Users/fz0x1/PKM/diary/diary.md
|
||||
journal: /home/fz0x1/PKM/diary/diary.md
|
||||
linewrap: 79
|
||||
tagsymbols: '@'
|
||||
template: false
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
Xft.dpi: 160
|
||||
rofi.dpi: 160
|
||||
! Xft.dpi: 160
|
||||
! rofi.dpi: 160
|
||||
|
||||
Xft.autohint: 0
|
||||
Xft.lcdfilter: lcddefault
|
||||
|
|
|
@ -62,7 +62,7 @@ bindsym $mod+Control+j workspace prev
|
|||
bindsym $mod+Tab workspace back_and_forth
|
||||
|
||||
# start rofi (a program launcher)
|
||||
bindsym $mod+d exec --no-startup-id rofi -no-config -no-lazy-grab -show drun -modi drun -dpi 160
|
||||
bindsym $mod+d exec --no-startup-id rofi -no-config -no-lazy-grab -show drun -modi drun -dpi 120
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
|
@ -127,6 +127,23 @@ set $ws8 "8"
|
|||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# monitors
|
||||
set $external "HDMI-1-0"
|
||||
set $buildin "eDP-1"
|
||||
set $main_monitor "HDMI-1-0"
|
||||
|
||||
# workspaces
|
||||
workspace $ws1 output $main_monitor
|
||||
workspace $ws2 output $main_monitor
|
||||
workspace $ws3 output $main_monitor
|
||||
workspace $ws4 output $main_monitor
|
||||
workspace $ws5 output $main_monitor
|
||||
workspace $ws6 output $main_monitor
|
||||
workspace $ws7 output $main_monitor
|
||||
workspace $ws8 output $main_monitor
|
||||
workspace $ws9 output $main_monitor
|
||||
workspace $ws10 output $main_monitor
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace number $ws1
|
||||
bindsym $mod+2 workspace number $ws2
|
||||
|
@ -192,48 +209,57 @@ bindsym $mod+r mode "resize"
|
|||
# status_command i3blocks
|
||||
#}
|
||||
|
||||
# wait for init displays
|
||||
# exec --no-startup-id sleep 1
|
||||
|
||||
# setup displays (xrandr)
|
||||
exec_always --no-startup-id ~/scripts/bin/setup_displays
|
||||
|
||||
# dpi fix
|
||||
exec --no-startup-id xrdb -merge ~/.Xresources
|
||||
|
||||
# polybar
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
|
||||
# mullvad
|
||||
exec --no-startup-id mullvad-vpn
|
||||
|
||||
# solaar
|
||||
exec --no-startup-id solaar --window=hide &
|
||||
|
||||
# caffeine
|
||||
exec --no-startup-id caffeine start &
|
||||
|
||||
# backlight
|
||||
# supports only intel
|
||||
#exec --no-startup-id xbacklight -set 90 &
|
||||
|
||||
# dpi fix
|
||||
exec --no-startup-id xrdb -merge ~/.Xresources &
|
||||
exec --no-startup-id xrandr --output DP-2 --mode 2560x1600 --rate 240.00 --dpi 160 &
|
||||
|
||||
# compositor
|
||||
exec --no-startup-id picom --config ~/.picom.conf &
|
||||
|
||||
# polybar
|
||||
exec --no-startup-id ~/.config/polybar/launch.sh > /dev/null 2>&1
|
||||
|
||||
# nm-applet
|
||||
exec --no-startup-id nm-applet &
|
||||
|
||||
# blueman
|
||||
exec --no-startup-id blueman-applet &
|
||||
# exec --no-startup-id blueman-applet &
|
||||
|
||||
# nitrogen
|
||||
exec --no-startup-id nitrogen --restore &
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; picom --config ~/.picom.conf
|
||||
|
||||
# dropbox
|
||||
exec --no-startup-id ~/.dropbox-dist/dropboxd &
|
||||
# exec --no-startup-id ~/.dropbox-dist/dropboxd &
|
||||
|
||||
# megasync
|
||||
exec --no-startup-id megasync &
|
||||
|
||||
# vorta
|
||||
exec --no-startup-id vorta &
|
||||
# exec --no-startup-id vorta &
|
||||
|
||||
# keyboard layout
|
||||
exec --no-startup-id setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
|
||||
# @TODO move it to another file
|
||||
exec --no-startup-id setxkbmap -layout us,ru -option 'grp:alt_space_toggle'
|
||||
|
||||
# power manager
|
||||
#exec_always --no-startup-id xfce4-power-manager
|
||||
|
||||
# polkit
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# default gaps
|
||||
gaps inner 10
|
||||
|
@ -263,3 +289,5 @@ default_floating_border pixel 1
|
|||
|
||||
#p2p firefox for all workspaces
|
||||
for_window [title="Picture-in-Picture"] sticky enable
|
||||
|
||||
for_window [class="MEGAsync" title="Add sync"] floating disable
|
||||
|
|
|
@ -26,6 +26,7 @@ alert = #A54242
|
|||
disabled = #707880
|
||||
|
||||
[bar/fz0x1]
|
||||
monitor = ${env:MONITOR:HDMI-1-0}
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 6
|
||||
|
@ -48,13 +49,17 @@ module-margin = 1
|
|||
separator = ⟨
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
# font-0 = JetBrainsMono Nerd Font Mono:style=Regular;2
|
||||
font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
|
||||
font-1 = Noto Color Emoji:scale=8;2
|
||||
font-2 = JetBrainsMono Nerd Font Mono:size=21:style=Regular;2
|
||||
font-0 = JetBrainsMono Nerd Font Mono:size=9:style=Regular;2
|
||||
font-1 = JetBrainsMono Nerd Font Mono:size=18:style=Regular;3
|
||||
; font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
|
||||
font-2 = "Font Awesome 6 Free"
|
||||
; font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=10;2"
|
||||
; font-4 = "Font Awesome 6 Brands:pixelsize=10;2"
|
||||
; font-1 = Noto Color Emoji:scale=8;2
|
||||
; font-2 = JetBrainsMono Nerd Font Mono:size=21:style=Regular;2
|
||||
|
||||
modules-left = i3 xwindow
|
||||
modules-right = pulseaudio xkeyboard wlan backlight systray date
|
||||
modules-right = pulseaudio xkeyboard wlan systray date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
@ -116,9 +121,9 @@ ws-icon-default =
|
|||
[module/systray]
|
||||
type = internal/tray
|
||||
|
||||
tray-padding = 0px
|
||||
tray-padding = 3px
|
||||
#tray-background = #dd576574
|
||||
tray-size = 100%
|
||||
tray-size = 50%
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
@ -202,7 +207,7 @@ type = internal/backlight
|
|||
; Use the following command to list available cards:
|
||||
; $ ls -1 /sys/class/backlight/
|
||||
; Default: first usable card in /sys/class/backlight (new in version 3.7.0)
|
||||
card = nvidia_0
|
||||
card = nvidia_wmi_ec_backlight
|
||||
|
||||
; Use the `/sys/class/backlight/.../actual-brightness` file
|
||||
; rather than the regular `brightness` file.
|
||||
|
|
|
@ -4,6 +4,6 @@ killall -q polybar
|
|||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch the bar
|
||||
polybar -c ~/.config/polybar/config.ini &
|
||||
sleep 1
|
||||
|
||||
MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &
|
||||
|
|
|
@ -117,6 +117,10 @@ shadow-exclude = [
|
|||
"class_g = 'Thunderbird' && argb",
|
||||
"class_g = 'Telegram' && argb",
|
||||
"name ?= 'Thunderbird' && (window_type = 'utility' || window_type = 'popup_menu')",
|
||||
"class_g = 'Firefox' && argb",
|
||||
"class_g = 'firefox' && argb",
|
||||
"class_g = 'librewolf' && argb",
|
||||
"class_g = 'Librewolf' && argb",
|
||||
#
|
||||
# Exclude some special popup menu shadows, but Modal Windows.
|
||||
# These are more finetuning thant previous ones:
|
||||
|
|
|
@ -9,6 +9,7 @@ alias yyu='sudo pacman -Syyu'
|
|||
alias cop='xsel --clipboard --input'
|
||||
|
||||
## docker
|
||||
export DOCKER_HOST=unix:///run/user/1000/docker.sock
|
||||
#export DOCKER_HOST=unix:///run/user/1000/docker.sock
|
||||
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.soc
|
||||
## Flatpak
|
||||
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
||||
|
|
Loading…
Add table
Reference in a new issue