18 changed files with 279 additions and 168 deletions
-
10.Xresources
-
103.config/i3/config
-
32.config/kitty/kitty.conf
-
109.config/sway/config
-
4.gitconfig
-
0.gtkrc-2.0
-
36.i3blocks.conf
-
2.local/rofi/config
-
21.profile
-
7.spacemacs
-
4.zlogin
-
1.zprofile
-
63.zshrc
-
15checkbatt.sh
-
2etc_udev_rules.d/backlight.rules
-
22inactive-windows-transparency.py
-
7init.sh
-
9povezi.sh
@ -0,0 +1,32 @@ |
|||
font_family Fira Code Medium |
|||
bold_font auto |
|||
italic_font auto |
|||
bold_italic_font auto |
|||
font_size 11.0 |
|||
|
|||
|
|||
foreground #839496 |
|||
background #002b36 |
|||
background_opacity 0.9 |
|||
|
|||
color0 #073642 |
|||
color1 #dc322f |
|||
color2 #859900 |
|||
color3 #b58900 |
|||
color4 #268bd2 |
|||
color5 #d33682 |
|||
color6 #2aa198 |
|||
color7 #eee8d5 |
|||
color8 #002b36 |
|||
color9 #cb4b16 |
|||
color10 #586e75 |
|||
color11 #657b83 |
|||
color12 #839496 |
|||
color13 #6c71c4 |
|||
color14 #93a1a1 |
|||
color15 #fdf6e3 |
|||
|
|||
window_padding_width 2 |
|||
|
|||
touch_scroll_multiplier 10.0 |
|||
strip_trailing_spaces smart |
@ -1 +1,2 @@ |
|||
[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile' |
|||
. ~/.zshrc |
@ -0,0 +1,15 @@ |
|||
#!/bin/bash |
|||
|
|||
praznim=$(acpi -b | grep Discharging) |
|||
lvl=$(acpi -b | sed -e 's/[,%\s]//g' | awk '{s+=$4} END {printf "%.0f", s/2}') |
|||
|
|||
nizka=7 |
|||
kriticna=3 |
|||
|
|||
if [[ $praznim ]]; then |
|||
if [[ $lvl -lt $kriticna ]]; then |
|||
systemctl suspend |
|||
elif [[ $lvl -lt $nizka ]]; then |
|||
notify-send -u critical -i /usr/share/icons/gnome/32x32/status/battery-low.png "BATERIJA NISKA: $lvl%" |
|||
fi |
|||
fi |
@ -0,0 +1,2 @@ |
|||
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness" |
|||
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness" |
@ -0,0 +1,22 @@ |
|||
#!/usr/bin/python3 |
|||
|
|||
import i3ipc |
|||
|
|||
ipc = i3ipc.Connection() |
|||
prev_focused = None |
|||
|
|||
for window in ipc.get_tree(): |
|||
if window.focused: |
|||
prev_focused = window |
|||
else: |
|||
window.command('opacity 0.8') |
|||
|
|||
def on_window_focus(ipc, focused): |
|||
global prev_focused |
|||
if focused.container.id != prev_focused.id: # https://github.com/swaywm/sway/issues/2859 |
|||
focused.container.command('opacity 1') |
|||
prev_focused.command('opacity 0.8') |
|||
prev_focused = focused.container |
|||
|
|||
ipc.on("window::focus", on_window_focus) |
|||
ipc.main() |
@ -0,0 +1,7 @@ |
|||
#!/bin/sh |
|||
|
|||
# Instaliraj vim plug! |
|||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
|||
|
|||
# Instaliraj spacemacs! |
|||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d |
Write
Preview
Loading…
Cancel
Save
Reference in new issue