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:
|
default:
|
||||||
display_format: markdown
|
display_format: markdown
|
||||||
encrypt: true
|
encrypt: true
|
||||||
journal: /Users/fz0x1/PKM/diary/diary.md
|
journal: /home/fz0x1/PKM/diary/diary.md
|
||||||
linewrap: 79
|
linewrap: 79
|
||||||
tagsymbols: '@'
|
tagsymbols: '@'
|
||||||
template: false
|
template: false
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
Xft.dpi: 160
|
! Xft.dpi: 160
|
||||||
rofi.dpi: 160
|
! rofi.dpi: 160
|
||||||
|
|
||||||
Xft.autohint: 0
|
Xft.autohint: 0
|
||||||
Xft.lcdfilter: lcddefault
|
Xft.lcdfilter: lcddefault
|
||||||
|
|
|
@ -62,7 +62,7 @@ bindsym $mod+Control+j workspace prev
|
||||||
bindsym $mod+Tab workspace back_and_forth
|
bindsym $mod+Tab workspace back_and_forth
|
||||||
|
|
||||||
# start rofi (a program launcher)
|
# 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
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+j focus left
|
||||||
|
@ -127,6 +127,23 @@ set $ws8 "8"
|
||||||
set $ws9 "9"
|
set $ws9 "9"
|
||||||
set $ws10 "10"
|
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
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace number $ws1
|
bindsym $mod+1 workspace number $ws1
|
||||||
bindsym $mod+2 workspace number $ws2
|
bindsym $mod+2 workspace number $ws2
|
||||||
|
@ -192,48 +209,57 @@ bindsym $mod+r mode "resize"
|
||||||
# status_command i3blocks
|
# 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
|
# caffeine
|
||||||
exec --no-startup-id caffeine start &
|
exec --no-startup-id caffeine start &
|
||||||
|
|
||||||
# backlight
|
# backlight
|
||||||
|
# supports only intel
|
||||||
#exec --no-startup-id xbacklight -set 90 &
|
#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
|
# nm-applet
|
||||||
exec --no-startup-id nm-applet &
|
exec --no-startup-id nm-applet &
|
||||||
|
|
||||||
# blueman
|
# blueman
|
||||||
exec --no-startup-id blueman-applet &
|
# exec --no-startup-id blueman-applet &
|
||||||
|
|
||||||
# nitrogen
|
exec --no-startup-id nitrogen --restore; sleep 1; picom --config ~/.picom.conf
|
||||||
exec --no-startup-id nitrogen --restore &
|
|
||||||
|
|
||||||
# dropbox
|
# dropbox
|
||||||
exec --no-startup-id ~/.dropbox-dist/dropboxd &
|
# exec --no-startup-id ~/.dropbox-dist/dropboxd &
|
||||||
|
|
||||||
# megasync
|
# megasync
|
||||||
exec --no-startup-id megasync &
|
exec --no-startup-id megasync &
|
||||||
|
|
||||||
# vorta
|
# vorta
|
||||||
exec --no-startup-id vorta &
|
# exec --no-startup-id vorta &
|
||||||
|
|
||||||
# keyboard layout
|
# 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
|
# power manager
|
||||||
#exec_always --no-startup-id xfce4-power-manager
|
#exec_always --no-startup-id xfce4-power-manager
|
||||||
|
|
||||||
# polkit
|
# 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
|
# default gaps
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
|
@ -263,3 +289,5 @@ default_floating_border pixel 1
|
||||||
|
|
||||||
#p2p firefox for all workspaces
|
#p2p firefox for all workspaces
|
||||||
for_window [title="Picture-in-Picture"] sticky enable
|
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
|
disabled = #707880
|
||||||
|
|
||||||
[bar/fz0x1]
|
[bar/fz0x1]
|
||||||
|
monitor = ${env:MONITOR:HDMI-1-0}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 24pt
|
height = 24pt
|
||||||
radius = 6
|
radius = 6
|
||||||
|
@ -48,13 +49,17 @@ module-margin = 1
|
||||||
separator = ⟨
|
separator = ⟨
|
||||||
separator-foreground = ${colors.disabled}
|
separator-foreground = ${colors.disabled}
|
||||||
|
|
||||||
# font-0 = JetBrainsMono Nerd Font Mono:style=Regular;2
|
font-0 = JetBrainsMono Nerd Font Mono:size=9:style=Regular;2
|
||||||
font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
|
font-1 = JetBrainsMono Nerd Font Mono:size=18:style=Regular;3
|
||||||
font-1 = Noto Color Emoji:scale=8;2
|
; font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
|
||||||
font-2 = JetBrainsMono Nerd Font Mono:size=21: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-left = i3 xwindow
|
||||||
modules-right = pulseaudio xkeyboard wlan backlight systray date
|
modules-right = pulseaudio xkeyboard wlan systray date
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
@ -116,9 +121,9 @@ ws-icon-default =
|
||||||
[module/systray]
|
[module/systray]
|
||||||
type = internal/tray
|
type = internal/tray
|
||||||
|
|
||||||
tray-padding = 0px
|
tray-padding = 3px
|
||||||
#tray-background = #dd576574
|
#tray-background = #dd576574
|
||||||
tray-size = 100%
|
tray-size = 50%
|
||||||
|
|
||||||
[module/xworkspaces]
|
[module/xworkspaces]
|
||||||
type = internal/xworkspaces
|
type = internal/xworkspaces
|
||||||
|
@ -202,7 +207,7 @@ type = internal/backlight
|
||||||
; Use the following command to list available cards:
|
; Use the following command to list available cards:
|
||||||
; $ ls -1 /sys/class/backlight/
|
; $ ls -1 /sys/class/backlight/
|
||||||
; Default: first usable card in /sys/class/backlight (new in version 3.7.0)
|
; 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
|
; Use the `/sys/class/backlight/.../actual-brightness` file
|
||||||
; rather than the regular `brightness` file.
|
; rather than the regular `brightness` file.
|
||||||
|
|
|
@ -4,6 +4,6 @@ killall -q polybar
|
||||||
# Wait until the processes have been shut down
|
# Wait until the processes have been shut down
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch the bar
|
sleep 1
|
||||||
polybar -c ~/.config/polybar/config.ini &
|
|
||||||
|
|
||||||
|
MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &
|
||||||
|
|
|
@ -117,6 +117,10 @@ shadow-exclude = [
|
||||||
"class_g = 'Thunderbird' && argb",
|
"class_g = 'Thunderbird' && argb",
|
||||||
"class_g = 'Telegram' && argb",
|
"class_g = 'Telegram' && argb",
|
||||||
"name ?= 'Thunderbird' && (window_type = 'utility' || window_type = 'popup_menu')",
|
"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.
|
# Exclude some special popup menu shadows, but Modal Windows.
|
||||||
# These are more finetuning thant previous ones:
|
# These are more finetuning thant previous ones:
|
||||||
|
|
|
@ -9,6 +9,7 @@ alias yyu='sudo pacman -Syyu'
|
||||||
alias cop='xsel --clipboard --input'
|
alias cop='xsel --clipboard --input'
|
||||||
|
|
||||||
## docker
|
## 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
|
## Flatpak
|
||||||
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue