Added ledger to workflow created a top and bottom bar

clean_emacs
TuDatTr 2018-03-05 13:40:11 +01:00
parent fd846f4b24
commit e6575b94c2
No known key found for this signature in database
GPG Key ID: 0DA1B0B23302CA72
11 changed files with 76 additions and 72 deletions

View File

@ -104,11 +104,12 @@
# not able to restore color definitions on exit, simply restart your terminal to restore colors. # not able to restore color definitions on exit, simply restart your terminal to restore colors.
gradient = 1 gradient = 1
# Quepal # Quepal
; gradient_color_1 = '#11998e' gradient_color_1 = '#11998e'
; gradient_color_2 = '#38ef7d' gradient_color_2 = '#38ef7d'
# Teal Love # Teal Love
gradient_color_1 = '#11FFBD' ; gradient_color_1 = '#11FFBD'
gradient_color_2 = '#AAFFA9' ; gradient_color_2 = '#AAFFA9'
[smoothing] [smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100. # Percentage value for integral smoothing. Takes values from 0 - 100.

View File

@ -44,6 +44,7 @@ A list of installed packages and details about them.
(use-package eclim) (use-package eclim)
(use-package flycheck) (use-package flycheck)
(use-package google-this) (use-package google-this)
(use-package ledger-mode)
(use-package ivy) (use-package ivy)
(use-package material-theme) (use-package material-theme)
(use-package ox-twbs) (use-package ox-twbs)
@ -254,6 +255,11 @@ Globaly highlight the current line in a slightly darker shade of grey.
(yas-global-mode 1) (yas-global-mode 1)
#+END_SRC #+END_SRC
** Ledger
#+BEGIN_SRC emacs-lisp
#+END_SRC
** Personal ** Personal
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar my-keys-minor-mode-map (defvar my-keys-minor-mode-map

View File

@ -7,7 +7,7 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(package-selected-packages
(quote (quote
(smartparens rainbow-mode rainbow-delimiters ox-twbs material-theme google-this flycheck eclim counsel auto-complete-auctex auto-complete auctex anaconda-mode use-package)))) (ledger-mode smartparens rainbow-mode rainbow-delimiters ox-twbs material-theme google-this flycheck eclim counsel auto-complete-auctex auto-complete auctex anaconda-mode use-package))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -84,23 +84,13 @@ 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+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
# Open applications on specific workspaces
assign [class="Firefox"] $ws2
assign [class="Spotify"] $ws7
assign [class="Thunderbird"] $ws3
assign [class="Keepassx2"] $ws9
assign [class="Veracrypt"] $ws9
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [title="alsamixer"] flMoating enable border pixel 1 for_window [title="alsamixer"] flMoating enable border pixel 1
for_window [class="Calamares"] floating enable border normal
for_window [title="File Transfer*"] floating enable for_window [title="File Transfer*"] floating enable
for_window [class="Galculator"] floating enable border pixel 1
for_window [class="GParted"] floating enable border normal for_window [class="GParted"] floating enable border normal
for_window [title="i3_help"] floating enable sticky enable border normal for_window [title="i3_help"] floating enable sticky enable border normal
for_window [class="Lightdm-gtk-greeter-settings"] floating enable for_window [class="Lightdm-gtk-greeter-settings"] floating enable
for_window [class="Lxappearance"] floating enable sticky enable border normal for_window [class="Lxappearance"] floating enable sticky enable border normal
for_window [title="MuseScore: Play Panel"] floating enable
for_window [class="Nitrogen"] floating enable sticky enable border normal for_window [class="Nitrogen"] floating enable sticky enable border normal
for_window [class="Oblogout"] fullscreen enable for_window [class="Oblogout"] fullscreen enable
for_window [class="octopi"] floating enable for_window [class="octopi"] floating enable
@ -109,7 +99,6 @@ for_window [class="(?i)System-config-printer.py"] floating enable border normal
for_window [class="Thus"] floating enable border normal for_window [class="Thus"] floating enable border normal
for_window [class="Timeset-gui"] floating enable border normal for_window [class="Timeset-gui"] floating enable border normal
for_window [class="(?i)virtualbox"] floating enable border normal for_window [class="(?i)virtualbox"] floating enable border normal
for_window [class="Xfburn"] floating enable
# switch to workspace with urgent window automatically # switch to workspace with urgent window automatically
for_window [urgent=latest] focus for_window [urgent=latest] focus
@ -117,14 +106,14 @@ for_window [urgent=latest] focus
############################################################################### ###############################################################################
############################ Startup Applications ############################# ############################ Startup Applications #############################
############################################################################### ###############################################################################
exec --no-startup-id ~/.scripts/startup.sh
exec ~/.scripts/startup.sh
exec --no-startup-id nitrogen --restore; compton -b exec --no-startup-id nitrogen --restore; compton -b
exec --no-startup-id Nextcloud exec --no-startup-id nextcloud
exec --no-startup-id xautolock -time 10 -locker "python ~/.scripts/i3lock.py"
exec --no-startup-id emacs --daemon exec --no-startup-id emacs --daemon
exec --no-startup-id udiskie exec --no-startup-id udiskie
exec --no-startup-id polybar beep -r exec --no-startup-id polybar beep -r
exec --no-startup-id setxkbmap gb,de exec --no-startup-id polybar boop -r
############################################################################### ###############################################################################
################################# Keybindings ################################# ################################# Keybindings #################################
############################################################################### ###############################################################################

View File

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

View File

@ -1,33 +0,0 @@
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
,[
#Wifi
{"full_text":" ","color":"\#00FF00","separator":false,"separator_block_width":6},\
{"full_text":"[${wireless_essid wlp2s0}]","color":"\#808080","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},\
#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"},
#Battery
{"full_text":" ","color":"\#00FF00","separator":false,"separator_block_width":6},\
{"full_text":"${exec cat /sys/class/power_supply/BAT1/capacity}% ","color":"\#808080","separator":false,"separator_block_width":6},\
#Calender/Time
{"full_text":" ","color":"\#2E9AFE","separator":false,"separator_block_width":6},\
{"full_text":"${time %F}","color":"\#808080","separator":false},\
{"full_text":" ","color":"\#0404B4","separator":false,"separator_block_width":6},\
{"full_text":"${time %T} ","color":"\#808080","separator":false}
]

View File

@ -1,3 +1,4 @@
#!/bin/zsh #!/bin/zsh
xrandr --output "eDP1" --mode "1920x1080" xrandr --output "eDP1" --mode "1920x1080"
setxkbmap us,de

View File

@ -21,13 +21,43 @@ height = 25
radius = 6.0 radius = 6.0
fixed-center = true fixed-center = true
tray-position = right
tray-padding = 2
tray-transparent = true
background = #00000000
foreground = ${colors.foreground}
module-margin-left = 1
module-margin-right = 10
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = FontAwesome:style=Regular:pixelsize=10
modules-left = mpd
modules-center =
modules-right = xkeyboard volume xbacklight wlan eth battery
cursor-click = pointer
cursor-scroll = ns-resize
[bar/boop]
monitor = eDP1
width = 100%
height = 2%
bottom = true
radius = 6.0
fixed-center = true
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
line-size = 04 line-size = 0
line-color = ${colors.blue} line-color = ${colors.blue}
border-size = 4 border-size = 0
border-color = #00000000 border-color = #00000000
padding-left = 0 padding-left = 0
@ -42,13 +72,8 @@ font-2 = siji:pixelsize=10;1
font-3 = FontAwesome:style=Regular:pixelsize=10 font-3 = FontAwesome:style=Regular:pixelsize=10
modules-left = i3 modules-left = i3
modules-center = date modules-center =
modules-right = xkeyboard volume xbacklight wlan battery powermenu modules-right = date powermenu
tray-position = right
tray-padding = 2
;tray-transparent = true
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -125,16 +150,32 @@ label-urgent-padding = 4
[module/mpd] [module/mpd]
type = internal/mpd type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song>
icon-prev =  icon-prev = 
icon-stop =  icon-stop = 
icon-play =  icon-play = 
icon-pause =  icon-pause = 
icon-next =  icon-next = 
icon-random = 
icon-repeat = 
label-song-maxlen = 25 toggle-on-foreground =
label-song-ellipsis = true toggle-on-background = #55
bar-progress-width = 45
bar-progress-format = %{A4:mpdseek+2: A5:mpdseek_2:}%fill%%indicator%%empty%%{A A}
bar-progress-indicator = |
bar-progress-indicator-foreground = #ff
bar-progress-indicator-font = 3
bar-progress-fill = ─
bar-progress-fill-foreground = #bb
bar-progress-fill-font = 3
bar-progress-empty = ─
bar-progress-empty-font = 3
bar-progress-empty-foreground = #44
[module/xbacklight] [module/xbacklight]
type = internal/xbacklight type = internal/xbacklight

View File

@ -34,8 +34,8 @@
#window { #window {
location: north; location: north;
anchor: north; anchor: north;
height: 20%; height: 22%;
width: 80%; width: 59%;
orientation: vertical; orientation: vertical;
children: [mainbox]; children: [mainbox];
} }

View File

@ -3,3 +3,4 @@ snippets:~/.emacs.d/snippets
dotfiles:~/.dotfiles dotfiles:~/.dotfiles
PyrSniff:~/workspace/Python/PyrSniff PyrSniff:~/workspace/Python/PyrSniff
Uni:~/Nextcloud/Uni/Studium Uni:~/Nextcloud/Uni/Studium
Studium:~/Nextcloud/Uni/Studium

View File

@ -37,7 +37,8 @@ alias -s cpp=e
alias org="e ~/Nextcloud/orgs/man.org" alias org="e ~/Nextcloud/orgs/man.org"
alias neofetch="neofetch --block_range 0 16" alias neofetch="neofetch --block_range 0 16"
alias diff="diff -s" alias diff="diff -s"
alias ebudget="e ~/Nextcloud/orgs/Budget/MyBudget.ledger"
alias budget="ledger -f ~/Nextcloud/orgs/Budget/MyBudget.ledger"
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# Variables # Variables
@ -45,3 +46,4 @@ export TERM="xterm-256color" # in case you are using urxvt, to bypass an error d
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export LC_ALL=en_GB.UTF-8 export LC_ALL=en_GB.UTF-8
PATH=$PATH:~/.local/bin PATH=$PATH:~/.local/bin