added alias, added redshift

This commit is contained in:
aj 2019-12-05 19:45:18 +00:00
parent 4ed0f2e1fb
commit ee96213ced
4 changed files with 37 additions and 4 deletions

View File

@ -103,9 +103,12 @@ alias np='nano -w PKGBUILD'
alias more=less
alias mkdir='mkdir -p'
alias ytmpv='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1800]+bestaudio/best"'
alias ytmpv='mpv --hwdec=auto --ytdl-format="bestvideo+bestaudio/best"'
alias ytmpvqhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1800]+bestaudio/best"'
alias ytmpvhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1080]+bestaudio/best"'
alias gitlog='git log --graph --all --oneline'
alias dis='intel-virtual-output -f'
xhost +local:root > /dev/null 2>&1

View File

@ -224,6 +224,7 @@ client.background $bg
#for_window [class="^.*"] border pixel 6
default_border pixel 1
for_window [instance="origin.exe"] floating enable
#exec_always --no-startup-id killall polybar; polybar -r bar
exec_always --no-startup-id compton -b --config ~/.config/i3/compton.conf

View File

@ -32,7 +32,7 @@ screenchange-reload = true
[bar/top]
monitor = ${env:MONITOR:}
height = 26
height = 15
radius = 0.0
fixed-center = false
;override-redirect = true
@ -60,10 +60,10 @@ border-color = ${colors.background}
;module-margin-right = 2
;font-0 = dina:pixelsize=10;1
font-0 = "Roboto:pixelsize=12;2"
font-0 = "Roboto:pixelsize=11;2"
font-1 = siji:pixelsize=10;1
font-2 = unifont:size=6;1
font-3 = "Material Icons:size=15;5"
font-3 = "Material Icons:size=12;3"
modules-left = i3 mpd
;modules-center = mpd

29
redshift/config Normal file
View File

@ -0,0 +1,29 @@
; Global settings for redshift
[redshift]
temp-night=2200
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
brightness-night=0.8
; Set the screen gamma (for all colors, or each color channel
; individually)
;gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
gamma-night=0.6
location-provider=manual
[manual]
lat=51.239
lon=-0.586