Edit .Xresources and autostart script
This commit is contained in:
parent
a2eefb07c9
commit
0de32fecb0
@ -6,7 +6,9 @@
|
|||||||
|
|
||||||
! black
|
! black
|
||||||
*.color0: #000000
|
*.color0: #000000
|
||||||
*.color8: #000000
|
|
||||||
|
! gray
|
||||||
|
*.color8: #343834
|
||||||
|
|
||||||
! red
|
! red
|
||||||
*.color1: #cf5252
|
*.color1: #cf5252
|
||||||
@ -35,5 +37,5 @@
|
|||||||
! white
|
! white
|
||||||
*.color7: #cccccc
|
*.color7: #cccccc
|
||||||
|
|
||||||
st.font: DejaVu Sans Mono:pixelsize=15:antialias=true:autohint=true:hintstyle=hintmedium
|
st.font: Inconsolata:pixelsize=15:antialias=true:autohint=true:hintstyle=hintmedium
|
||||||
|
|
||||||
|
@ -32,10 +32,6 @@ lxsession &
|
|||||||
killall -q picom
|
killall -q picom
|
||||||
while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
|
||||||
picom &
|
picom &
|
||||||
# DISCORD
|
|
||||||
#killall -q discord
|
|
||||||
#while pgrep -u $UID -x discord >/dev/null; do sleep 1; done
|
|
||||||
#discord &
|
|
||||||
# TELEGRAM
|
# TELEGRAM
|
||||||
kkillall -q telegram-desktop
|
kkillall -q telegram-desktop
|
||||||
while pgrep -u $UID -x telegram-desktop >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x telegram-desktop >/dev/null; do sleep 1; done
|
||||||
@ -56,4 +52,5 @@ feh --bg-fill --randomize /home/samedamci/.config/wallpapers/1920x1080/ &
|
|||||||
setxkbmap -layout 'pl' -option caps:swapescape &
|
setxkbmap -layout 'pl' -option caps:swapescape &
|
||||||
# Cursor
|
# Cursor
|
||||||
xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
|
xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
|
||||||
# Chown brightness file
|
# Refresh .Xresources
|
||||||
|
xrdb ~/.Xresources
|
||||||
|
@ -1,365 +0,0 @@
|
|||||||
; _ _
|
|
||||||
; _ __ ___ | | _ _ | |__ __ _ _ __
|
|
||||||
; | '_ \ / _ \ | || | | || '_ \ / _` || '__|
|
|
||||||
; | |_) || (_) || || |_| || |_) || (_| || |
|
|
||||||
; | .__/ \___/ |_| \__, ||_.__/ \__,_||_|
|
|
||||||
; |_| |___/
|
|
||||||
|
|
||||||
;~~~~~~~~
|
|
||||||
; colors
|
|
||||||
;~~~~~~~~
|
|
||||||
[colors]
|
|
||||||
bg= ${xrdb:background}
|
|
||||||
fg = ${xrdb:foreground}
|
|
||||||
border = ${xrdb:border_unfocused}
|
|
||||||
border_f = ${xrdb:border_focused}
|
|
||||||
;~~~~~
|
|
||||||
; bar
|
|
||||||
;~~~~~
|
|
||||||
[bar/polybarexe]
|
|
||||||
width = 100%
|
|
||||||
height = 24
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
font-0 = "Inconsolata:pixelsize=10:antialias=true;3"
|
|
||||||
font-1 = "Font Awesome 5 Brands:pixelsize=13:antialias=true;3"
|
|
||||||
font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
|
|
||||||
|
|
||||||
background = ${colors.bg}
|
|
||||||
foreground = ${colors.fg}
|
|
||||||
|
|
||||||
line-size = 0
|
|
||||||
line-color = ${colors.fg}
|
|
||||||
|
|
||||||
border-size = 0
|
|
||||||
border-top-size = 0
|
|
||||||
border-bottom-size = 1
|
|
||||||
border-color = ${colors.border}
|
|
||||||
|
|
||||||
padding-left = 0
|
|
||||||
padding-right = 1
|
|
||||||
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = bspwm
|
|
||||||
modules-center = mpd
|
|
||||||
modules-right = alsa sym2 fsroot sym5 fshome sym2 coreuse temperature memory sym2 clock sym2 updater sym2 powermenu
|
|
||||||
|
|
||||||
cursor-click = pointer
|
|
||||||
cursor-scroll = ns-resize
|
|
||||||
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
; workspaces
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
[module/bspwm]
|
|
||||||
type = internal/bspwm
|
|
||||||
pin-workspaces = true
|
|
||||||
inline-mode = false
|
|
||||||
enable-click = true
|
|
||||||
enable-scroll = false
|
|
||||||
reverse-scroll = false
|
|
||||||
fuzzy-match = true
|
|
||||||
|
|
||||||
ws-icon-0 = "1;"
|
|
||||||
ws-icon-1 = "2;"
|
|
||||||
ws-icon-2 = "3;"
|
|
||||||
ws-icon-3 = "4;"
|
|
||||||
ws-icon-4 = "5;"
|
|
||||||
ws-icon-5 = "6;"
|
|
||||||
ws-icon-6 = "7;"
|
|
||||||
ws-icon-7 = "8;"
|
|
||||||
|
|
||||||
format = <label-state><label-mode>
|
|
||||||
label-monitor = %name%
|
|
||||||
label-focused = %name%
|
|
||||||
label-focused-background = ${colors.border_f}
|
|
||||||
label-focused-overline = ${colors.fg}
|
|
||||||
label-occupied = %name%
|
|
||||||
label-occupied-background = ${colors.border}
|
|
||||||
label-occupied-padding = 1
|
|
||||||
label-focused-padding = 1
|
|
||||||
label-unfocused-padding = 1
|
|
||||||
label-visible-padding = 1
|
|
||||||
label-urgent = %name%
|
|
||||||
label-urgent-padding = 1
|
|
||||||
label-empty = %name%
|
|
||||||
label-empty-padding = 1
|
|
||||||
|
|
||||||
;~~~~~
|
|
||||||
; MPD
|
|
||||||
;~~~~~
|
|
||||||
[module/mpd]
|
|
||||||
type = internal/mpd
|
|
||||||
|
|
||||||
host = localhost
|
|
||||||
port = 6600
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
format-online = <label-song>
|
|
||||||
|
|
||||||
label-song = %{F#dfdfdf}%{F-}%{A1:st -e ncmpcpp &:} %artist% - %title%%{A}
|
|
||||||
label-offline = %{F#dfdfdf}%{F-} mpd is offline
|
|
||||||
|
|
||||||
icon-play =
|
|
||||||
icon-pause =
|
|
||||||
icon-stop =
|
|
||||||
icon-prev =
|
|
||||||
icon-next =
|
|
||||||
icon-seekb =
|
|
||||||
icon-seekf =
|
|
||||||
icon-random =
|
|
||||||
icon-repeat =
|
|
||||||
|
|
||||||
toggle-on-foreground = #ff
|
|
||||||
toggle-off-foreground = #55
|
|
||||||
|
|
||||||
;~~~~~~
|
|
||||||
; WiFI
|
|
||||||
;~~~~~~
|
|
||||||
[module/wireless-network]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlp8s0
|
|
||||||
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
|
||||||
format-packetloss = <animation-packetloss>
|
|
||||||
label-connected = %{A1:st -e nmtui:}%local_ip% %downspeed% %upspeed%%{A}
|
|
||||||
label-disconnected = %{A1:st -e nmtui:}%{A3:st -e nmtui:}%{F#66} disconnected%{A}%{A}
|
|
||||||
|
|
||||||
ramp-signal-0 =
|
|
||||||
ramp-signal-1 =
|
|
||||||
ramp-signal-2 =
|
|
||||||
ramp-signal-3 =
|
|
||||||
ramp-signal-4 =
|
|
||||||
ramp-signal-5 =
|
|
||||||
animation-packetloss-0 =
|
|
||||||
animation-packetloss-1 =
|
|
||||||
animation-packetloss-0-foreground = #fff
|
|
||||||
animation-packetloss-1-foreground = #000000
|
|
||||||
animation-packetloss-framerate = 500
|
|
||||||
|
|
||||||
;~~~~~~~
|
|
||||||
; clock
|
|
||||||
;~~~~~~~
|
|
||||||
[module/clock]
|
|
||||||
type = internal/date
|
|
||||||
format = <label>
|
|
||||||
interval = 2
|
|
||||||
date = %a %d %b
|
|
||||||
; 24h systefs sym2 m
|
|
||||||
;time = %R
|
|
||||||
; 12h system
|
|
||||||
time = %I:%M%p
|
|
||||||
label = %{A1:gsimplecal & disown:}%{A3:gsimplecal & disown:} %time%%{A}%{A}
|
|
||||||
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
; pulseaudio
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
[module/pulseaudio]
|
|
||||||
type = internal/pulseaudio
|
|
||||||
use-ui-max = true
|
|
||||||
|
|
||||||
label-volume = %{A3:pavucontrol & disown:}%percentage:2%%%{A}
|
|
||||||
format-volume = <ramp-volume> <label-volume>
|
|
||||||
|
|
||||||
label-muted = " muted"
|
|
||||||
ramp-volume-0 = ""
|
|
||||||
ramp-volume-1 = ""
|
|
||||||
ramp-volume-2 = ""
|
|
||||||
ramp-volume-3 = ""
|
|
||||||
|
|
||||||
;~~~~~~~
|
|
||||||
; ALSA
|
|
||||||
;~~~~~~
|
|
||||||
[module/alsa]
|
|
||||||
type = internal/alsa
|
|
||||||
master-soundcard = default
|
|
||||||
speaker-soundcard = default
|
|
||||||
headphone-soundcard = default
|
|
||||||
format-volume = <ramp-volume> <label-volume>
|
|
||||||
format-muted = <label-muted>
|
|
||||||
label-muted = " muted"
|
|
||||||
label-muted-foreground = #66
|
|
||||||
ramp-volume-0 =
|
|
||||||
ramp-volume-1 =
|
|
||||||
ramp-volume-2 =
|
|
||||||
ramp-headphones-0 =
|
|
||||||
ramp-headphones-1 =
|
|
||||||
|
|
||||||
;~~~~~~~~~
|
|
||||||
; Battery
|
|
||||||
;~~~~~~~~~
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
label-padding = 30
|
|
||||||
|
|
||||||
battery = BAT0
|
|
||||||
adapter = ADP1
|
|
||||||
full-at = 98
|
|
||||||
poll-interval = 5
|
|
||||||
bar-capacity-width = 10
|
|
||||||
time-format = %H:%M
|
|
||||||
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
|
||||||
format-full = <ramp-capacity> <label-full>
|
|
||||||
|
|
||||||
ramp-capacity-0 = " "
|
|
||||||
ramp-capacity-1 = " "
|
|
||||||
ramp-capacity-2 = ""
|
|
||||||
ramp-capacity-3 = ""
|
|
||||||
ramp-capacity-4 = ""
|
|
||||||
ramp-capacity-5 = ""
|
|
||||||
ramp-capacity-6 = ""
|
|
||||||
ramp-capacity-7 = ""
|
|
||||||
ramp-capacity-8 = ""
|
|
||||||
ramp-capacity-9 = ""
|
|
||||||
|
|
||||||
ramp-capacity-0-foreground = #fff
|
|
||||||
ramp-capacity-1-foreground = #fff
|
|
||||||
|
|
||||||
animation-charging-0 = " "
|
|
||||||
animation-charging-1 = " "
|
|
||||||
animation-charging-2 = " "
|
|
||||||
animation-charging-3 = " "
|
|
||||||
animation-charging-4 = " "
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
label-full = full
|
|
||||||
|
|
||||||
;~~~~~~~~~
|
|
||||||
; CPU use
|
|
||||||
;~~~~~~~~~
|
|
||||||
[module/coreuse]
|
|
||||||
type = internal/cpu
|
|
||||||
|
|
||||||
interval = 3
|
|
||||||
format-padding = 0
|
|
||||||
format = <label> <ramp-coreload>
|
|
||||||
label = %{A1:st -e htop -s PERCENT_CPU & disown:}%percentage:2%%%{A}
|
|
||||||
ramp-coreload-0 = ▂
|
|
||||||
ramp-coreload-1 = ▃
|
|
||||||
ramp-coreload-2 = ▄
|
|
||||||
ramp-coreload-3 = ▅
|
|
||||||
ramp-coreload-4 = ▆
|
|
||||||
ramp-coreload-5 = ▇
|
|
||||||
ramp-coreload-0-foreground = ${colors.fg}
|
|
||||||
ramp-coreload-1-foreground = ${colors.fg}
|
|
||||||
ramp-coreload-2-foreground = ${colors.fg}
|
|
||||||
ramp-coreload-3-foreground = ${colors.fg}
|
|
||||||
ramp-coreload-4-foreground = ${colors.fg}
|
|
||||||
ramp-coreload-5-foreground = ${colors.fg}
|
|
||||||
|
|
||||||
;~~~~~~~~~~~~~~~~~
|
|
||||||
; CPU Temperature
|
|
||||||
;~~~~~~~~~~~~~~~~~
|
|
||||||
[module/temperature]
|
|
||||||
type = internal/temperature
|
|
||||||
|
|
||||||
interval = 3
|
|
||||||
thermal-zone = 0
|
|
||||||
warn-temperature = 75
|
|
||||||
format = <ramp><label>
|
|
||||||
format-padding = 1
|
|
||||||
label = %{A1:st -e watch sensors & disown:} %temperature-c%%{A}
|
|
||||||
|
|
||||||
ramp-0 = ""
|
|
||||||
ramp-1 = ""
|
|
||||||
ramp-2 = ""
|
|
||||||
ramp-3 = ""
|
|
||||||
ramp-4 = ""
|
|
||||||
ramp-5 = ""
|
|
||||||
|
|
||||||
ramp-5-foreground = ${colors.fg}
|
|
||||||
format-warn = <label-warn>
|
|
||||||
label-warn = " %temperature-c%"
|
|
||||||
label-warn-padding = 1
|
|
||||||
label-warn-foreground = ${colors.fg}
|
|
||||||
|
|
||||||
;~~~~~~~~
|
|
||||||
; Memory
|
|
||||||
;~~~~~~~~
|
|
||||||
[module/memory]
|
|
||||||
type = internal/memory
|
|
||||||
|
|
||||||
interval = 3
|
|
||||||
format = <label>
|
|
||||||
label-padding = 0
|
|
||||||
label = %{A1:st -e htop -s PERCENT_MEM & disown:} %gb_used%%{A}
|
|
||||||
|
|
||||||
;~~~~~~
|
|
||||||
; Disk
|
|
||||||
;~~~~~~
|
|
||||||
[module/fsroot]
|
|
||||||
type = internal/fs
|
|
||||||
|
|
||||||
mount-0 = /
|
|
||||||
interval = 10
|
|
||||||
fixed-values = true
|
|
||||||
spacing = 2
|
|
||||||
|
|
||||||
format-mounted = <label-mounted>
|
|
||||||
format-unmounted = <label-unmounted>
|
|
||||||
label-mounted = %mountpoint%: %percentage_used%%
|
|
||||||
label-unmounted = %mountpoint%: not mounted
|
|
||||||
label-unmounted-foreground = #55
|
|
||||||
|
|
||||||
[module/fshome]
|
|
||||||
type = internal/fs
|
|
||||||
|
|
||||||
mount-0 = /home
|
|
||||||
interval = 10
|
|
||||||
fixed-values = true
|
|
||||||
spacing = 2
|
|
||||||
|
|
||||||
format-mounted = <label-mounted>
|
|
||||||
format-unmounted = <label-unmounted>
|
|
||||||
label-mounted = : %percentage_used%%
|
|
||||||
label-unmounted = %mountpoint%: not mounted
|
|
||||||
label-unmounted-foreground = #55
|
|
||||||
|
|
||||||
;~~~~~~~~~
|
|
||||||
; Updater
|
|
||||||
;~~~~~~~~~
|
|
||||||
[module/updater]
|
|
||||||
type = custom/script
|
|
||||||
|
|
||||||
exec = ~/.scripts/update-check.sh
|
|
||||||
label = %output%
|
|
||||||
click-left = ~/.scripts/updater.sh
|
|
||||||
click-right = checkupdates | dmenu -l 30
|
|
||||||
interval = 60
|
|
||||||
|
|
||||||
;~~~~~~~~~~~
|
|
||||||
; powermenu
|
|
||||||
;~~~~~~~~~~~
|
|
||||||
[module/powermenu]
|
|
||||||
type = custom/script
|
|
||||||
format-foreground = ${colors.fg}
|
|
||||||
exec = echo ""
|
|
||||||
click-left = ~/.scripts/powermenu.sh
|
|
||||||
|
|
||||||
;~~~~~
|
|
||||||
; "|"
|
|
||||||
;~~~~~
|
|
||||||
[module/sym]
|
|
||||||
type = custom/script
|
|
||||||
exec = echo " |"
|
|
||||||
|
|
||||||
[module/sym2]
|
|
||||||
type = custom/script
|
|
||||||
exec = echo " | "
|
|
||||||
|
|
||||||
[module/sym3]
|
|
||||||
type = custom/script
|
|
||||||
exec = echo "| "
|
|
||||||
|
|
||||||
[module/sym4]
|
|
||||||
type = custom/script
|
|
||||||
exec = echo "|"
|
|
||||||
|
|
||||||
[module/sym5]
|
|
||||||
type = custom/script
|
|
||||||
exec = echo " "
|
|
||||||
|
|
||||||
; vim:ft=dosini
|
|
@ -1,107 +0,0 @@
|
|||||||
# _ _ _
|
|
||||||
# _____ _| |__ | | ____| |
|
|
||||||
# / __\ \/ / '_ \| |/ / _` |
|
|
||||||
# \__ \> <| | | | < (_| |
|
|
||||||
# |___/_/\_\_| |_|_|\_\__,_|
|
|
||||||
#
|
|
||||||
# config for pc
|
|
||||||
|
|
||||||
#~~~~~~
|
|
||||||
# APPS
|
|
||||||
#~~~~~~
|
|
||||||
# qutebrowser
|
|
||||||
super + b
|
|
||||||
qutebrowser
|
|
||||||
# st
|
|
||||||
super + Return
|
|
||||||
st
|
|
||||||
# vifm
|
|
||||||
super + r
|
|
||||||
st -e vifm
|
|
||||||
# rofi
|
|
||||||
super + d
|
|
||||||
rofi -show drun
|
|
||||||
# screenshot
|
|
||||||
Print
|
|
||||||
$HOME/.scripts/screenshot.sh
|
|
||||||
# neomutt
|
|
||||||
XF86Mail
|
|
||||||
st -e neomutt
|
|
||||||
# bc
|
|
||||||
XF86Calculator
|
|
||||||
st -e bc
|
|
||||||
# passworder
|
|
||||||
super + p
|
|
||||||
$HOME/.scripts/rofi-keepassxc/rofi-keepassxc
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
# WM CONTROL
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
# Reload configs & autostart apps
|
|
||||||
super + Escape
|
|
||||||
bspc wm -r
|
|
||||||
# Kill app
|
|
||||||
super + {_,shift + }q
|
|
||||||
bspc node -{c,k}
|
|
||||||
# Set the window state
|
|
||||||
super + {t,shift + t,s,f}
|
|
||||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
|
||||||
# Focus the node in the given direction
|
|
||||||
super + {_,shift + }{h,j,k,l}
|
|
||||||
bspc node -{f,s} {west,south,north,east}
|
|
||||||
# Focus the next/previous node in the current desktop
|
|
||||||
super + {_,shift + }c
|
|
||||||
bspc node -f {next,prev}.local
|
|
||||||
# Focus the next/previous desktop in the current monitor
|
|
||||||
super + bracket{left,right}
|
|
||||||
bspc desktop -f {prev,next}.local
|
|
||||||
# Focus the last node/desktop
|
|
||||||
super + {grave,Tab}
|
|
||||||
bspc {node,desktop} -f last
|
|
||||||
# Focus the older or newer node in the focus history
|
|
||||||
super + {o,i}
|
|
||||||
bspc wm -h off; \
|
|
||||||
bspc node {older,newer} -f; \
|
|
||||||
bspc wm -h on
|
|
||||||
# Focus or send to the given desktop
|
|
||||||
super + {_,shift + }{1-9,0}
|
|
||||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
|
||||||
# Preselect the ratio
|
|
||||||
super + ctrl + {1-9}
|
|
||||||
bspc node -o 0.{1-9}
|
|
||||||
# Cancel the preselection for the focused node
|
|
||||||
super + ctrl + space
|
|
||||||
bspc node -p cancel
|
|
||||||
# Cancel the preselection for the focused desktop
|
|
||||||
super + ctrl + shift + space
|
|
||||||
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
|
||||||
# Expand a window by moving one of its side outward
|
|
||||||
super + alt + {h,j,k,l}
|
|
||||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
|
||||||
# Contract a window by moving one of its side inward
|
|
||||||
super + ctrl + {h,j,k,l}
|
|
||||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
|
||||||
# Move a floating window
|
|
||||||
super + {Left,Down,Up,Right}
|
|
||||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
|
||||||
|
|
||||||
#~~~~~~~
|
|
||||||
# AUDIO
|
|
||||||
#~~~~~~~
|
|
||||||
# Mute
|
|
||||||
XF86AudioMute
|
|
||||||
amixer sset Master toggle
|
|
||||||
# Volume control
|
|
||||||
XF86Audio{Raise,Lower}Volume
|
|
||||||
amixer sset Master 5%{+,-}
|
|
||||||
# Songs control
|
|
||||||
XF86Audio{Next,Prev}
|
|
||||||
mpc {next,prev}
|
|
||||||
# Pause/play
|
|
||||||
XF86AudioPlay
|
|
||||||
mpc toggle
|
|
||||||
# Open ncmpcpp
|
|
||||||
XF86Tools
|
|
||||||
st -e ncmpcpp
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user