some changes

This commit is contained in:
Harri Lahtinen 2019-08-24 01:14:03 +03:00
parent 6243d7bfdc
commit 526ed4e354
9 changed files with 54 additions and 42 deletions

View File

@ -1,3 +1,12 @@
#
# ____ _
# / ___|___ _ __ ___ _ __ | |_ ___ _ __
# | | / _ \| '_ ` _ \| '_ \| __/ _ \| '_ \
# | |__| (_) | | | | | | |_) | || (_) | | | |
# \____\___/|_| |_| |_| .__/ \__\___/|_| |_|
# |_|
#
#################################
#
# Backend
@ -199,7 +208,7 @@ detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension.
refresh-rate = 0;
refresh-rate = 60;
# Set VSync method. VSync methods currently available:
# none: No VSync
@ -209,11 +218,11 @@ refresh-rate = 0;
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesnt have the effect of --sw-opti unlike other methods. Experimental.
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
# (Note some VSync methods may not be enabled at compile time.)
vsync = "opengl-swc";
vsync = "opengl-mswc";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
dbe = true;
# Painting on X Composite overlay window. Recommended.
paint-on-overlay = true;
@ -227,6 +236,11 @@ sw-opti = false;
# paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true;
# get rid of the screen tearing in full screen Chrome
unredir-if-possible-exclude = [
"name *= 'Chrome'"
];
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];

View File

@ -5,28 +5,28 @@
;
[colors]
background = #00000000
background-alt = #A3674F
foreground = #8E7F82
foreground-alt = #98B0D1
highlight = #cedbe3
error = #757988
red = #757988
yellow = #7A88A3
green = #91959F
darkblue = #8E7F82
background-alt = #636E90
foreground = #778AAD
foreground-alt = #9FA7CA
highlight = #e2cedb
error = #8C7281
red = #8C7281
yellow = #9797B2
green = #E1A0BA
darkblue = #778AAD
alert = #FF0000
lightblue = #cedbe3
orange = #98B0D1
blue = #A3674F
black = #100c14
grey = #90999e
lightblue = #e2cedb
orange = #9FA7CA
blue = #636E90
black = #020203
grey = #9e9099
[bar/top]
monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/top-bar
modules-left = i3 arrow01 xwindow arrow0
modules-center = term chrome editor fm music vpn
modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
;tray-position = right
;tray-padding = 2
@ -105,7 +105,7 @@ content-background = ${colors.green}
type = custom/text
content = ""
content-foreground = ${colors.green}
content-background = ${colors.red}
content-background = ${colors.darkblue}
[module/arrow8]
type = custom/text
@ -126,7 +126,7 @@ interval = 5
;format-foreground = #E5E9F0
;format-backgound = #5E81AC
label = " %output%"
label-foreground = #E5E9F0
label-foreground = ${colors.highlight}
label-background = ${colors.darkblue}
[module/pavolume]
@ -162,10 +162,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5
scroll-down = exec light -U 5
format-prefix = "  "
format-prefix-foreground = #E5E9F0
format-prefix-foreground = ${colors.highlight}
format-prefix-background = ${colors.darkblue}
label = "%output% "
label-foreground = #E5E9F0
label = "%output%% "
label-foreground = ${colors.highlight}
label-background = ${colors.darkblue}
[module/popup-calendar]
@ -207,7 +207,7 @@ label-background = ${colors.blue}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${colors.foreground}

View File

@ -539,11 +539,6 @@ map Tn eval fm.open_console('shell eyeD3 -n "" ' + fm.thisfile.relative_path, po
map ytv console shell youtube-dl -ic%space
map yta console shell youtube-dl -xic%space
#My own
map sup shell ~/.config/Scripts/webupdate
map ss shell rsync -avrP --rsh='ssh -p2222' %s lukesmith@lukesmith.xyz:/home1/lukesmith/public_html
map slt shell rsync -avrP --rsh='ssh -p2222' %s lukesmith@lukesmith.xyz:/home1/lukesmith/public_html/longterm
# DO NOT DELETE LMAO
map gh cd ~
map th tab_new ~

View File

@ -70,7 +70,7 @@ ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@"
ext x?html?, has chromium, X, flag f = chromium -- "$@"
ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@"
ext x?html?, has opera, X, flag f = opera -- "$@"
ext x?html?, has firefox, X, flag f = firefox -- "$@"
#ext x?html?, has firefox, X, flag f = firefox -- "$@"
ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@"
ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@"
ext x?html?, has epiphany, X, flag f = epiphany -- "$@"

View File

@ -310,7 +310,8 @@ for_window [class="Nm-connection-editor"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [instance="^package-update$" class="^st$"] floating enable, move position center
for_window [class="Yad"] floating enable
for_window [class="laptop mode tools"] floating enable
for_window [class="St"] floating enable, resize set 1664 936
for_window [class="Pcmanfm"] floating enable, resize set 1920 1080
###---Function Buttons---###
@ -367,6 +368,6 @@ bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
bindsym XF86AudioMedia exec $music
bindsym XF86Display exec --no-startup-id arandr
bindsym XF86KbdBrightnessDown exec --no-startup-id python3.6 ~/.i3/kb-lights.py -
bindsym XF86KbdBrightnessUp exec --no-startup-id python3.6 ~/.i3/kb-lights.py +
bindsym XF86KbdBrightnessDown exec --no-startup-id exec xbacklight -dec 10
bindsym XF86KbdBrightnessUp exec --no-startup-id exec xbacklight -inc 10
bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager

View File

@ -26,7 +26,7 @@ monitor = ${{env:MONITOR:eDP-1}}
include-file = ~/.config/polybar/top-bar
modules-left = i3 arrow01 xwindow arrow0
modules-center = term chrome editor fm music vpn
modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
;tray-position = right
;tray-padding = 2
@ -105,7 +105,7 @@ content-background = ${{colors.green}}
type = custom/text
content = ""
content-foreground = ${{colors.green}}
content-background = ${{colors.red}}
content-background = ${{colors.darkblue}}
[module/arrow8]
type = custom/text
@ -126,7 +126,7 @@ interval = 5
;format-foreground = #E5E9F0
;format-backgound = #5E81AC
label = " %output%"
label-foreground = #E5E9F0
label-foreground = ${{colors.highlight}}
label-background = ${{colors.darkblue}}
[module/pavolume]
@ -162,10 +162,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5
scroll-down = exec light -U 5
format-prefix = "  "
format-prefix-foreground = #E5E9F0
format-prefix-foreground = ${{colors.highlight}}
format-prefix-background = ${{colors.darkblue}}
label = "%output% "
label-foreground = #E5E9F0
label = "%output%% "
label-foreground = ${{colors.highlight}}
label-background = ${{colors.darkblue}}
[module/popup-calendar]
@ -207,7 +207,7 @@ label-background = ${{colors.blue}}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${{colors.foreground}}

View File

@ -8,7 +8,7 @@ font=Ubuntu Mono derivative Powerline
font_size=24
font_variant=medium
foreground_color=#999999
height=30
height=32
in_animation=38
in_animation_duration=2000
max_length=-1

View File

@ -95,6 +95,7 @@
@import url("widgets/scrollbar.css");
@import url("widgets/separator.css");
@import url("widgets/sidebar.css");
@import url("widgets/chrome.css");
@import url("widgets/spinbutton.css");
@import url("widgets/spinner.css");
@import url("widgets/switch.css");

3
.zshrc
View File

@ -61,7 +61,7 @@ plugins=(
source $ZSH/oh-my-zsh.sh
# My scripts
PATH=/usr/local/bin:/home/hate/.local/bin:/home/hate/.config/Scripts:/home/hate/.gem/ruby/2.5.0/bin:$PATH
PATH=/usr/local/bin:/home/hate/.local/bin:/home/hate/.config/Scripts:$PATH
# Wpg restore on terminals
(cat ~/.config/wpg/sequences &)
@ -98,3 +98,4 @@ if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/h
# Spaceship
SPACESHIP_BATTERY_THRESHOLD=40