more files

This commit is contained in:
Harri Lahtinen 2019-08-13 09:22:53 +03:00
parent 7fa9f3aee0
commit f410067ab6
27 changed files with 3729 additions and 0 deletions

37
.Xresources Normal file
View File

@ -0,0 +1,37 @@
!#include "/home/hate/.colors/nord"
!! Set the background, foreground and cursor colors as below:
*.background: #282828
*.foreground: white
*.cursorColor: white
!/* !! gruvbox: */
!/* *.color0: #1d2021 */
!/* *.color1: #cc241d */
!/* *.color2: #98971a */
!/* *.color3: #d79921 */
!/* *.color4: #458588 */
!/* *.color5: #b16286 */
!/* *.color6: #689d6a */
!/* *.color7: #a89984 */
!/* *.color8: #928374 */
!/* *.color9: #fb4934 */
!/* *.color10: #b8bb26 */
!/* *.color11: #fabd2f */
!/* *.color12: #83a598 */
!/* *.color13: #d3869b */
!/* *.color14: #8ec07c */
!/* *.color15: #ebdbb2 */
!! Transparency (0-1):
st.alpha: 0.9
!! Set a default font and font size as below:
st.font: Ubuntu Mono derivative Powerline:pixelsize=26:antialias=true:autohint=true;
st.boldFont: Ubuntu Mono derivative Powerline:pixelsize=26:bold:antialias=true:autohint=true;
st.bold_font: 1
st.borderpx: 10
! This option is can be preedit style. Available values: `root` `overthespot` ( Default taken `root`)
st.imstyle: root
!!HiDpi
Xft.dpi: 200

View File

@ -0,0 +1,17 @@
[bar/bottom]
width = 100%
height = 30
fixed-center = true
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
border-size = 2
border-color = ${colors.background}
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
font-0 = PowerlineSymbols:size=22;6
font-1 = Ubuntu Mono derivative Powerline:size=18;3
font-2 = FontAwesome:size=18;4

566
.config/polybar/config Normal file
View File

@ -0,0 +1,566 @@
; vim:ft=dosini
; _ _ _ _
; |_)/ \|\_/|_) /\ |_)
; | \_/|_| |_)/--\| \
;
[colors]
background = #00000000
background-alt = #A3674F
foreground = #8E7F82
foreground-alt = #98B0D1
highlight = #cedbe3
error = #757988
red = #757988
yellow = #7A88A3
green = #91959F
darkblue = #8E7F82
alert = #FF0000
lightblue = #cedbe3
orange = #98B0D1
blue = #A3674F
black = #100c14
grey = #90999e
[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
;tray-position = right
;tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
[bar/bottom]
monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/bottom-bar
modules-left = hostname arrowb01
modules-center = cpu memory temperature filesystem
modules-right = arrowb1 openweather
[module/arrowb01]
type = custom/text
content = ""
content-foreground = ${colors.blue}
content-background = #00000000
[module/arrowb1]
type = custom/text
content = ""
content-foreground = ${colors.green}
content-background = #00000000
[module/arrow01]
type = custom/text
content = ""
content-foreground = ${colors.grey}
content-background = ${colors.yellow}
[module/arrow0]
type = custom/text
content = ""
content-foreground = ${colors.yellow}
content-background = #00000000
[module/arrow1]
type = custom/text
content = ""
content-foreground = ${colors.lightblue}
content-background = ${colors.yellow}
[module/arrow2]
type = custom/text
content = ""
content-foreground = ${colors.yellow}
content-background = ${colors.darkblue}
[module/arrow3]
type = custom/text
content = ""
content-foreground = ${colors.darkblue}
content-background = ${colors.red}
[module/arrow4]
type = custom/text
content = ""
content-foreground = ${colors.red}
content-background = ${colors.orange}
[module/arrow5]
type = custom/text
content = ""
content-foreground = ${colors.orange}
content-background = ${colors.blue}
[module/arrow6]
type = custom/text
content = ""
content-foreground = ${colors.blue}
content-background = ${colors.green}
[module/arrow7]
type = custom/text
content = ""
content-foreground = ${colors.green}
content-background = ${colors.red}
[module/arrow8]
type = custom/text
content = ""
content-foreground = ${colors.red}
content-background = ${colors.darkblue}
[module/arrow9]
type = custom/text
content = ""
content-foreground = ${colors.darkblue}
content-background = #00000000
[module/expressvpn-status]
type = custom/script
exec = ~/.config/Scripts/expressvpn-status.sh
interval = 5
;format-foreground = #E5E9F0
;format-backgound = #5E81AC
label = " %output%"
label-foreground = #E5E9F0
label-background = ${colors.darkblue}
[module/pavolume]
type = custom/script
tail = true
label = " %output% "
exec = ~/.config/Scripts/pavolume.sh --listen
click-right = exec pavucontrol
click-left = ~/.config/Scripts/pavolume.sh --togmute
scroll-up = ~/.config/Scripts/pavolume.sh --up
scroll-down = ~/.config/Scripts/pavolume.sh --down
format-foreground = ${colors.black}
format-background = ${colors.orange}
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 4
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = "  %percentage_used%%"
label-mounted-foreground = ${colors.foreground}
label-mounted-background = ${colors.background}
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/backlight]
type = custom/script
interval = 0.2
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-background = ${colors.darkblue}
label = "%output% "
label-foreground = #E5E9F0
label-background = ${colors.darkblue}
[module/popup-calendar]
type = custom/script
exec = ~/.config/Scripts/popup-calendar.sh
interval = 5
click-left = ~/.config/Scripts/popup-calendar.sh --popup
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.lightblue}
label = "%output% "
format-foreground = ${colors.black}
format-background = ${colors.lightblue}
[module/vpncheck]
type = custom/script
exec = pgrep openvpn
interval = 5
label = "VPN "
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.orange}
label-foreground = ${colors.black}
label-background = ${colors.orange}
[module/hostname]
type = custom/script
interval = 256
format = "<label>"
format-prefix = "  "
;format-prefix = ""
exec = echo "$(uname -nr)"
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.blue}
label = "%output% "
label-foreground = ${colors.black}
label-background = ${colors.blue}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${colors.foreground}
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = "%temperature-c% "
label-warn = " %temperature-c% "
label-warn-foreground = ${colors.alert}
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-3 = " "
ramp-4 = " "
ramp-foreground = ${colors.foreground}
[module/pkg]
type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true
format = "<label> "
;format-prefix = " "
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-foreground = ${colors.black}
format-background = ${colors.blue}
click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&"
click-middle = "~/.config/Scripts/arch-updates.sh -n"
[module/openweather]
type = custom/script
exec = ~/.config/Scripts/openweather.sh
tail = true
interval = 600
click-left = ~/.config/Scripts/wttr.sh
format = <label>
format-foreground = ${colors.black}
format-background = ${colors.green}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = 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:;
ws-icon-8 = 9:;
ws-icon-9 = 10:;
label-mode-padding = 1
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.grey}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.foreground-alt}
label-focused-background = ${colors.grey}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.grey}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/fm]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e ranger &
click-right = pcmanfm &
[module/term]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st &
click-right = st -e tmux new -s tmux1 &
[module/vpn]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = "exec expressvpn connect"
click-right = "exec expressvpn disconnect"
[module/editor]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e nvim &
click-right = leafpad &
[module/chrome]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = google-chrome-stable &
[module/music]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e ncmpcpp &
click-right = gpmdp &
[module/workspace]
type = custom/script
interval = 1
label = %{A4:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))":}%{A5:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)-1))":}%output%  %{A}%{A}
exec = echo "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))"
format = <label>
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.red}
format-background = ${colors.red}
[module/window_count]
type = custom/script
interval = 1
label = %{A1:rofi -width 30 -location 1 -xoffset 3 -show window:}%output% %{A}
exec = echo "$(($(lsw | wc -l)-1))"
format = <label>
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
[module/xtitle]
type = custom/script
interval = 1
label = %output%
label-maxlen = 40
exec = echo "$(xtitle)"
format = <label>
format-background = ${colors.background-alt}
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${spacing.padding}
;label = "  %title%"
;label = "%title%"
label = " %title:0:30:...%"
label-maxlen = 150
label-foreground = ${colors.black}
label-background = ${colors.yellow}
[module/mpd]
type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-online-prefix = " "
format-online-prefix-foreground = ${colors.foreground-alt}
fomat-online-foreground = ${colors.blue}
format-online-background = ${colors.background-alt}
format-online-padding = 1
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
label-song = %title%
label-song-maxlen = 25
label-song-ellipsis = true
toggle-on-foreground = ${colors.foreground}
toggle-off-foreground = ${colors.foreground-alt}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${colors.red}
label-indicator-background = ${colors.background}
[module/cpu]
format-label = internal/cpu
format = <label>
type = internal/cpu
interval = 2
label = " %percentage%% "
format-foreground = ${colors.foreground}
[module/memory]
type = internal/memory
interval = 2
label = " %percentage_used%%"
format-foreground = ${colors.foreground}
[module/cputemp]
type = custom/script
exec = sensors | grep --max-count=1 "temp1" | awk '{print substr($0,16,2)}'
interval = 10
label = " %output%°C"
format-foreground = ${colors.foreground-alt}
[module/clock]
type = custom/script
interval = 5
exec = echo "$(date +%R)"
format = <label>
;format-prefix = " "
format-foreground = ${colors.foreground-alt}
label = %{A1:gsimplecal &:}%output%%{A}
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 19
mapped = true
interval = 5
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${colors.foreground}
format-muted = <label-muted>
format-muted-foreground = ${colors.alert}
label-muted =  muted
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-foreground = ${colors.foreground}
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
time-format = %H:%M
label-full = "%percentage%% "
label-charging = " %percentage%% "
label-discharging = " %percentage%% "
format-charging = <animation-charging><label-charging>
format-discharging = <animation-discharging><label-discharging>
format-charging-foreground = ${colors.black}
format-charging-background = ${colors.red}
label-charging-foreground = ${colors.black}
label-charging-background = ${colors.red}
format-discharging-foreground = ${colors.black}
format-discharging-background = ${colors.red}
label-discharging-foreground = ${colors.black}
label-discharging-background = ${colors.red}
format-full-prefix = "  "
format-full-prefix-foreground = ${colors.black}
format-full-prefix-background = ${colors.red}
label-full-foreground = ${colors.black}
label-full-background = ${colors.red}
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-foreground = ${colors.black}
animation-charging-background = ${colors.red}
animation-charging-framerate = 500
animation-discharging-0 = " "
animation-discharging-1 = " "
animation-discharging-2 = " "
animation-discharging-3 = " "
animation-discharging-4 = " "
animation-discharging-framerate = 1000
animation-discharging-foreground = ${colors.black}
animation-discharging-background = ${colors.red}
[module/networkmanager]
type = custom/text
content = " net  "
content-foreground = ${colors.black}
content-background = ${colors.yellow}
click-left = networkmanager_dmenu
[module/eth]
type = internal/network
interface = enp0s25
interval = 3.0
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
format-disconnected = <label-disconnected>
label-connected = %{A1:networkmanager_dmenu:}%downspeed%%{A}
label-connected-foreground = ${colors.foreground}
label-disconnected =
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <label-connected>
label-connected = "  %essid%  %signal%  %upspeed:7%  %downspeed:7% "
format-connected-foreground = ${colors.black}
format-connected-background = ${colors.green}
format-disconnected = <label-disconnected>
label-disconnected = "%{A1:connman-gtk &:}%{A}"
format-disconnected-foreground = ${colors.black}
format-disconnected-background = ${colors.red}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.black}
[module/powermenu]
type = custom/menu
format-spacing = 1
label-open = 
label-open-font = 2
label-open-foreground = ${colors.red}
label-close = 
label-close-foreground = ${colors.foreground}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = 
menu-0-0-foreground = ${colors.blue}
menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-foreground = ${colors.red}
menu-0-1-exec = menu-open-2
menu-1-0 = reboot?
menu-1-0-exec = /sbin/reboot
menu-1-1 = 
menu-1-1-exec = menu-open-0
menu-2-0 = 
menu-2-0-exec = menu-open-0
menu-2-1 = shutdown?
menu-2-1-exec = /sbin/poweroff
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;[global/wm]
;margin-top = 0
;margin-bottom = 0

564
.config/polybar/config.bak Normal file
View File

@ -0,0 +1,564 @@
; vim:ft=dosini
; _ _ _ _
; |_)/ \|\_/|_) /\ |_)
; | \_/|_| |_)/--\| \
;
[colors]
background = #00000000
background-alt = #88C0D0
foreground = #5E81AC
foreground-alt = #D08770
highlight = #E5E9F0
error = #BF616A
red = #BF616A
yellow = #EBCB8B
green = #A3BE8C
darkblue = #5E81AC
alert = #FF0000
lightblue = #8FBCBB
orange = #D08770
blue = #88C0D0
black = #2E3440
grey = #4C566A
[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
;tray-position = right
;tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
[bar/bottom]
monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/bottom-bar
modules-left = hostname arrowb01
modules-center = cpu memory temperature filesystem
modules-right = arrowb1 openweather
[module/arrowb01]
type = custom/text
content = ""
content-foreground = ${colors.blue}
content-background = #00000000
[module/arrowb1]
type = custom/text
content = ""
content-foreground = ${colors.green}
content-background = #00000000
[module/arrow01]
type = custom/text
content = ""
content-foreground = ${colors.grey}
content-background = ${colors.yellow}
[module/arrow0]
type = custom/text
content = ""
content-foreground = ${colors.yellow}
content-background = #00000000
[module/arrow1]
type = custom/text
content = ""
content-foreground = ${colors.lightblue}
content-background = ${colors.yellow}
[module/arrow2]
type = custom/text
content = ""
content-foreground = ${colors.yellow}
content-background = ${colors.darkblue}
[module/arrow3]
type = custom/text
content = ""
content-foreground = ${colors.darkblue}
content-background = ${colors.red}
[module/arrow4]
type = custom/text
content = ""
content-foreground = ${colors.red}
content-background = ${colors.orange}
[module/arrow5]
type = custom/text
content = ""
content-foreground = ${colors.orange}
content-background = ${colors.blue}
[module/arrow6]
type = custom/text
content = ""
content-foreground = ${colors.blue}
content-background = ${colors.green}
[module/arrow7]
type = custom/text
content = ""
content-foreground = ${colors.green}
content-background = ${colors.red}
[module/arrow8]
type = custom/text
content = ""
content-foreground = ${colors.red}
content-background = ${colors.darkblue}
[module/arrow9]
type = custom/text
content = ""
content-foreground = ${colors.darkblue}
content-background = #00000000
[module/expressvpn-status]
type = custom/script
exec = ~/.config/Scripts/expressvpn-status.sh
interval = 5
;format-foreground = #E5E9F0
;format-backgound = #5E81AC
label = " %output%"
label-foreground = #E5E9F0
label-background = ${colors.darkblue}
[module/pavolume]
type = custom/script
tail = true
label = %output%
exec = ~/.config/Scripts/pavolume.sh --listen
click-right = exec pavucontrol
click-left = ~/.config/Scripts/pavolume.sh --togmute
scroll-up = ~/.config/Scripts/pavolume.sh --up
scroll-down = ~/.config/Scripts/pavolume.sh --down
format-foreground = ${colors.black}
format-background = ${colors.orange}
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 4
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = " %percentage_used%%"
label-mounted-foreground = ${colors.foreground}
label-mounted-background = ${colors.background}
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/backlight]
type = custom/script
interval = 0.2
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-background = ${colors.darkblue}
label = "%output% "
label-foreground = #E5E9F0
label-background = ${colors.darkblue}
[module/popup-calendar]
type = custom/script
exec = ~/.config/Scripts/popup-calendar.sh
interval = 5
click-left = ~/.config/Scripts/popup-calendar.sh --popup
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.lightblue}
format-foreground = ${colors.black}
format-background = ${colors.lightblue}
[module/vpncheck]
type = custom/script
exec = pgrep openvpn
interval = 5
label = "VPN "
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.orange}
label-foreground = ${colors.black}
label-background = ${colors.orange}
[module/hostname]
type = custom/script
interval = 256
format = "<label>"
format-prefix = "  "
;format-prefix = ""
exec = echo "$(uname -nr)"
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.blue}
label = "%output% "
label-foreground = ${colors.black}
label-background = ${colors.blue}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${colors.foreground}
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = "%temperature-c% "
label-warn = " %temperature-c% "
label-warn-foreground = ${colors.alert}
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-3 = " "
ramp-4 = " "
ramp-foreground = ${colors.foreground}
[module/pkg]
type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true
format = "<label> "
;format-prefix = " "
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-foreground = ${colors.black}
format-background = ${colors.blue}
click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&"
click-middle = "~/.config/Scripts/arch-updates.sh -n"
[module/openweather]
type = custom/script
exec = ~/.config/Scripts/openweather.sh
tail = true
interval = 600
click-left = ~/.config/Scripts/wttr.sh
format = <label>
format-foreground = ${colors.black}
format-background = ${colors.green}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = 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:;
ws-icon-8 = 9:;
ws-icon-9 = 10:;
label-mode-padding = 1
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.grey}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.foreground-alt}
label-focused-background = ${colors.grey}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.grey}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/fm]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e ranger &
click-right = pcmanfm &
[module/term]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st &
click-right = st -e tmux new -s tmux1 &
[module/vpn]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = "exec expressvpn connect"
click-right = "exec expressvpn disconnect"
[module/editor]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e nvim &
click-right = leafpad &
[module/chrome]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = google-chrome-stable &
[module/music]
type = custom/text
content = " "
content-foreground = ${colors.foreground}
click-left = st -e ncmpcpp &
click-right = gpmdp &
[module/workspace]
type = custom/script
interval = 1
label = %{A4:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))":}%{A5:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)-1))":}%output%  %{A}%{A}
exec = echo "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))"
format = <label>
format-prefix = "  "
format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.red}
format-background = ${colors.red}
[module/window_count]
type = custom/script
interval = 1
label = %{A1:rofi -width 30 -location 1 -xoffset 3 -show window:}%output% %{A}
exec = echo "$(($(lsw | wc -l)-1))"
format = <label>
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
[module/xtitle]
type = custom/script
interval = 1
label = %output%
label-maxlen = 40
exec = echo "$(xtitle)"
format = <label>
format-background = ${colors.background-alt}
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${spacing.padding}
;label = "  %title%"
;label = "%title%"
label = " %title:0:30:...%"
label-maxlen = 150
label-foreground = ${colors.black}
label-background = ${colors.yellow}
[module/mpd]
type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-online-prefix = " "
format-online-prefix-foreground = ${colors.foreground-alt}
fomat-online-foreground = ${colors.blue}
format-online-background = ${colors.background-alt}
format-online-padding = 1
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
label-song = %title%
label-song-maxlen = 25
label-song-ellipsis = true
toggle-on-foreground = ${colors.foreground}
toggle-off-foreground = ${colors.foreground-alt}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label-layout = %layout%
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${colors.red}
label-indicator-background = ${colors.background}
[module/cpu]
format-label = internal/cpu
format = <label>
type = internal/cpu
interval = 2
label = " %percentage%% "
format-foreground = ${colors.foreground}
[module/memory]
type = internal/memory
interval = 2
label = " %percentage_used%%"
format-foreground = ${colors.foreground}
[module/cputemp]
type = custom/script
exec = sensors | grep --max-count=1 "temp1" | awk '{print substr($0,16,2)}'
interval = 10
label = " %output%°C"
format-foreground = ${colors.foreground-alt}
[module/clock]
type = custom/script
interval = 5
exec = echo "$(date +%R)"
format = <label>
;format-prefix = " "
format-foreground = ${colors.foreground-alt}
label = %{A1:gsimplecal &:}%output%%{A}
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 19
mapped = true
interval = 5
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${colors.foreground}
format-muted = <label-muted>
format-muted-foreground = ${colors.alert}
label-muted =  muted
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-foreground = ${colors.foreground}
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
time-format = %H:%M
label-charging = " %percentage%% "
label-discharging = " %percentage%% "
format-charging = <animation-charging><label-charging>
format-discharging = <animation-discharging><label-discharging>
format-charging-foreground = ${colors.black}
format-charging-background = ${colors.red}
label-charging-foreground = ${colors.black}
label-charging-background = ${colors.red}
format-discharging-foreground = ${colors.black}
format-discharging-background = ${colors.red}
label-discharging-foreground = ${colors.black}
label-discharging-background = ${colors.red}
format-full-prefix = "  "
format-full-prefix-foreground = ${colors.black}
format-full-prefix-background = ${colors.green}
label-full-foreground = ${colors.black}
label-full-background = ${colors.green}
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-foreground = ${colors.black}
animation-charging-background = ${colors.red}
animation-charging-framerate = 500
animation-discharging-0 = " "
animation-discharging-1 = " "
animation-discharging-2 = " "
animation-discharging-3 = " "
animation-discharging-4 = " "
animation-discharging-framerate = 1000
animation-discharging-foreground = ${colors.black}
animation-discharging-background = ${colors.red}
[module/networkmanager]
type = custom/text
content = " net  "
content-foreground = ${colors.black}
content-background = ${colors.yellow}
click-left = networkmanager_dmenu
[module/eth]
type = internal/network
interface = enp0s25
interval = 3.0
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
format-disconnected = <label-disconnected>
label-connected = %{A1:networkmanager_dmenu:}%downspeed%%{A}
label-connected-foreground = ${colors.foreground}
label-disconnected =
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <label-connected>
label-connected = "  %essid%  %signal%  %upspeed:7%  %downspeed:7% "
format-connected-foreground = ${colors.black}
format-connected-background = ${colors.green}
format-disconnected = <label-disconnected>
label-disconnected = "%{A1:connman-gtk &:}%{A}"
format-disconnected-foreground = ${colors.black}
format-disconnected-background = ${colors.red}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.black}
[module/powermenu]
type = custom/menu
format-spacing = 1
label-open = 
label-open-font = 2
label-open-foreground = ${colors.red}
label-close = 
label-close-foreground = ${colors.foreground}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = 
menu-0-0-foreground = ${colors.blue}
menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-foreground = ${colors.red}
menu-0-1-exec = menu-open-2
menu-1-0 = reboot?
menu-1-0-exec = /sbin/reboot
menu-1-1 = 
menu-1-1-exec = menu-open-0
menu-2-0 = 
menu-2-0-exec = menu-open-0
menu-2-1 = shutdown?
menu-2-1-exec = /sbin/poweroff
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;[global/wm]
;margin-top = 0
;margin-bottom = 0

16
.config/polybar/launch.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch arch_updates script
~/.config/Scripts/arch-updates.sh & echo $! > ~/.config/Scripts/arch_updates.pid
# Launch
polybar top &
polybar bottom &
echo "Bar launched..."

20
.config/polybar/top-bar Normal file
View File

@ -0,0 +1,20 @@
[bar/top]
width = 100%
height = 30
fixed-center = true
bottom = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
border-size = 2
border-color = ${colors.background}
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
font-0 = PowerlineSymbols:size=22;6
font-1 = Ubuntu Mono derivative Powerline:size=18;3
font-2 = FontAwesome:size=18;4
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev

View File

@ -0,0 +1 @@
/home/hate/.config/i3/config

View File

@ -0,0 +1,372 @@
# vim: filetype=i3
#Github: https://github.com/hartzan
###---Basic Definitions---###
#Needed for i3-gaps
hide_edge_borders both
for_window [class="^.*"] border pixel 1
gaps inner 15
gaps outer 15
font pango:Ubuntu Mono derivative Powerline 10
set $mod Mod4
set $term st
# Smart gaps (gaps used if only more than one container on the workspace)
smart_gaps on
# Smart borders (draw borders around container only if it is not the only container on this workspace)
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
smart_borders on
# Set Xresources colors:
#set_from_resource $darkblack color0 #000000
#set_from_resource $black color8 #000000
#set_from_resource $darkred color1 #000000
#set_from_resource $red color9 #000000
#set_from_resource $darkgreen color2 #000000
#set_from_resource $green color10 #000000
#set_from_resource $darkyellow color3 #000000
#set_from_resource $yellow color11 #000000
#set_from_resource $darkblue color4 #000000
#set_from_resource $blue color12 #000000
#set_from_resource $darkmagenta color5 #000000
#set_from_resource $magenta color13 #000000
#set_from_resource $darkcyan color6 #000000
#set_from_resource $cyan color14 #000000
#set_from_resource $darkwhite color7 #000000
#set_from_resource $white color15 #000000
#set $transparent #00000000
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
# change container layout (stacked, tabbed, toggle split)
bindsym Mod1+s layout stacking
bindsym Mod1+w layout tabbed
bindsym Mod1+e layout toggle split
#Sticky window
bindsym $mod+Shift+c sticky toggle
######### COLORS ##########
# BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
client.focused {color1} {color4} {color0} {color1} {color3}
client.unfocused {color3} {color1} {color7} {color3} {color0}
client.focused_inactive {color0} {color8} {color7} {color3} {color0}
client.urgent {color2} {color2} {color0} {color2} {color2}
client.background {color8}
###---Starting External Scripts---###
#Load .Xresources
exec --no-startup-id xrdb -merge .Xresources
#Restore wal colors
#exec_always --no-startup-id wal -i "$(< "${{HOME}}/.cache/wal/wal")"
#Start mopidy
#exec --no-startup-id mopidy &
#Twmn
exec --no-startup-id twmnd &
#Album art for mpd/mopidy
#Mpdscribble
#exec --no-startup-id mpdscribble --no-daemon &
#Wpgtk
exec --no-startup-id ~/.config/wpg/wp_init.sh
#Conky
#exec --no-startup-id conky -d -c ~/.config/conky/conkybg &
#Clipster
exec --no-startup-id clipster -d
#Compton
exec --no-startup-id compton -b
#Gnome privileges
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#Launch Polybar where appropriate:
exec_always --no-startup-id ~/.config/polybar/launch.sh
#Start udiskie
exec --no-startup-id udiskie &
#Add wallpaper:
#exec --no-startup-id systemctl --user start wallpaper.service
#Unclutter makes the mouse invisible after a brief period
exec --no-startup-id unclutter
# set desktop background with custom effect
exec --no-startup-id betterlockscreen -w dim
#Twmn Gmail notifier
exec --no-startup-id python ~/.config/Scripts/gmail_notifier.py
#Hide polybar top&bottom
#exec --no-startup-id hideIt.sh -N '^polybar-top_eDP-1$' -p 3 -d top -H
#exec --no-startup-id hideIt.sh -N '^polybar-bottom_eDP-1$' -p 3 -d bottom -H
# PCmanFm daemon
exec --no-startup-id pcmanfm -d &
##For mpc:
set $music st -e ncmpcpp
set $pause --no-startup-id mpc toggle
set $trupause --no-startup-id mpc pause
set $next --no-startup-id mpc next
set $prev --no-startup-id mpc prev
set $lilfor --no-startup-id mpc seek +10
set $bigfor --no-startup-id mpc seek +120
set $lilbak --no-startup-id mpc seek -10
set $bigbak --no-startup-id mpc seek -120
set $beg --no-startup-id mpc seek 0%
set $BROWSER google-chrome-stable
#FOR ALSA/AMIXER
set $inc --no-startup-id pactl -- set-sink-volume 0 +2%
set $biginc --no-startup-id amixer sset Master 5%+
set $dec --no-startup-id pactl -- set-sink-volume 0 -2%
set $bigdec --no-startup-id amixer sset Master 5%-
set $mute --no-startup-id pactl set-sink-mute 0 toggle
set $truemute --no-startup-id amixer sset Master mute
###---Dropdown/Scratchpad Windows---###
# Make the currently focused window a scratchpad
bindsym $mod+Shift+b move scratchpad
# Show the first scratchpad window
bindsym $mod+Shift+e scratchpad show
#Composite manager:
bindsym $mod+b exec --no-startup-id pkill compton
bindsym $mod+Ctrl+b exec --no-startup-id compton -b -f
###---Basic Bindings---###
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec $term -e tmux
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+Escape workspace prev
bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
bindsym $mod+BackSpace exec $flash
bindsym $mod+Shift+BackSpace exec ~/.config/Scripts/on
# Show selection:
bindsym Mod1+c exec clipster -sp
#STOP/HIDE EVERYTHING:
bindsym $mod+Shift+Delete exec $truemute ; exec $truepause ; workspace lmao ; exec $term -e htop ; exec $term -e ranger
###---Letter Key Bindings---###
bindsym $mod+q kill
bindsym $mod+Shift+q kill
bindsym $mod+w exec pcmanfm
bindsym $mod+Shift+w exec --no-startup-id $BROWSER
bindsym $mod+e exec $term -e neomutt
#bindsym $mod+Shift+e
# always pop standard shell, without the menu
bindsym Mod1+z exec ~/.config/Scripts/i3-quickterm shell
bindsym $mod+r exec $term -e ranger
bindsym $mod+Shift+r restart
bindsym $mod+t split toggle
bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15
bindsym $mod+y exec $term -e calcurse
bindsym $mod+Shift+y resize shrink width 10 px or 10ppt
bindsym $mod+u [instance="dropdown"] scratchpad show; move position center
bindsym $mod+Shift+u resize shrink height 10 px or 10 ppt
bindsym $mod+i exec $term -e htop
bindsym $mod+Shift+i resize grow height 10 px or 10 ppt
#bindsym $mod+o exec --no-startup-id $beg
bindsym $mod+Shift+o resize grow width 10 px or 10 ppt
bindsym $mod+p exec xdo hide -N "Polybar"
bindsym $mod+Shift+p exec xdo show -N "Polybar"
bindsym $mod+a [instance="music"] scratchpad show; move position center
bindsym $mod+Shift+a exec pavucontrol
#bindsym $mod+Shift+a exec $term -e ncpamixer
bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5
#bindsym $mod+d exec rofi -config ~/.config/rofi/config -show drun
bindsym $mod+d exec dmenu_extended_run
bindsym Mod1+d exec ~/.config/Scripts/rofi-bangs.sh
bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0
bindsym $mod+f fullscreen toggle
bindsym $mod+g exec --no-startup-id gimp; workspace $ws5
bindsym $mod+h focus left
bindsym $mod+Shift+h move left 30
bindsym $mod+j focus down
bindsym $mod+Shift+j move down 30
bindsym $mod+k focus up
bindsym $mod+Shift+k move up 30
bindsym $mod+l focus right
bindsym $mod+Shift+l move right 30
bindsym $mod+z gaps outer current plus 5
bindsym $mod+Shift+z gaps outer current minus 5
bindsym $mod+x exec gpmdp
bindsym Mod1+p exec bwmenu
bindsym $mod+c exec $term -e weechat
#bindsym $mod+Shift+c
bindsym $mod+v exec st -e cava
bindsym $mod+Shift+v exec projectM-pulseaudio
#bindsym $mod+b exec $prev
#bindsym $mod+Shift+b exec --no-startup-id blender; workspace $ws6
bindsym $mod+m exec $music
bindsym $mod+Shift+m exec $mute
###---Workspace Bindings---###
bindsym $mod+Home workspace $ws1
bindsym $mod+End workspace $ws10
bindsym $mod+Shift+End move container to workspace $ws10
# next/previous workspace
bindsym Mod1+Tab workspace next
bindsym Mod1+Shift+Tab workspace prev
bindsym $mod+Tab workspace back_and_forth
#navigate workspaces next / previous
bindsym Mod1+Ctrl+Right workspace next
bindsym Mod1+Ctrl+Left workspace prev
set $ws1 1:
set $ws2 2:
set $ws3 3:
set $ws4 4:
set $ws5 5:
set $ws6 6:
set $ws7 7:
set $ws8 8:
set $ws9 9:
set $ws10 10:
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# Move focused container to workspace
bindsym $mod+Ctrl+1 move container to workspace $ws1
bindsym $mod+Ctrl+2 move container to workspace $ws2
bindsym $mod+Ctrl+3 move container to workspace $ws3
bindsym $mod+Ctrl+4 move container to workspace $ws4
bindsym $mod+Ctrl+5 move container to workspace $ws5
bindsym $mod+Ctrl+6 move container to workspace $ws6
bindsym $mod+Ctrl+7 move container to workspace $ws7
bindsym $mod+Ctrl+8 move container to workspace $ws8
bindsym $mod+Ctrl+9 move container to workspace $ws9
bindsym $mod+Ctrl+0 move container to workspace $ws10
# Move to workspace with focused container
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10
for_window [class="Google-chrome"] move to workspace $ws2
for_window [class="Firefox"] move to workspace $ws2
for_window [class="Pcmanfm"] move to workspace $ws3
for_window [title="GIMP Startup"] move workspace $ws7
for_window [class="Gimp"] move workspace $ws7
for_window [window_role="gimp-dock"] floating disable; move left; resize shrink width 50 px or 50ppt
for_window [window_role="gimp-toolbox"] floating disable; move right; resize grow width 30 px or 30ppt
for_window [window_role="tr-main"] move to workspace $ws8
#for_window [title="projectM"] exec --no-startup-id transset -a --dec .25
#for_window [class="st"] exec --no-startup-id transset -a --dec .25
for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px
for_window [class="Wpg"] floating enable
for_window [class="mpv"] floating enable
for_window [class="feh"] floating enable
for_window [class="MComix"] floating enable
for_window [class="Gucharmap"] floating enable
for_window [class="Pavucontrol"] floating enable
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
###---Function Buttons---###
bindsym $mod+F1 exec --no-startup-id arandr
bindsym $mod+F2 exec --no-startup-id sudo systemctl hibernate
bindsym $mod+F3 exec --no-startup-id sudo systemctl restart NetworkManager
bindsym $mod+F4 exec --no-startup-id ~/.config/polybar/launch.sh
bindsym $mod+F5 exec --no-startup-id sudo systemctl restart bluetooth.service
bindsym $mod+F6 exec --no-startup-id systemctl --user restart wallpaper.service
###---Arrow Keys---###
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
###---Media Keys---###
#Volume keys
bindsym $mod+plus exec $inc
bindsym $mod+Shift+plus exec $biginc
bindsym $mod+minus exec $dec
bindsym $mod+Shift+minus exec $bigdec
bindsym $mod+less exec $prev
bindsym $mod+Shift+less exec $beg
bindsym $mod+greater exec $next
bindsym $mod+Shift+greater exec $next
#Print screen takes a screenshot.
#With shift, it takes one only of the given window.
bindsym Print exec --no-startup-id scrot
bindsym Shift+Print exec --no-startup-id scrot -u
###---Extra XF86 Keys---###
#These are the extra media keys that some keyboards have.
bindsym XF86AudioMute exec $mute
bindsym XF86AudioLowerVolume exec $dec
bindsym XF86AudioRaiseVolume exec $inc
bindsym XF86PowerOff exec sudo shutdown -h now
bindsym XF86Reload restart
bindsym XF86AudioMicMute exec $micmute
bindsym XF86TouchpadOn exec --no-startup-id exec synclient TouchpadOff=0
bindsym XF86TouchpadOff exec --no-startup-id exec synclient TouchpadOff=1
bindsym XF86Suspend exec --no-startup-id ~/.config/i3/lock.sh
bindsym XF86Close kill
bindsym XF86WebCam exec mpv /dev/video0
bindsym XF86Mail exec $term -e neomutt
bindsym XF86Messenger exec $term -e weechat
bindsym XF86Search exec $BROWSER https://duckduckgo.com
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 XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager

View File

@ -0,0 +1 @@
/home/hate/.config/polybar/config

View File

@ -0,0 +1,566 @@
; vim:ft=dosini
; _ _ _ _
; |_)/ \|\_/|_) /\ |_)
; | \_/|_| |_)/--\| \
;
[colors]
background = #00000000
background-alt = {color1}
foreground = {color3}
foreground-alt = {color6}
highlight = {color7}
error = {color10}
red = {color2}
yellow = {color4}
green = {color5}
darkblue = {color3}
alert = #FF0000
lightblue = {color15}
orange = {color6}
blue = {color9}
black = {color0}
grey = {color8}
[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
;tray-position = right
;tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
[bar/bottom]
monitor = ${{env:MONITOR:eDP-1}}
include-file = ~/.config/polybar/bottom-bar
modules-left = hostname arrowb01
modules-center = cpu memory temperature filesystem
modules-right = arrowb1 openweather
[module/arrowb01]
type = custom/text
content = ""
content-foreground = ${{colors.blue}}
content-background = #00000000
[module/arrowb1]
type = custom/text
content = ""
content-foreground = ${{colors.green}}
content-background = #00000000
[module/arrow01]
type = custom/text
content = ""
content-foreground = ${{colors.grey}}
content-background = ${{colors.yellow}}
[module/arrow0]
type = custom/text
content = ""
content-foreground = ${{colors.yellow}}
content-background = #00000000
[module/arrow1]
type = custom/text
content = ""
content-foreground = ${{colors.lightblue}}
content-background = ${{colors.yellow}}
[module/arrow2]
type = custom/text
content = ""
content-foreground = ${{colors.yellow}}
content-background = ${{colors.darkblue}}
[module/arrow3]
type = custom/text
content = ""
content-foreground = ${{colors.darkblue}}
content-background = ${{colors.red}}
[module/arrow4]
type = custom/text
content = ""
content-foreground = ${{colors.red}}
content-background = ${{colors.orange}}
[module/arrow5]
type = custom/text
content = ""
content-foreground = ${{colors.orange}}
content-background = ${{colors.blue}}
[module/arrow6]
type = custom/text
content = ""
content-foreground = ${{colors.blue}}
content-background = ${{colors.green}}
[module/arrow7]
type = custom/text
content = ""
content-foreground = ${{colors.green}}
content-background = ${{colors.red}}
[module/arrow8]
type = custom/text
content = ""
content-foreground = ${{colors.red}}
content-background = ${{colors.darkblue}}
[module/arrow9]
type = custom/text
content = ""
content-foreground = ${{colors.darkblue}}
content-background = #00000000
[module/expressvpn-status]
type = custom/script
exec = ~/.config/Scripts/expressvpn-status.sh
interval = 5
;format-foreground = #E5E9F0
;format-backgound = #5E81AC
label = " %output%"
label-foreground = #E5E9F0
label-background = ${{colors.darkblue}}
[module/pavolume]
type = custom/script
tail = true
label = " %output% "
exec = ~/.config/Scripts/pavolume.sh --listen
click-right = exec pavucontrol
click-left = ~/.config/Scripts/pavolume.sh --togmute
scroll-up = ~/.config/Scripts/pavolume.sh --up
scroll-down = ~/.config/Scripts/pavolume.sh --down
format-foreground = ${{colors.black}}
format-background = ${{colors.orange}}
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 4
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = "  %percentage_used%%"
label-mounted-foreground = ${{colors.foreground}}
label-mounted-background = ${{colors.background}}
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${{colors.foreground-alt}}
[module/backlight]
type = custom/script
interval = 0.2
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-background = ${{colors.darkblue}}
label = "%output% "
label-foreground = #E5E9F0
label-background = ${{colors.darkblue}}
[module/popup-calendar]
type = custom/script
exec = ~/.config/Scripts/popup-calendar.sh
interval = 5
click-left = ~/.config/Scripts/popup-calendar.sh --popup
format-prefix = "  "
format-prefix-foreground = ${{colors.black}}
format-prefix-background = ${{colors.lightblue}}
label = "%output% "
format-foreground = ${{colors.black}}
format-background = ${{colors.lightblue}}
[module/vpncheck]
type = custom/script
exec = pgrep openvpn
interval = 5
label = "VPN "
format-prefix = "  "
format-prefix-foreground = ${{colors.black}}
format-prefix-background = ${{colors.orange}}
label-foreground = ${{colors.black}}
label-background = ${{colors.orange}}
[module/hostname]
type = custom/script
interval = 256
format = "<label>"
format-prefix = "  "
;format-prefix = ""
exec = echo "$(uname -nr)"
format-prefix-foreground = ${{colors.black}}
format-prefix-background = ${{colors.blue}}
label = "%output% "
label-foreground = ${{colors.black}}
label-background = ${{colors.blue}}
[module/temperature]
type = internal/temperature
thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
warn-temperature = 65
format = <ramp> <label>
format-underline = ${{colors.foreground}}
format-warn = <ramp> <label-warn>
format-warn-underline = ${{self.format-underline}}
label = "%temperature-c% "
label-warn = " %temperature-c% "
label-warn-foreground = ${{colors.alert}}
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-3 = " "
ramp-4 = " "
ramp-foreground = ${{colors.foreground}}
[module/pkg]
type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true
format = "<label> "
;format-prefix = " "
format-prefix = "  "
format-prefix-foreground = ${{colors.black}}
format-foreground = ${{colors.black}}
format-background = ${{colors.blue}}
click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&"
click-middle = "~/.config/Scripts/arch-updates.sh -n"
[module/openweather]
type = custom/script
exec = ~/.config/Scripts/openweather.sh
tail = true
interval = 600
click-left = ~/.config/Scripts/wttr.sh
format = <label>
format-foreground = ${{colors.black}}
format-background = ${{colors.green}}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = 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:;
ws-icon-8 = 9:;
ws-icon-9 = 10:;
label-mode-padding = 1
label-mode-foreground = ${{colors.foreground}}
label-mode-background = ${{colors.grey}}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${{colors.foreground-alt}}
label-focused-background = ${{colors.grey}}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${{colors.foreground}}
label-unfocused-background = ${{colors.grey}}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${{colors.alert}}
label-urgent-padding = 1
[module/fm]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = st -e ranger &
click-right = pcmanfm &
[module/term]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = st &
click-right = st -e tmux new -s tmux1 &
[module/vpn]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = "exec expressvpn connect"
click-right = "exec expressvpn disconnect"
[module/editor]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = st -e nvim &
click-right = leafpad &
[module/chrome]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = google-chrome-stable &
[module/music]
type = custom/text
content = " "
content-foreground = ${{colors.foreground}}
click-left = st -e ncmpcpp &
click-right = gpmdp &
[module/workspace]
type = custom/script
interval = 1
label = %{{A4:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))":}}%{{A5:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)-1))":}}%output%  %{{A}}%{{A}}
exec = echo "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))"
format = <label>
format-prefix = "  "
format-prefix-foreground = ${{colors.black}}
format-prefix-background = ${{colors.red}}
format-background = ${{colors.red}}
[module/window_count]
type = custom/script
interval = 1
label = %{{A1:rofi -width 30 -location 1 -xoffset 3 -show window:}}%output% %{{A}}
exec = echo "$(($(lsw | wc -l)-1))"
format = <label>
format-prefix = " "
format-prefix-foreground = ${{colors.foreground-alt}}
[module/xtitle]
type = custom/script
interval = 1
label = %output%
label-maxlen = 40
exec = echo "$(xtitle)"
format = <label>
format-background = ${{colors.background-alt}}
format-prefix = " "
format-prefix-foreground = ${{colors.foreground}}
format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${{spacing.padding}}
;label = "  %title%"
;label = "%title%"
label = " %title:0:30:...%"
label-maxlen = 150
label-foreground = ${{colors.black}}
label-background = ${{colors.yellow}}
[module/mpd]
type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-online-prefix = " "
format-online-prefix-foreground = ${{colors.foreground-alt}}
fomat-online-foreground = ${{colors.blue}}
format-online-background = ${{colors.background-alt}}
format-online-padding = 1
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
label-song = %title%
label-song-maxlen = 25
label-song-ellipsis = true
toggle-on-foreground = ${{colors.foreground}}
toggle-off-foreground = ${{colors.foreground-alt}}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${{colors.foreground-alt}}
label-layout = %layout%
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${{colors.red}}
label-indicator-background = ${{colors.background}}
[module/cpu]
format-label = internal/cpu
format = <label>
type = internal/cpu
interval = 2
label = " %percentage%% "
format-foreground = ${{colors.foreground}}
[module/memory]
type = internal/memory
interval = 2
label = " %percentage_used%%"
format-foreground = ${{colors.foreground}}
[module/cputemp]
type = custom/script
exec = sensors | grep --max-count=1 "temp1" | awk '{{print substr($0,16,2)}}'
interval = 10
label = " %output%°C"
format-foreground = ${{colors.foreground-alt}}
[module/clock]
type = custom/script
interval = 5
exec = echo "$(date +%R)"
format = <label>
;format-prefix = " "
format-foreground = ${{colors.foreground-alt}}
label = %{{A1:gsimplecal &:}}%output%%{{A}}
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 19
mapped = true
interval = 5
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${{colors.foreground}}
format-muted = <label-muted>
format-muted-foreground = ${{colors.alert}}
label-muted =  muted
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-foreground = ${{colors.foreground}}
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
time-format = %H:%M
label-full = "%percentage%% "
label-charging = " %percentage%% "
label-discharging = " %percentage%% "
format-charging = <animation-charging><label-charging>
format-discharging = <animation-discharging><label-discharging>
format-charging-foreground = ${{colors.black}}
format-charging-background = ${{colors.red}}
label-charging-foreground = ${{colors.black}}
label-charging-background = ${{colors.red}}
format-discharging-foreground = ${{colors.black}}
format-discharging-background = ${{colors.red}}
label-discharging-foreground = ${{colors.black}}
label-discharging-background = ${{colors.red}}
format-full-prefix = "  "
format-full-prefix-foreground = ${{colors.black}}
format-full-prefix-background = ${{colors.red}}
label-full-foreground = ${{colors.black}}
label-full-background = ${{colors.red}}
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-foreground = ${{colors.black}}
animation-charging-background = ${{colors.red}}
animation-charging-framerate = 500
animation-discharging-0 = " "
animation-discharging-1 = " "
animation-discharging-2 = " "
animation-discharging-3 = " "
animation-discharging-4 = " "
animation-discharging-framerate = 1000
animation-discharging-foreground = ${{colors.black}}
animation-discharging-background = ${{colors.red}}
[module/networkmanager]
type = custom/text
content = " net  "
content-foreground = ${{colors.black}}
content-background = ${{colors.yellow}}
click-left = networkmanager_dmenu
[module/eth]
type = internal/network
interface = enp0s25
interval = 3.0
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${{colors.foreground-alt}}
format-disconnected = <label-disconnected>
label-connected = %{{A1:networkmanager_dmenu:}}%downspeed%%{{A}}
label-connected-foreground = ${{colors.foreground}}
label-disconnected =
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <label-connected>
label-connected = "  %essid%  %signal%  %upspeed:7%  %downspeed:7% "
format-connected-foreground = ${{colors.black}}
format-connected-background = ${{colors.green}}
format-disconnected = <label-disconnected>
label-disconnected = "%{{A1:connman-gtk &:}}%{{A}}"
format-disconnected-foreground = ${{colors.black}}
format-disconnected-background = ${{colors.red}}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${{colors.black}}
[module/powermenu]
type = custom/menu
format-spacing = 1
label-open = 
label-open-font = 2
label-open-foreground = ${{colors.red}}
label-close = 
label-close-foreground = ${{colors.foreground}}
label-separator = |
label-separator-foreground = ${{colors.foreground-alt}}
menu-0-0 = 
menu-0-0-foreground = ${{colors.blue}}
menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-foreground = ${{colors.red}}
menu-0-1-exec = menu-open-2
menu-1-0 = reboot?
menu-1-0-exec = /sbin/reboot
menu-1-1 = 
menu-1-1-exec = menu-open-0
menu-2-0 = 
menu-2-0-exec = menu-open-0
menu-2-1 = shutdown?
menu-2-1-exec = /sbin/poweroff
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;[global/wm]
;margin-top = 0
;margin-bottom = 0

View File

@ -0,0 +1 @@
/home/hate/.config/rofi/colors-rofi-dark.rasi

View File

@ -0,0 +1,161 @@
* {{
active-background: {color2};
active-foreground: @foreground;
normal-background: @background;
normal-foreground: @foreground;
urgent-background: {color1};
urgent-foreground: @foreground;
alternate-active-background: @background;
alternate-active-foreground: @foreground;
alternate-normal-background: @background;
alternate-normal-foreground: @foreground;
alternate-urgent-background: @background;
alternate-urgent-foreground: @foreground;
selected-active-background: {color1};
selected-active-foreground: @foreground;
selected-normal-background: {color2};
selected-normal-foreground: @foreground;
selected-urgent-background: {color11};
selected-urgent-foreground: @foreground;
background-color: @background;
background: {color0};
foreground: {color7};
border-color: @background;
spacing: 2;
}}
#window {{
background-color: @background;
border: 0;
padding: 2.5ch;
}}
#mainbox {{
border: 0;
padding: 0;
}}
#message {{
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}}
#textbox {{
text-color: @foreground;
}}
inputbar {{
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}}
textbox-prompt-colon {{
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em;
text-color: @normal-foreground;
}}
#listview {{
fixed-height: 0;
border: 2px 0px 0px;
border-color: @border-color;
spacing: 2px;
scrollbar: true;
padding: 2px 0px 0px;
}}
#element {{
border: 0;
padding: 1px;
}}
#element.normal.normal {{
background-color: @normal-background;
text-color: @normal-foreground;
}}
#element.normal.urgent {{
background-color: @urgent-background;
text-color: @urgent-foreground;
}}
#element.normal.active {{
background-color: @active-background;
text-color: @active-foreground;
}}
#element.selected.normal {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#element.selected.urgent {{
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}}
#element.selected.active {{
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}}
#element.alternate.normal {{
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}}
#element.alternate.urgent {{
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}}
#element.alternate.active {{
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}}
#scrollbar {{
width: 4px;
border: 0;
handle-width: 8px;
padding: 0;
}}
#sidebar {{
border: 2px 0px 0px;
border-color: @border-color;
}}
#button {{
text-color: @normal-foreground;
}}
#button.selected {{
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}}
#inputbar {{
spacing: 0;
text-color: @normal-foreground;
padding: 1px;
}}
#case-indicator {{
spacing: 0;
text-color: @normal-foreground;
}}
#entry {{
spacing: 0;
text-color: @normal-foreground;
}}
#prompt {{
spacing: 0;
text-color: @normal-foreground;
}}

View File

@ -0,0 +1 @@
/home/hate/.config/rofi/config

View File

@ -0,0 +1,24 @@
rofi.color-normal: #fbf8f1, #2A1A17, #fbf8f1, #ff923b, #2A1A17
rofi.color-urgent: #fbf8f1, #d6b48d, #22231D, #d6b48d, #2A1A17
rofi.color-active: #fbf8f1, #E1B959, #fbf8f1, #E1B959, #fbf8f1
rofi.color-window: #fbf8f1, #ff923b, #DD712E
#rofi.font: TamzenForPowerline 12
rofi.font: Ubuntu Mono derivative Powerline 20
rofi.color-enabled: true
rofi.fake-transparency: true
rofi.lines: 12
rofi.bw: 0
rofi.opacity: "10"
rofi.hide-scrollbar: true
rofi.width: 30
rofi.modi: window,run,ssh,drun,i3:~/.config/Scripts/i3_switch_workspace.sh
rofi.sidebar-mode: true
rofi.terminal: st
rofi.levenshtein-sort: true
rofi.separator-style: dash
rofi.show-icons: true
# Dark theme.
rofi.theme: ~/.config/rofi/colors-rofi-dark.rasi

View File

@ -0,0 +1 @@
/home/hate/.config/twmn/twmn.conf

View File

@ -0,0 +1,34 @@
[gui]
absolute_position=
always_on_top=true
background_color={color0}
bounce=true
bounce_duration=500
font=Ubuntu Mono derivative Powerline
font_size=24
font_variant=medium
foreground_color=#999999
height=30
in_animation=38
in_animation_duration=2000
max_length=-1
offset_x=0
offset_y=0
opacity=100
out_animation=13
out_animation_duration=1000
position=top_right
screen=
[icons]
critical_icon=
info_icon=
warning_icon=
[main]
activate_command=
duration=6000
enable_shortcuts=true
host=127.0.0.1
port=9797
sound_command=

View File

@ -0,0 +1 @@
/home/hate/.config/dmenu-extended/config/dmenuExtended_preferences.txt

View File

@ -0,0 +1,79 @@
{{
"alias_applications": true,
"alias_display_format": "{{name}}",
"exclude_items": [],
"filebrowser": "xdg-open",
"fileopener": "xdg-open",
"filter_binaries": false,
"follow_symlinks": false,
"frequently_used": 0,
"global_ignore_folders": [],
"ignore_folders": [],
"include_applications": true,
"include_binaries": false,
"include_hidden_files": false,
"include_hidden_folders": false,
"include_items": [],
"indicator_alias": "",
"indicator_edit": "*",
"indicator_submenu": "->",
"menu": "dmenu",
"menu_arguments": [
"-b",
"-i",
"-nf",
"{color6}",
"-nb",
"{color0}",
"-sf",
"{color2}",
"-sb",
"{color8}",
"-fn",
"Source Code Pro",
"-l",
"6"
],
"password_helper": [
"zenity",
"--password",
"--title={{prompt}}"
],
"path_aliasFile": "",
"path_shellCommand": "~/.config/Scripts/.dmenuEextended_shellCommand.sh",
"prompt": "Open:",
"scan_hidden_folders": false,
"terminal": "st",
"valid_extensions": [
"py",
"svg",
"pdf",
"txt",
"png",
"jpg",
"gif",
"php",
"tex",
"odf",
"ods",
"avi",
"mpg",
"mp3",
"lyx",
"bib",
"iso",
"ps",
"zip",
"xcf",
"doc",
"docxxls",
"xlsx",
"md",
"html",
"sublime-project"
],
"watch_folders": [
"~/"
],
"webbrowser": "xdg-open"
}}

1
.config/wpg/templates/gtk2 Symbolic link
View File

@ -0,0 +1 @@
/home/hate/.local/share/themes/FlatColor/gtk-2.0/gtkrc

View File

@ -0,0 +1,797 @@
#modded Numix gtkrc
gtk-color-scheme = "bg_color:{color0}
color0:{color0}
color1:{color1}
color2:{color2}
color3:{color3}
color4:{color4}
color5:{color5}
color6:{color6}
color7:{color7}
color8:{color8}
color9:{color9}
color10:{color10}
color11:{color11}
color12:{color12}
color13:{color13}
color14:{color14}
color15:{color15}
text_color:{color15}
selected_bg_color:{active}
selected_fg_color:{color15}
tooltip_bg_color:{color0}
tooltip_fg_color:{color15}
titlebar_bg_color:{color0}
titlebar_fg_color:{color15}
menu_bg_color:{color0}
menu_fg_color:{color15}
link_color:{active}"
gtk-auto-mnemonics = 1
# Default Style
# DO --NOT-- CHANGE ACTIVE
# IT's THE COLOR THAT WPGTK REPLACES
# FEEL FREE TO MODIFY EVERYTHING ELSE IN gtkrc.base
style "murrine-default" {{
GtkArrow::arrow-scaling= 0.6
GtkButton::child-displacement-x = 0
GtkButton::child-displacement-y = 0
GtkButton::default-border = {{ 0, 0, 0, 0 }}
GtkButtonBox::child-min-height = 26
GtkCheckButton::indicator-size = 16
# The following line hints to gecko (and possibly other appliations)
# that the entry should be drawn transparently on the canvas.
# Without this, gecko will fill in the background of the entry.
GtkEntry::honors-transparent-bg-hint = 1
GtkEntry::state-hint = 0
GtkExpander::expander-size = 16
GtkImage::x-ayatana-indicator-dynamic = 1
GtkMenu::horizontal-padding = 0
GtkMenu::vertical-padding = 0
GtkMenuBar::internal-padding = 0
GtkMenuBar::window-dragging = 1
GtkMenuItem::arrow-scaling= 0.5
GtkPaned::handle-size = 1
GtkProgressBar::min-horizontal-bar-height = 12
GtkProgressBar::min-vertical-bar-width = 12
GtkRange::trough-border = 0
GtkRange::slider-width = 8
GtkRange::stepper-size = 12
GtkRange::stepper_spacing = 0
GtkRange::trough-under-steppers = 1
GtkScale::slider-length = 16
GtkScale::slider-width = 16
GtkScale::trough-side-details = 1
GtkScrollbar::activate-slider = 1
GtkScrollbar::has-backward-stepper = 0
GtkScrollbar::has-forward-stepper = 0
GtkScrollbar::has-secondary-backward-stepper = 0
GtkScrollbar::has-secondary-forward-stepper = 0
GtkScrollbar::min-slider-length = 80
GtkScrollbar::slider-width = 8
GtkScrollbar::trough-border = 0
GtkScrolledWindow::scrollbar-spacing = 0
GtkScrolledWindow::scrollbars-within-bevel = 1
GtkSeparatorMenuItem::horizontal-padding = 0
GtkToolbar::internal-padding = 0
GtkTreeView::expander-size = 11
GtkTreeView::vertical-separator = 0
GtkWidget::focus-line-width = 1
# The following line prevents the Firefox tabs
# from jumping a few pixels when you create a new tab
GtkWidget::focus-padding = 0
GtkWidget::wide-separators = 1
GtkWidget::separator-width = 1
GtkWidget::separator-height = 1
GtkWindow::resize-grip-height = 0
GtkWindow::resize-grip-width = 0
WnckTasklist::fade-overlay-rect = 0
GnomeHRef::link_color = @link_color
GtkHTML::link-color = @link_color
GtkIMHtmlr::hyperlink-color = @link_color
GtkIMHtml::hyperlink-color = @link_color
GtkWidget::link-color = @link_color
GtkWidget::visited-link-color = @text_color
GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified
GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menubars flat and unified
xthickness = 1
ythickness = 1
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = @bg_color
bg[INSENSITIVE] = @bg_color
base[NORMAL] = shade(0.85, @color0)
base[PRELIGHT] = shade (0.85, @color0)
base[SELECTED] = @selected_bg_color
base[ACTIVE] = @selected_bg_color
base[INSENSITIVE] = shade (0.85, @bg_color)
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
engine "murrine" {{
animation = FALSE
arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows
border_shades = {{ 1.0, 1.0 }} # gradient to draw on border
colorize_scrollbar = TRUE
comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
contrast = 0.0 # overal contrast with borders
focusstyle = 1 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow
glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight
glowstyle = 0 # 0 = glow on top, 1 = glow on bottom, 2 = glow on top and bottom, 3 = glow on middle vertically, 4 = glow on middle horizontally, 5 = glow on all sides
glow_shade = 1.0 # amount of glow
gradient_shades = {{ 1.0, 1.0, 1.0, 1.0 }} # gradient to draw on widgets
highlight_shade = 1.0 # amount of highlight
lightborder_shade = 1.0 # amount of inset light border
lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised
listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
menustyle = 0 # 0 = none, 1 = vertical striped
progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped
reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
roundness = 0 # roundness of widgets
scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
sliderstyle = 0 # 0 = none, 1 = handles
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles
toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
}}
}}
style "murrine-wide" {{
xthickness = 2
ythickness = 2
}}
style "murrine-wider" {{
xthickness = 3
ythickness = 3
}}
style "murrine-thin" {{
xthickness = 0
ythickness = 0
}}
# Notebook
style "murrine-notebook-bg" {{
bg[NORMAL] = @bg_color
bg[ACTIVE] = shade (0.70, @bg_color)
}}
style "murrine-notebook" = "murrine-notebook-bg" {{
xthickness = 2
ythickness = 2
engine "murrine" {{
roundness = 0
}}
}}
# Various Standard Widgets
style "murrine-button" = "murrine-wider" {{
bg[NORMAL] = shade (1.3, @bg_color)
bg[PRELIGHT] = shade (0.80, @selected_bg_color)
bg[ACTIVE] = shade (1.00, @selected_bg_color)
bg[INSENSITIVE] = shade (0.85, @bg_color)
engine "murrine" {{
}}
}}
style "murrine-scrollbar" {{
bg[NORMAL] = @bg_color
bg[PRELIGHT] = mix (0.31, @text_color, @bg_color)
bg[ACTIVE] = @selected_bg_color
engine "murrine" {{
roundness = 0
contrast = 0.0
border_shades = {{ 0.9, 0.9 }}
trough_shades = {{ 0.97, 0.97 }}
trough_border_shades = {{ 1.0, 1.0 }}
}}
}}
style "murrine-overlay-scrollbar" {{
bg[ACTIVE] = shade (0.8, @bg_color)
bg[INSENSITIVE] = shade (0.97, @bg_color)
base[SELECTED] = shade (0.6, @bg_color)
base[INSENSITIVE] = shade (0.85, @bg_color)
}}
style "murrine-scale" = "murrine-thin" {{
bg[NORMAL] = @bg_color
bg[ACTIVE] = @bg_color
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = shade (0.95, @bg_color)
engine "murrine" {{
roundness = 8
gradient_shades = {{ 1.08, 1.08, 1.08, 1.08 }}
border_shades = {{ 1.0, 1.0 }}
trough_shades = {{ 1.08, 1.08 }}
trough_border_shades = {{ 0.8, 0.8 }}
}}
}}
style "murrine-progressbar" = "murrine-thin" {{
bg[NORMAL] = @bg_color
bg[ACTIVE] = shade(0.60, @bg_color)
fg[PRELIGHT] = @selected_fg_color
engine "murrine" {{
roundness = 0
border_shades = {{ 1.2, 1.2 }}
trough_border_shades = {{ 0.8, 0.8 }}
}}
}}
style "murrine-treeview-header" = "murrine-button" {{
engine "murrine" {{
roundness = 0
}}
}}
style "murrine-treeview" {{
engine "murrine" {{
roundness = 0
}}
}}
style "murrine-frame-title" {{
fg[NORMAL] = lighter (@text_color)
}}
style "murrine-tooltips" {{
xthickness = 5
ythickness = 5
bg[NORMAL] = @tooltip_bg_color
bg[SELECTED] = @tooltip_bg_color
fg[NORMAL] = @text_color
engine "murrine" {{
textstyle = 0
roundness = 0
rgba = FALSE
}}
}}
style "murrine-spinbutton" = "murrine-button" {{
engine "murrine" {{
}}
}}
style "murrine-radiocheck" = "murrine-default" {{
bg[SELECTED] = @bg_color
text[NORMAL] = @selected_bg_color
text[PRELIGHT] = @selected_bg_color
}}
style "murrine-entry" = "murrine-wider" {{
bg[SELECTED] = @selected_bg_color
engine "murrine" {{
border_shades = {{ 1.15, 1.15 }}
}}
}}
style "metacity-frame" = "murrine-default" {{
bg[SELECTED] = @selected_bg_color
}}
style "murrine-statusbar" {{
bg[NORMAL] = @bg_color
}}
style "murrine-comboboxentry" = "murrine-entry" {{ }}
style "murrine-hscale" = "murrine-scale" {{ }}
style "murrine-vscale" = "murrine-scale" {{ }}
style "murrine-hscrollbar" = "murrine-scrollbar" {{ }}
style "murrine-vscrollbar" = "murrine-scrollbar" {{ }}
# Menus
style "murrine-menu" = "murrine-thin" {{
bg[NORMAL] = shade(0.8, @menu_bg_color)
bg[PRELIGHT] = @selected_bg_color
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = @menu_bg_color
bg[INSENSITIVE] = @menu_bg_color
fg[NORMAL] = @menu_fg_color
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color)
text[NORMAL] = @menu_fg_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color)
engine "murrine" {{
roundness = 0
}}
}}
style "murrine-menu-item" = "murrine-wider" {{
bg[PRELIGHT] = @selected_bg_color
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = @selected_bg_color
fg[NORMAL] = @menu_fg_color # Fix for XFCE menu text
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = mix (0.5, @menu_bg_color, @menu_fg_color)
engine "murrine" {{
textstyle = 0
border_shades = {{ 1.2, 1.2 }}
}}
}}
style "murrine-separator-menu-item" = "murrine-thin" {{ }}
style "murrine-menubar" {{
bg[NORMAL] = @bg_color
bg[PRELIGHT] = mix (0.21, @text_color, @bg_color)
bg[SELECTED] = mix (0.21, @text_color, @bg_color)
bg[ACTIVE] = shade (0.9, @bg_color)
bg[INSENSITIVE] = @bg_color
fg[NORMAL] = @text_color
fg[PRELIGHT] = shade (1.08, @text_color)
fg[SELECTED] = shade (1.08, @text_color)
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
engine "murrine" {{
roundness = 0
}}
}}
style "murrine-menubaritem" {{
bg[NORMAL] = @bg_color
bg[PRELIGHT] = @selected_bg_color
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = shade (0.9, @bg_color)
bg[INSENSITIVE] = @bg_color
fg[NORMAL] = @text_color
fg[PRELIGHT] = shade (1.08, @text_color)
fg[SELECTED] = shade (1.08, @text_color)
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
engine "murrine" {{
roundness = 0
}}
}}
# Toolbars
style "murrine-toolbar" = "murrine-thin" {{
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = shade (0.9, @bg_color)
bg[INSENSITIVE] = @bg_color
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
engine "murrine" {{
}}
}}
style "murrine-toolbutton" = "murrine-button" {{
bg[NORMAL] = shade (1.08, @bg_color)
bg[PRELIGHT] = shade (1.10, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = shade (0.95, @bg_color)
bg[INSENSITIVE] = shade (0.85, @bg_color)
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
engine "murrine" {{
}}
}}
class "GtkToolbar" style "murrine-toolbar"
class "GtkHandleBox" style "murrine-toolbar"
widget_class "*Toolbar*.*Separator*" style "murrine-toolbar"
# Panels
style "murrine-panel" = "murrine-thin" {{
xthickness = 2
bg[NORMAL] = @menu_bg_color
bg[PRELIGHT] = shade(0.8, @selected_bg_color)
bg[SELECTED] = @selected_bg_color
bg[ACTIVE] = @selected_bg_color
bg[INSENSITIVE] = @menu_bg_color
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @text_color
fg[ACTIVE] = @text_color
fg[INSENSITIVE] = shade(0.8, @text_color)
base[NORMAL] = @menu_bg_color
base[PRELIGHT] = mix (0.21, @text_color, @menu_bg_color)
base[SELECTED] = @selected_bg_color
base[ACTIVE] = @selected_bg_color
base[INSENSITIVE] = @menu_bg_color
text[NORMAL] = @text_color
text[PRELIGHT] = shade (1.08, @text_color)
text[SELECTED] = shade (1.08, @text_color)
text[ACTIVE] = @text_color
text[INSENSITIVE] = mix (0.5, @menu_bg_color, @text_color)
engine "murrine" {{
roundness = 0
contrast = 0.0
}}
}}
widget "*PanelWidget*" style "murrine-panel"
widget "*PanelApplet*" style "murrine-panel"
widget "*fast-user-switch*" style "murrine-panel"
widget "*CPUFreq*Applet*" style "murrine-panel"
widget "*indicator-applet*" style "murrine-panel"
class "PanelApp*" style "murrine-panel"
class "PanelToplevel*" style "murrine-panel"
widget_class "*PanelToplevel*" style "murrine-panel"
widget_class "*notif*" style "murrine-panel"
widget_class "*Notif*" style "murrine-panel"
widget_class "*Tray*" style "murrine-panel"
widget_class "*tray*" style "murrine-panel"
widget_class "*computertemp*" style "murrine-panel"
widget_class "*Applet*Tomboy*" style "murrine-panel"
widget_class "*Applet*Netstatus*" style "murrine-panel"
widget "*gdm-user-switch-menubar*" style "murrine-panel"
style "bold-panel-item" {{
font_name = "Bold"
engine "murrine" {{
roundness = 0
}}
}}
widget "*Panel*MenuBar*" style "bold-panel-item"
widget "*gimmie*" style "bold-panel-item"
# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug
# class "*Panel*" style "murrine-panel" # Disabled to fix bug
# XFCE Styles
style "workspace-switcher" = "murrine-panel" {{
bg[SELECTED] = @selected_bg_color
}}
style "xfce-header" {{
bg[NORMAL] = shade (0.9, @bg_color)
base[NORMAL] = shade (1.18, @bg_color)
}}
style "xfdesktop-windowlist" {{
bg[NORMAL] = @bg_color
fg[INSENSITIVE] = shade (0.95, @bg_color)
text[INSENSITIVE] = shade (0.95, @bg_color)
}}
style "xfdesktop-icon-view" {{
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 60
XfdesktopIconVIew::ellipsize-icon-labels = 1
base[NORMAL] = @selected_bg_color
base[SELECTED] = @selected_bg_color
base[ACTIVE] = @selected_bg_color
fg[NORMAL] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
engine "murrine" {{
textstyle = 5
text_shade = 0.05
}}
}}
style "xfwm-tabwin" {{
Xfwm4TabwinWidget::border-width = 0
Xfwm4TabwinWidget::icon-size = 64
bg[NORMAL] = @menu_bg_color
fg[NORMAL] = @menu_fg_color
engine "murrine" {{
focusstyle = 0
}}
}}
style "xfsm-logout" {{
bg[NORMAL] = @menu_bg_color
bg[ACTIVE] = @menu_bg_color
bg[PRELIGHT] = shade (1.1, @menu_bg_color)
bg[SELECTED] = shade (0.5, @menu_bg_color)
bg[INSENSITIVE] = shade (1.3, @menu_bg_color)
fg[NORMAL] = @menu_fg_color
fg[PRELIGHT] = @menu_fg_color
text[NORMAL] = @menu_fg_color
engine "murrine" {{
}}
}}
style "xfsm-logout-button" {{
bg[NORMAL] = shade (1.2, @menu_bg_color)
bg[PRELIGHT] = shade (1.4, @menu_bg_color)
engine "murrine" {{
}}
}}
widget "*WnckPager*" style "workspace-switcher"
widget "*Xfce*Panel*" style "murrine-panel"
class "*Xfce*Panel*" style "murrine-panel"
# Thunar Styles
style "sidepane" {{
base[NORMAL] = @bg_color
base[INSENSITIVE] = shade(0.90, @bg_color)
bg[NORMAL] = @bg_color
text[NORMAL] = @text_color
}}
widget_class "*ThunarShortcutsView*" style "sidepane"
widget_class "*ThunarTreeView*" style "sidepane"
widget_class "*ThunarLocationEntry*" style "murrine-entry"
# Gtk2 Open-File Dialog
widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane"
widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
# Google Chrome/Chromium Styles (requires 9.0.597 or newer)
style "chromium-toolbar-button" {{
engine "murrine" {{
roundness = 2
textstyle = 0
}}
}}
style "chrome-gtk-frame" {{
ChromeGtkFrame::frame-color = @titlebar_bg_color
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::frame-gradient-size = 0
ChromeGtkFrame::frame-gradient-color = @titlebar_bg_color
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
ChromeGtkFrame::incognito-frame-gradient-size = 0
ChromeGtkFrame::incognito-frame-gradient-color = @titlebar_bg_color
ChromeGtkFrame::scrollbar-trough-color = @bg_color
ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @text_color, @bg_color)
ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @text_color, @bg_color)
}}
class "ChromeGtkFrame" style "chrome-gtk-frame"
widget_class "*Chrom*Button*" style "chromium-toolbar-button"
# General Styles
class "GtkWidget" style "murrine-default"
class "GtkFrame" style "murrine-wide"
class "MetaFrames" style "metacity-frame"
class "GtkWindow" style "metacity-frame"
class "GtkSeparator" style "murrine-wide"
class "GtkCalendar" style "murrine-wide"
class "GtkSpinButton" style "murrine-spinbutton"
class "GtkScale" style "murrine-scale"
class "GtkVScale" style "murrine-vscale"
class "GtkHScale" style "murrine-hscale"
class "GtkScrollbar" style "murrine-scrollbar"
class "GtkVScrollbar" style "murrine-vscrollbar"
class "GtkHScrollbar" style "murrine-hscrollbar"
class "GtkRadio*" style "murrine-radiocheck"
class "GtkCheck*" style "murrine-radiocheck"
class "GtkEntry" style "murrine-entry"
widget_class "*<GtkNotebook>" style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
widget_class "*.GtkNotebook.*.GtkViewport" style "murrine-notebook"
widget_class "*<GtkButton>" style "murrine-button"
widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
widget_class "*<GtkProgress>" style "murrine-progressbar"
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
widget_class "*<GtkMenu>*" style "murrine-menu"
widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
widget_class "*Menu*.*Sepa*" style "murrine-separator-menu-item"
widget_class "*<GtkMenuBar>*" style "murrine-menubar"
widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "murrine-menubaritem"
widget_class "*GtkToolButton*" style "murrine-toolbutton"
widget_class "*GtkToggleToolButton*" style "murrine-toolbutton"
widget_class "*GtkMenuToolButton*" style "murrine-toolbutton"
widget_class "*GtkToolbar*Button" style "murrine-toolbutton"
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
widget "gtk-tooltip*" style "murrine-tooltips"
widget_class "*<GtkScrolledWindow>*<OsScrollbar>" style "murrine-overlay-scrollbar"
# Workarounds and Non-Standard Styling
style "text-is-fg-color-workaround" {{
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @text_color
text[INSENSITIVE] = mix (0.5, @bg_color, @text_color)
}}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text-is-fg-color-workaround"
style "fg-is-text-color-workaround" {{
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@text_color)
}}
widget_class "*<GtkListItem>*" style "fg-is-text-color-workaround"
widget_class "*<GtkCList>" style "fg-is-text-color-workaround"
widget_class "*<EelEditableLabel>" style "fg-is-text-color-workaround"
style "murrine-evo-new-button-workaround" {{
engine "murrine" {{
toolbarstyle = 0
}}
}}
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
style "inkscape-toolbar-fix" {{
engine "murrine" {{
gradient_shades = {{ 1.0, 1.0, 1.0, 1.0 }}
highlight_shade = 1.0
}}
}}
#widget "*GtkHandleBox*" style "inkscape-toolbar-fix"
#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix"
#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix"
# Performance Fixes
style "performance-fix" {{
engine "murrine" {{
textstyle = 0
}}
}}
widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape
widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp
widget_class "*GimpToolbox*" style "performance-fix"
widget_class "*GimpMenuDock*" style "performance-fix"
widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice
widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.)
widget_class "*XfceHeading*" style "xfce-header"
widget_class "*XfceDesktop*" style "xfdesktop-windowlist"
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
widget "xfwm4-tabwin*" style "xfwm-tabwin"
widget_class "*XfsmLogoutDialog*" style "xfsm-logout"
widget_class "*XfsmLogoutDialog*GtkButton" style "xfsm-logout-button"

View File

@ -0,0 +1 @@
/home/hate/.local/share/themes/FlatColor/gtk-3.0/gtk.css

View File

@ -0,0 +1,93 @@
/* Default color scheme */
@define-color bg_color {color0};
@define-color fg_color {color15};
@define-color base_color {color1};
@define-color text_color {color15};
@define-color selected_bg_color {active};
@define-color selected_fg_color {color15};
@define-color tooltip_bg_color {color0};
@define-color tooltip_fg_color {color15};
/* colormap actually used by the theme, to be overridden in other css files */
@define-color theme_bg_color @bg_color;
@define-color theme_fg_color @fg_color;
@define-color theme_base_color @base_color;
@define-color theme_text_color @text_color;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
@define-color theme_tooltip_bg_color @tooltip_bg_color;
@define-color theme_tooltip_fg_color @tooltip_fg_color;
/* shadow effects */
@define-color light_shadow #eeeeee;
@define-color dark_shadow #222222;
/* misc colors used by gtk+ */
@define-color info_fg_color white;
@define-color info_bg_color #BACF66;
@define-color warning_fg_color white;
@define-color warning_bg_color #E6A682;
@define-color question_fg_color white;
@define-color question_bg_color #74C47B;
@define-color error_fg_color white;
@define-color error_bg_color #E682C8;
@define-color link_color mix (@theme_selected_bg_color, black, 0.15);
@define-color success_color #53a93f;
@define-color warning_color #f57900;
@define-color error_color #cc0000;
/* widget colors*/
@define-color border_color #363D43;
@define-color button_normal_color #3F474A;
@define-color button_info_color #72B279;
@define-color button_default_active_color shade(@theme_selected_bg_color, 0.857);
@define-color entry_border_color shade(@theme_base_color, 0.9);
@define-color frame_border_bottom_color #E3E4E7;
@define-color sel_color #B98CD7;
@define-color switch_bg_color #C9CBCF;
@define-color panel_bg_color @bg_color;
@define-color panel_fg_color @fg_color;
@define-color borders #FAFAFA;
@define-color scrollbar_trough shade(@theme_base_color, 0.9);
@define-color scrollbar_slider_prelight mix(@scrollbar_trough, @theme_fg_color, 0.5);
/* osd */
@define-color osd_separator #49525B;
@define-color osd_fg #ABB4BD;
@define-color osd_bg #434A54;
/* window manager colors */
@define-color wm_bg @theme_bg_color;
@define-color wm_title_focused @theme_fg_color;
@define-color wm_title_unfocused @theme_text_color;
@define-color wm_border_focused @border_color;
@define-color wm_border_unfocused @border_color;
@import url("gtk-widgets.css");
@import url("gtk-widgets-assets.css");
@import url("unity.css");
@import url("widgets/button.css");
@import url("widgets/cell-row.css");
@import url("widgets/check-radio.css");
@import url("widgets/column-header.css");
@import url("widgets/calendar.css");
@import url("widgets/entry.css");
@import url("widgets/infobar.css");
@import url("widgets/menu.css");
@import url("widgets/notebook.css");
@import url("widgets/progress-scale.css");
@import url("widgets/scrollbar.css");
@import url("widgets/separator.css");
@import url("widgets/sidebar.css");
@import url("widgets/spinbutton.css");
@import url("widgets/spinner.css");
@import url("widgets/switch.css");
@import url("widgets/color-chooser.css");
@import url("widgets/toolbar.css");
@import url("widgets/header-bar.css");
@import url("widgets/osd.css");
@import url("widgets/csd.css");
@import url("widgets/combobox.css");
@import url("widgets/selection-mode.css");

View File

@ -0,0 +1 @@
/home/hate/.local/share/themes/FlatColor/gtk-3.20/gtk.css

View File

@ -0,0 +1,107 @@
/* Default color scheme */
@define-color color0 {color0};
@define-color color1 {color1};
@define-color color2 {color2};
@define-color color3 {color3};
@define-color color4 {color4};
@define-color color5 {color5};
@define-color color6 {color6};
@define-color color7 {color7};
@define-color color8 {color8};
@define-color color9 {color9};
@define-color color10 {color10};
@define-color color11 {color11};
@define-color color12 {color12};
@define-color color13 {color13};
@define-color color14 {color14};
@define-color color15 {color15};
@define-color selected_bg_color {active};
@define-color bg_color mix(@color0, @color15, 0.12);
@define-color tooltip_bg_color mix(@color0, @color15, 0.04);
@define-color base_color mix(@color0, @color15, 0);
@define-color fg_color @color15;
@define-color text_color @color15;
@define-color selected_fg_color @color15;
@define-color tooltip_fg_color @color15;
/* colormap actually used by the theme, to be overridden in other css files */
@define-color theme_bg_color @bg_color;
@define-color theme_fg_color @fg_color;
@define-color theme_base_color @base_color;
@define-color theme_text_color @text_color;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
@define-color theme_tooltip_bg_color @tooltip_bg_color;
@define-color theme_tooltip_fg_color @tooltip_fg_color;
/* shadow effects */
@define-color light_shadow #eeeeee;
@define-color dark_shadow #222222;
/* misc colors used by gtk+ */
@define-color info_fg_color @text_color;
@define-color info_bg_color @bg_color;
@define-color warning_fg_color @text_color;
@define-color warning_bg_color @bg_color;
@define-color question_fg_color @text_color;
@define-color question_bg_color @theme_selected_bg_color;
@define-color error_fg_color @text_color;
@define-color error_bg_color #f52400;
@define-color link_color mix (@theme_selected_bg_color, black, 0.15);
@define-color success_color #53a93f;
@define-color warning_color #f57900;
@define-color error_color #f52400;
/* widget colors*/
@define-color border_color shade(@theme_selected_bg_color, 0.2);
@define-color button_normal_color shade(@theme_bg_color, 1.20);
@define-color button_info_color @theme_selected_bg_color;
@define-color button_default_active_color @theme_selected_bg_color;
@define-color entry_border_color shade(@theme_base_color, 0.9);
@define-color frame_border_bottom_color shade(@bg_color, 0.8);
@define-color sel_color shade(@theme_selected_bg_color, 0.857);
@define-color switch_bg_color shade(@bg_color, 0.8);
@define-color panel_bg_color @bg_color;
@define-color panel_fg_color @fg_color;
@define-color borders shade(@theme_selected_bg_color, 0.857);
@define-color scrollbar_trough shade(@theme_base_color, 0.9);
@define-color scrollbar_slider_prelight mix(@scrollbar_trough, @theme_fg_color, 0.5);
/* osd */
@define-color osd_separator #49525B;
@define-color osd_fg #ABB4BD;
@define-color osd_bg #434A54;
/* window manager colors */
@define-color wm_bg @theme_bg_color;
@define-color wm_title_focused @theme_fg_color;
@define-color wm_title_unfocused @theme_text_color;
@define-color wm_border_focused @border_color;
@define-color wm_border_unfocused @border_color;
@import url("gtk-widgets.css");
@import url("unity.css");
@import url("widgets/button.css");
@import url("widgets/cell-row.css");
@import url("widgets/check-radio.css");
@import url("widgets/column-header.css");
@import url("widgets/calendar.css");
@import url("widgets/entry.css");
@import url("widgets/infobar.css");
@import url("widgets/menu.css");
@import url("widgets/notebook.css");
@import url("widgets/progress-scale.css");
@import url("widgets/scrollbar.css");
@import url("widgets/separator.css");
@import url("widgets/sidebar.css");
@import url("widgets/spinbutton.css");
@import url("widgets/spinner.css");
@import url("widgets/switch.css");
@import url("widgets/color-chooser.css");
@import url("widgets/toolbar.css");
@import url("widgets/header-bar.css");
@import url("widgets/osd.css");
@import url("widgets/csd.css");
@import url("widgets/combobox.css");
@import url("widgets/selection-mode.css");

178
.tmux.conf Normal file
View File

@ -0,0 +1,178 @@
#---------------------------------------------------------------
# file: ~/.tmux/conf
# vim:fenc=utf-8:nu:ai:si:et:ts=4:sw=4:fdm=indent:fdn=1:ft=conf:
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
# Tmuxline theme-file
#source-file ~/.config/nvim/nord
# use vim motion keys while in copy mode
setw -g mode-keys vi
############################################################################
# Reset Prefix
############################################################################
set -g prefix C-a
bind-key a send-prefix # for nested tmux sessions
############################################################################
# Global options
############################################################################
# large history
set-option -g history-limit 10000
# colors
set -g default-terminal "st-256color" #"xterm-256color" # "screen-256color"
# basic settings
set-window-option -g xterm-keys on # for vim
set-window-option -g mode-keys vi # vi key
set-window-option -g monitor-activity on
# Automatically set window title
setw -g automatic-rename
# use mouse # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/
set -g mouse on
set -g history-limit 30000
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# vi movement keys
set-option -g status-keys vi
############################################################################
# Status Bar
############################################################################
set -g status-left-length 70
#set -g status-left '#[fg=black,bg=cyan] #(~/.config/Scripts/showip) #[fg=black,bg=blue,nobold,noitalics,nounderscore] '
set -g status-interval 1
set-option -g status-position top
# Titles (window number, program name, active (or not)
set-option -g set-titles on
#set-option -g set-titles-string '#H:#S.#I.#P #W #T'
#set-option -g status-justify centre
#set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
###########################################################################
#Tmuxline
###########################################################################
############################################################################
# Unbindings
############################################################################
unbind [ # copy mode bound to escape key
unbind j
unbind C-b # unbind default leader key
unbind '"' # unbind horizontal split
unbind % # unbind vertical split
############################################################################
# Bindings
############################################################################
# reload tmux conf
bind-key r source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind Escape copy-mode
# new split in current pane (horizontal / vertical)
bind-key c split-window -v # split pane horizontally
bind-key v split-window -h # split pane vertically
# list panes
bind-key Space list-panes
# break-pane
bind-key Enter break-pane
# join-pane [-dhv] [-l size | -p percentage] [-s src-pane]
# [-t:dst-window.dst-pane] (destination window (dot) destination pane
# (alias: joinp)
#
#bind C-j command-prompt "joinp"
#bind C-j command-prompt "join-pane"
#bind-key j command-prompt "join-pane -s '%%'"
#bind-key j command-prompt "joinp -t:0"
bind-key Space command-prompt "joinp -t:%%" # %% = prompt for window.pane [-V|H] # vert|hor split
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
############################################################################
# windows
############################################################################
bind C-j previous-window
bind C-k next-window
bind-key C-a last-window # C-a C-a for last active window
bind A command-prompt "rename-window %%"
# By default, all windows in a session are constrained to the size of the
# smallest client connected to that session,
# even if both clients are looking at different windows.
# It seems that in this particular case, Screen has the better default
# where a window is only constrained in size if a smaller client
# is actively looking at it.
setw -g aggressive-resize on
set -g set-clipboard on
############################################################################
# panes
############################################################################
# Navigation ---------------------------------------------------------------
# use the vim motion keys to move between panes
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Resizing ---------------------------------------------------------------
bind-key C-h resize-pane -L
bind-key C-j resize-pane -D
bind-key C-k resize-pane -U
bind-key C-l resize-pane -R
############################################################################
# layouts
############################################################################
bind o select-layout "active-only"
bind M-- select-layout "even-vertical"
bind M-| select-layout "even-horizontal"
bind M-r rotate-window
# focus on first window
# select-window -t 0
###########################################################################
# List of plugins
###########################################################################
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin "arcticicestudio/nord-tmux"
##########################################################################
# Plugins settings
##########################################################################
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-processes ':all:'
set -g @continuum-restore 'on'
set -g @continuum-save-interval '10'
# for neovim
set -g @resurrect-strategy-nvim 'session'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

68
.zaliases Normal file
View File

@ -0,0 +1,68 @@
#My aliases
alias openskylab="sudo openvpn ~/.openvpn/OPNsense-udp-1194.ovpn"
alias reload="source ~/.zshrc"
alias torrent="transmission-remote -n 'transmission:transmission' -a"
alias mirror="sudo reflector --protocol https --latest 50 --number 20 --sort rate --save /etc/pacman.d/mirrorlist"
alias v="f -e nvim" #quick opening files with vim
alias m="f -e mpv" #quick opening files with mpv
alias o="a -e xdg-open" #quick opening files with xdg-open
alias ..="cd .."
alias play="ncmpcpp -S visualizer"
alias userkey="gpg --search-keys"
alias wspeedd="speedometer -rx wlp11s0"
alias wspeedu="speedometer -tx wlp11s0"
alias edis='expressvpn disconnect'
alias aws1='ssh ubuntu@ec2-18-196-102-236.eu-central-1.compute.amazonaws.com'
alias gcp='gcloud compute ssh instance-1'
alias blist='borg list ssh://borg@docker1.home.hartzan.com:2222/backup/arch'
#Check the weather:
weath() { curl wttr.in/Hameenlinna ;}
fzf_find_edit() {
local file=$(
fzf --no-multi --preview 'bat --color=always --line-range :500 {}'
)
if [[ -n $file ]]; then
$EDITOR $file
fi
}
alias ffe='fzf_find_edit'
fda() {
local dir
dir=$(find ${1:-.} -type d 2> /dev/null | fzf +m) && cd "$dir"
}
alias fcd='fda'
fzf_grep_edit(){
if [[ $# == 0 ]]; then
echo 'Error: search term was not provided.'
return
fi
local match=$(
rg --color=never --line-number "$1" |
fzf --no-multi --delimiter : \
--preview "bat --color=always --line-range {2}: {1}"
)
local file=$(echo "$match" | cut -d':' -f1)
if [[ -n $file ]]; then
$EDITOR $file +$(echo "$match" | cut -d':' -f2)
fi
}
alias fge='fzf_grep_edit'
fzf_kill() {
local pids=$(
ps -f -u $USER | sed 1d | fzf --multi | tr -s [:blank:] | cut -d' ' -f3
)
if [[ -n $pids ]]; then
echo "$pids" | xargs kill -9 "$@"
fi
}
alias fkill='fzf_kill'

21
.zshenv Normal file
View File

@ -0,0 +1,21 @@
#ZSH-env
ZDOTDIR=$HOME
# display
export DEFAULT_USER="hate"
export VDPAU_DRIVER="va_gl"
export LIBVA_DRIVER_NAME="iHD"
# Common apps
export ZSH=/home/hate/.oh-my-zsh
export EDITOR=nvim
export BROWSER=/usr/bin/google-chrome-stable
export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa"
#fzf
export FZF_CTRL_R_OPTS='--sort --exact'
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
export FZF_DEFAULT_COMMAND='fd --type f --hidden'
# Compilation flags
export ARCHFLAGS="-arch x86_64"