Changed folder structure, forgot conky files b4

clean_emacs
TuDatTr 2017-12-25 01:12:10 +01:00
parent de18c8064e
commit 8d258d8382
4 changed files with 62 additions and 8 deletions

View File

@ -182,6 +182,7 @@ assign [class="Firefox"] $ws2
assign [class="Spotify"] $ws4 assign [class="Spotify"] $ws4
assign [class="Thunderbird"] $ws7 assign [class="Thunderbird"] $ws7
assign [class="Keepassx2"] $ws8 assign [class="Keepassx2"] $ws8
assign [class="Veracrypt"] $ws8
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [title="alsamixer"] floating enable border pixel 1 for_window [title="alsamixer"] floating enable border pixel 1
@ -269,20 +270,19 @@ mode "resize" {
bindsym $mod+9 exec --no-startup-id "python ~/.scripts/i3lock.py" bindsym $mod+9 exec --no-startup-id "python ~/.scripts/i3lock.py"
# Autostart applications # Autostart applications
exec --no-startup-id ~/.scripts/startup.sh
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id nitrogen --restore; sleep 1; compton -b exec --no-startup-id nitrogen --restore; sleep 1; compton -b
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id xfce4-power-manager exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray #exec --no-startup-id pamac-tray
#609exec --no-startup-id clipit #609exec --no-startup-id clipit
exec --no-startup-id start_conky_maia exec --no-startup-id start_conky_maia
exec --no-startup-id xautolock -time 10 -locker "python ~/.scripts/i3lock.py"
exec_always --no-startup-id ff-theme-util exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor exec_always --no-startup-id fix_xcursor
exec --no-startup-id xautolock -time 10 -locker "python ~/.scripts/i3lock.py"
exec --no-startup-id nextcloud exec --no-startup-id nextcloud
exec --no-startup-id ~/.scripts/dotfiles.sh exec --no-startup-id ~/.scripts/dotfiles.sh
exec --no-startup-id ~/.scripts/startup.sh
# Color palette used for the terminal ( ~/.extend.Xresources file ) # Color palette used for the terminal ( ~/.extend.Xresources file )
# Colors are gathered based on the documentation: # Colors are gathered based on the documentation:
@ -343,7 +343,7 @@ set $i3_color17 #0c0c0c
# Start i3bar to display a workspace bar (plus the system information i3status if available) # Start i3bar to display a workspace bar (plus the system information i3status if available)
bar { bar {
status_command ~/.conkyi3 status_command ~/.scripts/conkyi3
position top position top
font xft:Noto Sans 10.5 font xft:Noto Sans 10.5

View File

@ -46,13 +46,12 @@ hyperlinks = true
#foreground = #dcdccc #foreground = #dcdccc
#foreground_bold = #ffffff #foreground_bold = #ffffff
background = rgba(63, 63, 63, 0.75)
# 20% background transparency (requires a compositor) # 20% background transparency (requires a compositor)
#background = rgba(63, 63, 63, 0.8) background = rgba(63, 63, 63, 0.8)
# If unset, will reverse foreground and background # If unset, will reverse foreground and background
highlight = #2f2f2f #highlight = #2f2f2f
# Colors from color0 to color254 can be set # Colors from color0 to color254 can be set
color0 = #303462 color0 = #303462

4
.scripts/conkyi3 Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
echo "{\"version\":1}"
echo "[[]"
exec conky -c /home/tuan/.scripts/conkyrc

51
.scripts/conkyrc Executable file
View File

@ -0,0 +1,51 @@
background no
out_to_console yes
out_to_x no
max_text_width 0
own_window no
update_interval 0.5
total_run_times 0
short_units yes
if_up_strictness address
use_spacer right
override_utf8_locale no
cpu_avg_samples 2
TEXT
,[
#Pacman
#{"full_text":" ","color":"\#AEB404","separator":false,"separator_block_width":6},\
#{"full_text":"[${execi 200 checkupdates | wc -l}]","color":"\#808080","separator":false,"separator_block_width":6},\
#AUR
#{"full_text":" ","color":"\#AEB404","separator":false,"separator_block_width":6},\
#{"full_text":"[${execi 1900 cower -u | wc -l}]","color":"\#808080","separator":false,"separator_block_width":6},\
#Kernel
#{"full_text":" ","color":"\#FF4000","separator":false,"separator_block_width":6},\
#{"full_text":"[${kernel}]","color":"\#808080","separator":false,"separator_block_width":6},\
#{ "full_text": ": ${kernel}","color":"\#FF4000"},
#Wifi
{"full_text":" ","color":"\#00FF00","separator":false,"separator_block_width":6},\
{"full_text":"[${wireless_essid wlp2s0}]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ": [${upspeed wlp2s0}] ", "color":"\#00FF00", "separator": false, "separator_block_width":6},\
#Finds current volume.
{"full_text":" ","color":"\#268BD2","separator":false,"separator_block_width":6},\
{"full_text":"${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6} ","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ": ${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6} ", "color":"\#268BD2"},
#Brighness
{"full_text":" ","color":"\#F7FE2E","separator":false,"separator_block_width":6},\
{"full_text":"[${exec xbacklight| awk '{printf("%d\n",$1 + 0.5)}'}%] ","color":"\#808080","separator":false,"separator_block_width":6},\
#{ "full_text": ": ${exec xbacklight| awk '{printf("%d\n",$1 + 0.5)}'}% ", "color":"\#F7FE2E"},
#CPU
#{"full_text":" ","color":"\#8D00FF","separator":false,"separator_block_width":6},\
#{"full_text":"[$cpu%]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": " :[$cpu%] ", "color":"\#8D00FF", "separator": false, "separator_block_width":6},\
#Battery
{"full_text":" ","color":"\#00FF00","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_percent BAT1}%]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ":[${battery_percent BAT1}%] ","color":"\#dedede"},
#Calender/Time
{"full_text":" ","color":"\#2E9AFE","separator":false,"separator_block_width":6},\
{"full_text":"${time %a %b %d}","color":"\#808080","separator":false},\
#{"full_text": " :${time %a %d %b} ${time %H:%M:%S} ","color": "\#2E9AFE", "separator": false},
{"full_text":" ","color":"\#0404B4","separator":false,"separator_block_width":6},\
{"full_text":"${time %H:%M:%S} ","color":"\#808080","separator":false}
]