Compare commits
4 Commits
0999e19e15
...
d8ac39f7b4
Author | SHA1 | Date |
---|---|---|
Jurij Podgoršek | d8ac39f7b4 | |
Jurij Podgoršek | 52a7a06def | |
Jurij Podgoršek | 0b11859ca3 | |
Jurij Podgoršek | 46ad6f3449 |
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#simple Shellscript for i3blocks on Pinebook pro
|
||||||
|
#05012020 geri123@gmx.net Gerhard S.
|
||||||
|
#battery-symbols: on Manjaro you need the awesome-terminal-fonts package installed!
|
||||||
|
PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity)
|
||||||
|
STATUS=$(cat /sys/class/power_supply/cw2015-battery/status)
|
||||||
|
case $((
|
||||||
|
$PERCENT >= 0 && $PERCENT <= 20 ? 1 :
|
||||||
|
$PERCENT > 20 && $PERCENT <= 40 ? 2 :
|
||||||
|
$PERCENT > 40 && $PERCENT <= 60 ? 3 :
|
||||||
|
$PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in
|
||||||
|
#
|
||||||
|
(1) echo $STATUS "" $PERCENT%;;
|
||||||
|
(2) echo $STATUS "" $PERCENT%;;
|
||||||
|
(3) echo $STATUS "" $PERCENT%;;
|
||||||
|
(4) echo $STATUS "" $PERCENT%;;
|
||||||
|
(5) echo $STATUS "" $PERCENT%;;
|
||||||
|
esac
|
|
@ -12,15 +12,15 @@
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# DPI scaling
|
# DPI scaling
|
||||||
exec xrandr --dpi 166
|
#exec xrandr --dpi 210
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
#font pango:monospace 8
|
#font pango:monospace 8
|
||||||
#font pango:Fira Code 10
|
font pango:Fira Code 10
|
||||||
#font pango:Cantarell 10
|
#font pango:Cantarell 10
|
||||||
#font pango:Fira Mono, Icons 9
|
#font pango:Fira Mono, Icons 9
|
||||||
font pango:Iosevka Medium 8
|
#font pango:Iosevka Medium 8
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
|
@ -145,7 +145,10 @@ assign [class="Riot"] $w4
|
||||||
assign [class="Lollypop"] $w7
|
assign [class="Lollypop"] $w7
|
||||||
|
|
||||||
# Program startup
|
# Program startup
|
||||||
exec thunderbird &
|
#exec thunderbird &
|
||||||
|
#exec revolt &
|
||||||
|
#exec riot-web &
|
||||||
|
#exec pidgin &
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
@ -183,9 +186,9 @@ mode "resize" {
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# External monitor
|
# External monitor
|
||||||
set $restart_compton (killall compton && compton -b) || compton -b
|
#set $restart_compton (killall compton && compton -b) || compton -b
|
||||||
bindsym $mod+p exec xrandr --output HDMI-1 --auto --right-of eDP-1 && $set_bg && $restart_compton
|
#bindsym $mod+p exec xrandr --output HDMI-1 --auto --right-of eDP-1 && $set_bg && $restart_compton
|
||||||
bindsym $mod+Shift+p exec xrandr --output HDMI-1 --off && $restart_compton
|
#bindsym $mod+Shift+p exec xrandr --output HDMI-1 --off && $restart_compton
|
||||||
|
|
||||||
# Lock screen
|
# Lock screen
|
||||||
bindsym $mod+shift+b exec i3lock-next
|
bindsym $mod+shift+b exec i3lock-next
|
||||||
|
@ -228,28 +231,30 @@ exec --no-startup-id xinput set-prop "Elan Touchpad" "libinput Tapping Enabled"
|
||||||
# Touchpad natural scrolling
|
# Touchpad natural scrolling
|
||||||
exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
|
exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
|
||||||
exec --no-startup-id xinput set-prop "Elan Touchpad" "libinput Natural Scrolling Enabled" 1
|
exec --no-startup-id xinput set-prop "Elan Touchpad" "libinput Natural Scrolling Enabled" 1
|
||||||
|
exec --no-startup-id xinput set-prop 'HAILUCK CO.,LTD USB KEYBOARD Touchpad' 'libinput Natural Scrolling Enabled' 1
|
||||||
|
|
||||||
|
|
||||||
# Cursor acceleration
|
# Cursor acceleration
|
||||||
exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.456
|
exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.456
|
||||||
|
exec --no-startup-id xinput set-prop 'HAILUCK CO.,LTD USB KEYBOARD Touchpad' 'libinput Accel Speed' 0.6
|
||||||
|
|
||||||
# Autolock
|
# Autolock
|
||||||
#exec --no-startup-id xautolock -time 10 -locker 'i3lock-next' &
|
#exec --no-startup-id xautolock -time 10 -locker 'i3lock-next' &
|
||||||
|
|
||||||
# Transparency
|
# Transparency
|
||||||
exec --no-startup-id compton --unredir-if-possible -b
|
#exec --no-startup-id compton --unredir-if-possible -b
|
||||||
|
|
||||||
# Redshift (hello sleep)
|
# Redshift (hello sleep)
|
||||||
exec redshift-gtk &
|
exec redshift-gtk &
|
||||||
|
|
||||||
# Background
|
# Background
|
||||||
set $set_bg feh --bg-fill ~/Pictures/wlp.jpg
|
set $set_bg feh --bg-fill ~/Slike/Wallpapers/neka_trava.jpg
|
||||||
exec --no-startup-id $set_bg &
|
#exec --no-startup-id $set_bg &
|
||||||
|
|
||||||
# Network manager applet
|
# Network manager applet
|
||||||
exec nm-applet &
|
exec nm-applet &
|
||||||
|
|
||||||
# Keyboard layout, caps lock as compose key
|
# Keyboard layout, caps lock as compose key
|
||||||
#exec_always --no-startup-id "setxkbmap -layout us,si -option grp:lctrl_lwin_toggle -option compose:caps"
|
|
||||||
exec_always --no-startup-id "setxkbmap -layout us,si -option grp:win_space_toggle -option compose:caps"
|
exec_always --no-startup-id "setxkbmap -layout us,si -option grp:win_space_toggle -option compose:caps"
|
||||||
|
|
||||||
# gaps between windows
|
# gaps between windows
|
||||||
|
@ -286,7 +291,8 @@ bindsym XF86AudioMute exec "pamixer -t && $vol_sig_cmd"
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
#bindsym $mod+Return exec i3-sensible-terminal
|
#bindsym $mod+Return exec i3-sensible-terminal
|
||||||
bindsym $mod+Return exec "termite -t konz0l"
|
bindsym $mod+Return exec gnome-terminal
|
||||||
|
#bindsym $mod+Return exec "termite -t konz0l"
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
@ -300,8 +306,10 @@ bindsym $mod+d exec --no-startup-id "rofi -combi-modi window,drun -show combi -m
|
||||||
|
|
||||||
# Screen brightness
|
# Screen brightness
|
||||||
set $brt_sig_cmd pkill -RTMIN+5 i3blocks
|
set $brt_sig_cmd pkill -RTMIN+5 i3blocks
|
||||||
bindsym XF86MonBrightnessUp exec "xbacklight -inc 8.333 -time 222 -steps 5 && $brt_sig_cmd"
|
#bindsym XF86MonBrightnessUp exec "xbacklight -inc 8.333 -time 222 -steps 5 && $brt_sig_cmd"
|
||||||
bindsym XF86MonBrightnessDown exec "xbacklight -dec 8.333 -time 222 -steps 5 && $brt_sig_cmd"
|
#bindsym XF86MonBrightnessDown exec "xbacklight -dec 8.333 -time 222 -steps 5 && $brt_sig_cmd"
|
||||||
|
bindsym XF86MonBrightnessUp exec "/home/g1smo/bin/lcd_bright.sh U 200 && $brt_sig_cmd"
|
||||||
|
bindsym XF86MonBrightnessDown exec "/home/g1smo/bin/lcd_bright.sh D 200 && $brt_sig_cmd"
|
||||||
|
|
||||||
# File manager
|
# File manager
|
||||||
bindsym Mod1+Shift+q exec nautilus
|
bindsym Mod1+Shift+q exec nautilus
|
||||||
|
@ -319,3 +327,18 @@ bindsym 0xff61 exec gnome-screenshot -i
|
||||||
|
|
||||||
# Keyring related
|
# Keyring related
|
||||||
exec --no-startup-id /usr/share/gnome-settings-daemon
|
exec --no-startup-id /usr/share/gnome-settings-daemon
|
||||||
|
|
||||||
|
# Pulseaudio zagon
|
||||||
|
#exec --no-startup-id /usr/bin/pulseaudio -D
|
||||||
|
|
||||||
|
# JACK audio baby
|
||||||
|
#exec qjackctl
|
||||||
|
|
||||||
|
# Polybar
|
||||||
|
#exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||||
|
|
||||||
|
# Signal chat ane
|
||||||
|
#exec /usr/bin/signal-desktop
|
||||||
|
|
||||||
|
# autotajling
|
||||||
|
#exec --no-startup-id autotiling
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
font_family Fira Code Medium
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
font_size 7.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
|
|
@ -11,9 +11,10 @@ set $altright ccaron
|
||||||
|
|
||||||
# Terminal
|
# Terminal
|
||||||
set $term termite
|
set $term termite
|
||||||
|
#set $term PAN_MESA_DEBUG=gl3 kitty
|
||||||
|
|
||||||
# Font
|
# Font
|
||||||
font pango:Iosevka Medium 10
|
font pango:Iosevka Medium 11
|
||||||
|
|
||||||
# Launcher
|
# Launcher
|
||||||
set $menu "rofi -combi-modi window,drun -show combi -modi combi -config ~/.local/rofi/config"
|
set $menu "rofi -combi-modi window,drun -show combi -modi combi -config ~/.local/rofi/config"
|
||||||
|
@ -21,8 +22,8 @@ set $menu "rofi -combi-modi window,drun -show combi -modi combi -config ~/.local
|
||||||
#set $menu compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec
|
#set $menu compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec
|
||||||
|
|
||||||
#output eDP-1 resolution 2440x1440 scale 2
|
#output eDP-1 resolution 2440x1440 scale 2
|
||||||
output eDP-1 resolution 1920x1080 scale 1
|
output eDP-1 resolution 1920x1080 scale 1.25
|
||||||
output "*" background ~/Pictures/wlp.jpg fill
|
output "*" background ~/Slike/wlp.jpg fill
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
@ -76,16 +77,16 @@ bindsym $mod+d exec $menu
|
||||||
#
|
#
|
||||||
|
|
||||||
# name workspaces
|
# name workspaces
|
||||||
set $w1 1:λ
|
set $w0 0:λ
|
||||||
set $w2 2:
|
set $w1 1:
|
||||||
set $w3 3:
|
set $w2 2:
|
||||||
|
set $w3 3:
|
||||||
set $w4 4:
|
set $w4 4:
|
||||||
set $w5 5:✡
|
set $w5 5:✡
|
||||||
set $w6 6:
|
set $w6 6:
|
||||||
set $w7 7:✭❀ヅ❤♫
|
set $w7 7:
|
||||||
set $w8 8:☭
|
set $w8 8:☭
|
||||||
set $w9 9:
|
set $w9 9:
|
||||||
set $w0 0:∞
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace $w1
|
bindsym $mod+1 workspace $w1
|
||||||
|
@ -99,7 +100,6 @@ bindsym $mod+8 workspace $w8
|
||||||
bindsym $mod+9 workspace $w9
|
bindsym $mod+9 workspace $w9
|
||||||
bindsym $mod+0 workspace $w0
|
bindsym $mod+0 workspace $w0
|
||||||
|
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace $w1
|
bindsym $mod+Shift+1 move container to workspace $w1
|
||||||
bindsym $mod+Shift+2 move container to workspace $w2
|
bindsym $mod+Shift+2 move container to workspace $w2
|
||||||
|
@ -118,6 +118,9 @@ bindsym Mod1+Shift+colon move workspace to output right
|
||||||
bindsym Mod1+Shift+ccaron move workspace to output right
|
bindsym Mod1+Shift+ccaron move workspace to output right
|
||||||
bindsym Mod1+Shift+j move workspace to output left
|
bindsym Mod1+Shift+j move workspace to output left
|
||||||
|
|
||||||
|
# Back and forth between workspaces
|
||||||
|
bindsym Mod1+Tab workspace back_and_forth
|
||||||
|
|
||||||
# workspace bindings
|
# workspace bindings
|
||||||
assign [class="Firefox"] $w2
|
assign [class="Firefox"] $w2
|
||||||
assign [class="Gnote"] $w9
|
assign [class="Gnote"] $w9
|
||||||
|
@ -139,7 +142,7 @@ assign [class="Nicotine+"] $w3
|
||||||
# You can "split" the current object of your focus with
|
# You can "split" the current object of your focus with
|
||||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
# respectively.
|
# respectively.
|
||||||
bindsym $mod+b splith
|
bindsym $mod+h splith
|
||||||
bindsym $mod+v splitv
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
# Switch the current container between different layout styles
|
# Switch the current container between different layout styles
|
||||||
|
@ -201,7 +204,7 @@ bindsym $mod+r mode "resize"
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
status_command i3blocks
|
status_command i3status
|
||||||
colors {
|
colors {
|
||||||
background #232323
|
background #232323
|
||||||
statusline #DCDCDC
|
statusline #DCDCDC
|
||||||
|
@ -209,9 +212,9 @@ bar {
|
||||||
focused_workspace #555555 #555555 #ffffff
|
focused_workspace #555555 #555555 #ffffff
|
||||||
inactive_workspace #232323 #232323 #888888
|
inactive_workspace #232323 #232323 #888888
|
||||||
}
|
}
|
||||||
font pango:FontAwesome Regular 9, Iosevka Medium 9
|
font pango:FontAwesome Regular 11, Iosevka Medium 11
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
height 18
|
height 22
|
||||||
#tray_padding 2
|
#tray_padding 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -232,3 +235,18 @@ for_window [class="^.*"] border pixel 2
|
||||||
|
|
||||||
# Mouse focus
|
# Mouse focus
|
||||||
focus_follows_mouse yes
|
focus_follows_mouse yes
|
||||||
|
|
||||||
|
input "9610:30:Pine64_Pinebook_Pro_Touchpad" {
|
||||||
|
tap enabled
|
||||||
|
natural_scroll enabled
|
||||||
|
drag enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
# Brez titlebara pls
|
||||||
|
default_border none
|
||||||
|
|
||||||
|
# opacity na neaktivna okna
|
||||||
|
exec_always --no-startup-id ~/bin/inactive-windows-transparency.py
|
||||||
|
|
||||||
|
# avtomatski layout
|
||||||
|
exec_always --no-startup-id i3-auto-layout
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[options]
|
[options]
|
||||||
font = Fira Mono Medium 8
|
font = Fira Mono Medium 12
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
#!!##############################################
|
#!!##############################################
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[user]
|
||||||
|
email = jurij@kompot.si
|
||||||
|
name = Jurij P
|
|
@ -42,7 +42,7 @@ separator_block_width=15
|
||||||
[brightness]
|
[brightness]
|
||||||
label=
|
label=
|
||||||
color=#F8FF05
|
color=#F8FF05
|
||||||
command=echo -n "$label $(xbacklight -get)%"
|
command=/home/g1smo/bin/lcd_bright.sh
|
||||||
interval=once
|
interval=once
|
||||||
signal=5
|
signal=5
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ interval=persist
|
||||||
#label=MEM
|
#label=MEM
|
||||||
label=
|
label=
|
||||||
color=#A85FFF
|
color=#A85FFF
|
||||||
command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/memory/memory | sed -r 's/ \(.+//'
|
command=/home/g1smo/Sredstva/i3blocks-contrib/memory/memory | sed -r 's/ \(.+//'
|
||||||
interval=10
|
interval=10
|
||||||
|
|
||||||
#[memory]
|
#[memory]
|
||||||
|
@ -76,7 +76,7 @@ interval=10
|
||||||
#label=HOME
|
#label=HOME
|
||||||
label=
|
label=
|
||||||
color=#AAAAAA
|
color=#AAAAAA
|
||||||
command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/disk/disk
|
command=/home/g1smo/Sredstva/i3blocks-contrib/disk/disk
|
||||||
#instance=/mnt/data
|
#instance=/mnt/data
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ instance=wlp2s0
|
||||||
interval=10
|
interval=10
|
||||||
label=
|
label=
|
||||||
color=#11DD00
|
color=#11DD00
|
||||||
command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/wifi/wifi
|
command=/home/g1smo/Sredstva/i3blocks-contrib/wifi/wifi
|
||||||
#separator=false
|
#separator=false
|
||||||
|
|
||||||
#[bandwidth]
|
#[bandwidth]
|
||||||
|
@ -112,7 +112,7 @@ command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/wifi/wifi
|
||||||
#label=
|
#label=
|
||||||
label=
|
label=
|
||||||
#command=/home/g1smo/Sredstva/i3blocks-contrib/cpu_usage/cpu_usage | sed -r 's/^([0-9])\./\ \1\./'
|
#command=/home/g1smo/Sredstva/i3blocks-contrib/cpu_usage/cpu_usage | sed -r 's/^([0-9])\./\ \1\./'
|
||||||
command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/cpu_usage/cpu_usage -d 1
|
command=/home/g1smo/Sredstva/i3blocks-contrib/cpu_usage/cpu_usage -d 1
|
||||||
color=#FA0009
|
color=#FA0009
|
||||||
interval=1
|
interval=1
|
||||||
align=right
|
align=right
|
||||||
|
@ -124,13 +124,13 @@ min_width= 99.0%
|
||||||
label=
|
label=
|
||||||
color=#70E2FF
|
color=#70E2FF
|
||||||
interval=3
|
interval=3
|
||||||
command=echo -n "$label ";/home/g1smo/Sredstva/i3blocks-contrib/load_average/load_average
|
command=/home/g1smo/Sredstva/i3blocks-contrib/load_average/load_average
|
||||||
|
|
||||||
[key_layout]
|
[key_layout]
|
||||||
label=⌨
|
label=⌨
|
||||||
interval=5
|
interval=5
|
||||||
#command="/home/h1smo/Sredstva/i3blocks-contrib/key_layout/key_layout"
|
#command="/home/h1smo/Sredstva/i3blocks-contrib/key_layout/key_layout"
|
||||||
command=echo -n "$label ";xkb-switch
|
command=xkb-switch
|
||||||
#interval=persist
|
#interval=persist
|
||||||
#command="/home/h1smo/Sredstva/i3blocks-contrib/kbdd_layout/kbdd_layout"
|
#command="/home/h1smo/Sredstva/i3blocks-contrib/kbdd_layout/kbdd_layout"
|
||||||
|
|
||||||
|
@ -139,14 +139,14 @@ command=echo -n "$label ";xkb-switch
|
||||||
#label=⚡
|
#label=⚡
|
||||||
#instance=1
|
#instance=1
|
||||||
#command=count=$(acpi -b | wc -l); sum=$(acpi -b | egrep -o '[0-9]{1,3}%' | tr -d '%' | xargs -I% echo -n '+%'); echo '' $(( sum / count ))%
|
#command=count=$(acpi -b | wc -l); sum=$(acpi -b | egrep -o '[0-9]{1,3}%' | tr -d '%' | xargs -I% echo -n '+%'); echo '' $(( sum / count ))%
|
||||||
command="/home/g1smo/Sredstva/i3blocks-contrib/battery2/battery2"
|
command="/home/g1smo/Sredstva/dotfiles/.config/i3/battery_stat.sh"
|
||||||
interval=30
|
interval=30
|
||||||
markup=pango
|
markup=pango
|
||||||
|
|
||||||
[date]
|
[date]
|
||||||
label=
|
label=
|
||||||
color=#ffffff
|
color=#ffffff
|
||||||
command=echo -n "$label ";date '+%a %d %b'
|
command=date '+%a %d %b'
|
||||||
#command=/home/g1smo/Sredstva/i3blocks-contrib/rofi-calendar/rofi-calendar
|
#command=/home/g1smo/Sredstva/i3blocks-contrib/rofi-calendar/rofi-calendar
|
||||||
interval=5
|
interval=5
|
||||||
separator=false
|
separator=false
|
||||||
|
@ -155,7 +155,7 @@ separator=false
|
||||||
#command=date '+%Y-%m-%d %H:%M:%S'
|
#command=date '+%Y-%m-%d %H:%M:%S'
|
||||||
label=
|
label=
|
||||||
color=#ffffff
|
color=#ffffff
|
||||||
command=echo -n "$label ";date '+%H:%M'
|
command=date '+%H:%M'
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
[shutdown]
|
[shutdown]
|
||||||
|
|
|
@ -3,5 +3,5 @@ rofi.color-urgent: #002d303b, #cc6666, #e52d303b, #a54242, #f9f9f9
|
||||||
rofi.color-active: #002d303b, #b5bd68, #e42d303b, #8c9440, #f9f9f9
|
rofi.color-active: #002d303b, #b5bd68, #e42d303b, #8c9440, #f9f9f9
|
||||||
rofi.color-window: #f22d303b, #7c8389, #1d1f21
|
rofi.color-window: #f22d303b, #7c8389, #1d1f21
|
||||||
rofi.separator-style: solid
|
rofi.separator-style: solid
|
||||||
rofi.font: terminus 13
|
rofi.font: terminus 12
|
||||||
|
|
||||||
|
|
18
.spacemacs
18
.spacemacs
|
@ -252,7 +252,7 @@ It should only modify the values of Spacemacs settings."
|
||||||
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
||||||
;; quickly tweak the mode-line size to make separators look not too crappy.
|
;; quickly tweak the mode-line size to make separators look not too crappy.
|
||||||
dotspacemacs-default-font '("Iosevka Medium"
|
dotspacemacs-default-font '("Iosevka Medium"
|
||||||
:size 19
|
:size 13
|
||||||
:weight bold
|
:weight bold
|
||||||
:width normal
|
:width normal
|
||||||
:powerline-scale 1.1)
|
:powerline-scale 1.1)
|
||||||
|
@ -535,6 +535,9 @@ before packages are loaded."
|
||||||
(use-package all-the-icons)
|
(use-package all-the-icons)
|
||||||
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
||||||
|
|
||||||
|
;; Fix for startup issue?
|
||||||
|
(setq projectile-git-submodule-command nil)
|
||||||
|
|
||||||
;; Also in dired
|
;; Also in dired
|
||||||
(use-package all-the-icons-dired)
|
(use-package all-the-icons-dired)
|
||||||
|
|
||||||
|
@ -615,3 +618,16 @@ This function is called at the very end of Spacemacs initialization."
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(package-selected-packages
|
||||||
|
'(zenburn-theme yapfify yaml-mode ws-butler winum which-key wgrep web-mode web-beautify vue-mode ssass-mode vue-html-mode volatile-highlights vmd-mode vi-tilde-fringe uuidgen use-package undo-tree toc-org tidal tao-theme tagedit suscolors-theme sql-indent spaceline powerline solarized-theme smex smeargle slim-mode scss-mode sass-mode rvm rudel ruby-tools ruby-test-mode rubocop rspec-mode robe rjsx-mode restart-emacs request rbenv rake rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements phpunit php-extras persp-mode pcre2el paradox orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-plus-contrib org-mime org-download org-bullets open-junk-file ob-restclient ob-http nginx-mode neotree move-text mmm-mode minitest markdown-toc markdown-mode magit-gitflow magit magit-section macrostep lorem-ipsum livid-mode skewer-mode simple-httpd live-py-mode linum-relative link-hint js2-refactor js2-mode js-doc ivy-hydra indent-guide hy-mode hungry-delete htmlize hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-make haskell-mode haml-mode guix edit-indirect magit-popup bui google-translate golden-ratio gnuplot git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter git-commit with-editor gh-md geiser fuzzy flycheck-pos-tip pos-tip flycheck flx-ido flx floobits fireplace fill-column-indicator fancy-battery eyebrowse extempore-mode expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg emmet-mode elisp-slime-nav editorconfig dumb-jump drupal-mode php-mode dockerfile-mode docker transient tablist json-mode docker-tramp json-snatcher diminish diff-hl define-word dakrone-light-theme cython-mode counsel-projectile projectile counsel swiper ivy company-web web-completion-data company-statistics company-restclient restclient know-your-http-well company-auctex company-anaconda company column-enforce-mode coffee-mode clojure-snippets clj-refactor hydra inflections multiple-cursors paredit lv clean-aindent-mode cider-eval-sexp-fu eval-sexp-fu cider sesman seq spinner queue pkg-info parseedn clojure-mode parseclj epl chruby bundler inf-ruby bind-map bind-key auto-yasnippet yasnippet auto-highlight-symbol ht auto-compile packed auctex async anaconda-mode pythonic f s all-the-icons-dired all-the-icons aggressive-indent adaptive-wrap ace-window ace-link avy ac-ispell auto-complete popup gruvbox-theme)))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
|
61
.zshrc
61
.zshrc
|
@ -17,10 +17,11 @@ autoload colors zsh/terminfo
|
||||||
colors
|
colors
|
||||||
# PATH additions
|
# PATH additions
|
||||||
export GOPATH=~/Sredstva/go
|
export GOPATH=~/Sredstva/go
|
||||||
export PATH="/home/g1smo/bin:/home/g1smo/.gem/ruby/2.5.0/bin:$GOPATH/bin:$PATH"
|
export PATH="/home/g1smo/bin:/home/g1smo/.cargo/bin:$GOPATH/bin:$PATH"
|
||||||
|
|
||||||
# Default term (i3)
|
# Default term (i3)
|
||||||
export TERMINAL="termite"
|
#export TERMINAL="termite"
|
||||||
|
export TERMINAL="kitty"
|
||||||
export TERM="xterm-256color"
|
export TERM="xterm-256color"
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
|
@ -42,7 +43,6 @@ PROMPT='%n@%m %1~ %{$fg[green]%}${vcs_info_msg_0_}%{$fg[blue]%}» %{$reset_color
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
#alias vim='TERM=xterm-256color vim'
|
#alias vim='TERM=xterm-256color vim'
|
||||||
alias vi='vim'
|
alias vi='vim'
|
||||||
alias apachelog="gnome-terminal -e \"tail -f /var/log/httpd/error_log\""
|
|
||||||
alias sudo="sudo "
|
alias sudo="sudo "
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
# Remove not-required-anymore packages
|
# Remove not-required-anymore packages
|
||||||
|
@ -93,8 +93,8 @@ export PHANTOMJS_BIN=/usr/bin/phantomjs
|
||||||
export GUILE_WARN_DEPRECATED="detailed"
|
export GUILE_WARN_DEPRECATED="detailed"
|
||||||
|
|
||||||
# Guix guile things
|
# Guix guile things
|
||||||
export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
|
#export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
|
||||||
export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
|
#export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
|
||||||
|
|
||||||
# Java fix?
|
# Java fix?
|
||||||
export NLS_LANG=American_America.UTF8
|
export NLS_LANG=American_America.UTF8
|
||||||
|
@ -108,18 +108,55 @@ export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
|
||||||
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
||||||
|
|
||||||
# Chrome scaling
|
# Chrome scaling
|
||||||
export CHROMIUM_FLAGS="--force-device-scale-factor=2"
|
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS \
|
||||||
|
--disable-low-res-tiling
|
||||||
|
--num-raster-threads=6 \
|
||||||
|
--profiler-timing=0 \
|
||||||
|
--disable-composited-antialiasing \
|
||||||
|
--test-type \
|
||||||
|
--show-component-extension-options \
|
||||||
|
--ignore-gpu-blacklist \
|
||||||
|
--use-gl=egl \
|
||||||
|
--ppapi-flash-path=/usr/lib/chromium-browser/pepper/libpepflashplayer.so \
|
||||||
|
--ppapi-flash-version=32.0.0.255 \
|
||||||
|
--enable-pinch \
|
||||||
|
--flag-switches-begin \
|
||||||
|
--enable-gpu-rasterization \
|
||||||
|
--enable-oop-rasterization \
|
||||||
|
--flag-switches-end"
|
||||||
|
|
||||||
# Guix!
|
# Guix!
|
||||||
export GUIX_PROFILE="$HOME/.guix-profile"
|
#export GUIX_PROFILE="$HOME/.guix-profile"
|
||||||
#export GUIX_PROFILE="$HOME/.config/guix/current"
|
#export GUIX_PROFILE="$HOME/.config/guix/current"
|
||||||
export GUIX_PROFILE_FILE="$GUIX_PROFILE/etc/profile"
|
#export GUIX_PROFILE_FILE="$GUIX_PROFILE/etc/profile"
|
||||||
[ -e $GUIX_PROFILE_FILE ] && source $GUIX_PROFILE_FILE
|
#[ -e $GUIX_PROFILE_FILE ] && source $GUIX_PROFILE_FILE
|
||||||
export GUIX_PACKAGE_PATH="$HOME/Projects/guix-packages"
|
#export GUIX_PACKAGE_PATH="$HOME/Projects/guix-packages"
|
||||||
export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
|
#export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
|
||||||
#export PATH="/home/g1smo/.config/guix/current/bin${PATH:+:}$PATH"
|
#export PATH="/home/g1smo/.config/guix/current/bin${PATH:+:}$PATH"
|
||||||
export PATH="/home/g1smo/.guix-profile/bin${PATH:+:}$PATH"
|
#export PATH="/home/g1smo/.guix-profile/bin${PATH:+:}$PATH"
|
||||||
#export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
|
#export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
|
||||||
#export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt"
|
#export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt"
|
||||||
#export GIT_SSL_CAINFO="$SSL_CERT_FILE"
|
#export GIT_SSL_CAINFO="$SSL_CERT_FILE"
|
||||||
#export CURL_CA_BUNDLE="$SSL_CERT_FILE"
|
#export CURL_CA_BUNDLE="$SSL_CERT_FILE"
|
||||||
|
|
||||||
|
# Mozilla webrender
|
||||||
|
export MOZ_WEBRENDER=1
|
||||||
|
# Wayland native firefox
|
||||||
|
#export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
# Layout tipkovnice
|
||||||
|
export XKB_DEFAULT_LAYOUT=us,si
|
||||||
|
export XKB_DEFAULT_OPTIONS=grp:win_space_toggle,compose:caps
|
||||||
|
|
||||||
|
# Novejsi opengl
|
||||||
|
#export PAN_MESA_DEBUG=gl3
|
||||||
|
|
||||||
|
#export GDK_BACKEND=wayland
|
||||||
|
|
||||||
|
#export QT_QPA_PLATFORM=wayland
|
||||||
|
#export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
|
|
||||||
|
alias scdev="ssh culture@milci.ljudmila.org"
|
||||||
|
|
||||||
|
export GDK_SCALE=1
|
||||||
|
export GDK_DPI_SCALE=0.5
|
||||||
|
|
|
@ -14,6 +14,9 @@ ln -s $DIR/.config/sway/config ~/.config/sway/config
|
||||||
mkdir $DIR/.config/termite
|
mkdir $DIR/.config/termite
|
||||||
ln -s $DIR/.config/termite/config ~/.config/termite/config
|
ln -s $DIR/.config/termite/config ~/.config/termite/config
|
||||||
|
|
||||||
|
mkdir $DIR/.config/kitty
|
||||||
|
ln -s $DIR/.config/kitty/kitty.conf ~/.config/kitty/kitty.conf
|
||||||
|
|
||||||
ln -s $DIR/.config/compton ~/.config/compton
|
ln -s $DIR/.config/compton ~/.config/compton
|
||||||
|
|
||||||
ln -s $DIR/.config/redshift ~/.config/redshift
|
ln -s $DIR/.config/redshift ~/.config/redshift
|
||||||
|
|
Loading…
Reference in New Issue