Skip to content

Commit b9ebd7f

Browse files
authored
Merge pull request #4 from simonvic/dev
Update v1.3.2
2 parents 3a80faf + fd5a52f commit b9ebd7f

File tree

11 files changed

+256
-14
lines changed

11 files changed

+256
-14
lines changed

.config/i3/config

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
exec numlockx
2525

2626
# Lockscreen
27-
#exec light-locker
2827
exec xset s 600 300
2928
exec xss-lock -n "$HOME/.config/i3/scripts/brightness.sh screensaver" -l -- $HOME/.config/i3/scripts/lockscreen.sh --suspend
3029

3130
# Restore redshift state
3231
exec $HOME/.config/i3/scripts/restoreRedshift.sh
3332

3433
# Use feh to set wallpaper
35-
exec_always feh --bg-fill $HOME/Pictures/Wallpapers/mountain3.jpg
36-
#exec feh --bg-fill $HOME/Pictures/LogoRemakeFinal/4kBackground+ps.jpg
34+
exec_always feh --bg-fill $HOME/Pictures/Wallpapers/desert2.jpg
35+
# [WIP] Set the Bing wallpaper of the day as your background
36+
# exec_always $HOME/.config/i3/scripts/bingWallpaper.sh
3737

3838
# Picom
39-
exec_always --no-startup-id picom --experimental-backends --blur-method dual_kawase --blur-strength 10 --config .config/picom/picom.conf
39+
exec_always --no-startup-id picom --experimental-backends --blur-method dual_kawase --blur-strength 15 --config .config/picom/picom.conf
4040

4141
# Run polybar
4242
exec_always --no-startup-id $HOME/.config/polybar/scripts/polybar-manager.sh launch
@@ -156,6 +156,7 @@ bindsym $mod+Shift+q kill
156156
bindsym $mod+a exec rofi -show drun -theme .config/rofi/themes/simonvic_window_reverse
157157
bindsym $mod+Ctrl+a exec rofi -show run -theme .config/rofi/themes/simonvic_reverse
158158
bindsym $mod+Tab exec rofi -show window -theme .config/rofi/themes/simonvic_reverse
159+
bindsym $mod+c exec rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xclip -selection clipboard -i" -theme .config/rofi/themes/simonvic_calc
159160

160161

161162
# you can use the cursor keys:

.config/i3/scripts/bingWallpaper.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/bash
2+
3+
###########################################
4+
# Made by
5+
# _ _
6+
# (_) (_)
7+
# ___ _ ____ ___ ____ _ _ _ ____
8+
# /___)| || \ / _ \ | _ \ | | | || | / ___)
9+
#|___ || || | | || |_| || | | | \ V / | |( (___
10+
#(___/ |_||_|_|_| \___/ |_| |_| \_/ |_| \____)
11+
12+
# Check updates and give a look at my dotfiles here:
13+
# https://github.com/simonvic/dotfiles
14+
15+
###########################################
16+
17+
# Bing base address
18+
bing="http://www.bing.com"
19+
20+
# Base url
21+
url=$bing"/HPImageArchive.aspx?"
22+
23+
# Response Format (json or xml or rss)
24+
url+="&format=rss"
25+
26+
# Day id (0=today, 1=yesterday ...)
27+
url+="&idx=0"
28+
29+
# Region (it-IT for Italy, en-US for USA etc. )
30+
url+="&mkt=it-IT"
31+
32+
# How many photo to download.
33+
url+="&n=1"
34+
35+
# Url of the image to be downloaded
36+
imageURL=$bing$(wget --quiet -O - $url | awk -F'src="' '{print $2}' | cut -d '&' -f1)
37+
38+
wget --quiet -O - $imageURL | feh --bg-fill -
39+
40+
41+
42+

.config/i3/scripts/lockscreen.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,4 @@ esac
141141
[[ $lock ]] && lock && { [[ $suspend ]] && systemctl suspend; }
142142

143143
exit 0
144+

.config/i3/scripts/playerctl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function info() {
115115
fi
116116
}
117117

118-
if [ $(playerctl -l) != "No players were found" ]; then
118+
if [ $(playerctl -l | head -n 1) != "No players were found" ]; then
119119
case $1 in
120120
play-pause)
121121
playerctl -p "$player" play-pause

.config/picom/picom.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ blur-kern = "3x3box";
201201
# Exclude conditions for background blur.
202202
# blur-background-exclude = []
203203
blur-background-exclude = [
204-
"window_type = 'dock'",
204+
# "window_type = 'dock'",
205205
"window_type = 'desktop'",
206206
"_GTK_FRAME_EXTENTS@:c"
207207
];

.config/polybar/config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ override-redirect = true
128128
bottom = true
129129

130130
height = 3%
131-
width = 70%
131+
width = 500
132132

133133
offset-y = 2%
134-
offset-x = 288
134+
offset-x = 710
135135

136136
radius = 10
137137

@@ -142,8 +142,8 @@ foreground = ${colors.foreground}
142142

143143

144144
#TO-DO add conky?
145-
modules-left = xkeyboard aur_updates filesystem memory cpu fan temperature
146-
modules-center = todo_list
145+
modules-left =
146+
modules-center = xkeyboard filesystem memory cpu fan temperature
147147
modules-right =
148148

149149

.config/polybar/scripts/polybar-manager.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
###########################################
1515

16+
visibleIcon=""
17+
invisibleIcon=""
18+
1619
TRAY=/tmp/polybar_tray_id
1720

1821
BARS[0]=/tmp/polybar_window_id_main
@@ -104,9 +107,9 @@ function toggle() {
104107
function status() {
105108
status=$(cat ${BARS[$1]} | cut -d ":" -f2)
106109
if [ $status = "visible" ]; then
107-
echo ""
110+
echo $visibleIcon
108111
elif [ $status = "invisible" ]; then
109-
echo ""
112+
echo $invisibleIcon
110113
fi
111114
}
112115

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
/**
2+
###########################################
3+
# Made by
4+
# _ _
5+
# (_) (_)
6+
# ___ _ ____ ___ ____ _ _ _ ____
7+
# /___)| || \ / _ \ | _ \ | | | || | / ___)
8+
#|___ || || | | || |_| || | | | \ V / | |( (___
9+
#(___/ |_||_|_|_| \___/ |_| |_| \_/ |_| \____)
10+
11+
# Check updates and give a look at my dotfiles here:
12+
# https://github.com/simonvic/dotfiles
13+
14+
###########################################
15+
*/
16+
17+
/*
18+
* drun-display-format: "{icon} | {name} | {generic} | {exec} | {categories} | {comment}";
19+
*/
20+
21+
configuration {
22+
show-icons: false;
23+
}
24+
25+
* {
26+
/*
27+
* DEBUG
28+
29+
border: 1px solid;
30+
border-color: blue;
31+
margin: 5px;
32+
background-color: red;
33+
*/
34+
35+
36+
text-color: @foreground;
37+
accent: #F0544C;
38+
active-background: @background;
39+
active-foreground: @foreground;
40+
normal-background: @background;
41+
normal-foreground: @foreground;
42+
urgent-background: #9E2A5E;
43+
urgent-foreground: @foreground;
44+
alternate-active-background: @background;
45+
alternate-active-foreground: @foreground;
46+
alternate-normal-background: @background;
47+
alternate-normal-foreground: @foreground;
48+
alternate-urgent-background: @background;
49+
alternate-urgent-foreground: @foreground;
50+
selected-active-background: @accent;
51+
selected-active-foreground: #FFFFFF;
52+
selected-normal-background: @accent;
53+
selected-normal-foreground: #FFFFFF;
54+
selected-urgent-background: #9D596B;
55+
selected-urgent-foreground: @foreground;
56+
57+
foreground: #EEEEEE;
58+
}
59+
60+
window {
61+
children: [mainbox];
62+
fullscreen: false;
63+
width: 40%;
64+
location: center;
65+
anchor: south;
66+
y-offset: 25%;
67+
transparency: "real";
68+
background-color: rgba(0,0,0,0.3);
69+
}
70+
71+
mainbox {
72+
children: [listview, message, inputbar];
73+
background-color: rgba(0,0,0,0.1);
74+
spacing: 0;
75+
}
76+
77+
78+
inputbar {
79+
children: [prompt, entry];
80+
background-color: rgba(0,0,0,0.2);
81+
border-radius: 10px;
82+
padding: 10;
83+
margin: 1% 2%;
84+
}
85+
86+
prompt{
87+
font: "WorkSans Regular 16";
88+
background-color: transparent;
89+
padding: 5px;
90+
}
91+
92+
textbox {
93+
background-color: rgba(0,0,0,0.2);
94+
margin: 0% 2%;
95+
padding: 5px;
96+
border-radius: 10px;
97+
}
98+
99+
message {
100+
background-color: transparent;
101+
}
102+
103+
entry{
104+
font: "WorkSans Regular 16";
105+
background-color: transparent;
106+
border: 0 0 2px 0 solid;
107+
border-color: @accent;
108+
vertical-align: 1;
109+
}
110+
111+
listview {
112+
children: [element];
113+
orientation: vertical;
114+
background-color: transparent;
115+
columns: 1;
116+
fixed-columns: true;
117+
lines: 5;
118+
fixed-height: false;
119+
spacing: 0;
120+
padding: 2% 2%;
121+
scrollbar: true;
122+
reverse: true;
123+
}
124+
125+
scrollbar{
126+
background-color: rgba(0,0,0,0.2);
127+
handle-width: 5px;
128+
handle-color: @accent;
129+
margin: 0px 10px;
130+
}
131+
132+
133+
element {
134+
children: [element-icon, element-text];
135+
orientation: horizontal;
136+
background-color: transparent;
137+
border-radius: 10px;
138+
padding: 10px 10px 10px 10px;
139+
}
140+
141+
element-text{
142+
font: "WorkSans Regular 11";
143+
padding: 0% 0% 0% 0%;
144+
}
145+
146+
element-icon{
147+
size: 40;
148+
}
149+
150+
element normal.normal {
151+
background-color: @normal-background;
152+
text-color: @normal-foreground;
153+
}
154+
155+
element normal.urgent {
156+
background-color: @urgent-background;
157+
text-color: @urgent-foreground;
158+
}
159+
160+
element normal.active {
161+
background-color: @active-background;
162+
text-color: @active-foreground;
163+
}
164+
165+
element selected.normal {
166+
background-color: @selected-normal-background;
167+
text-color: @selected-normal-foreground;
168+
border-color: @active-background;
169+
}
170+
171+
element selected.urgent {
172+
background-color: @selected-urgent-background;
173+
text-color: @selected-urgent-foreground;
174+
}
175+
176+
element selected.active {
177+
background-color: @selected-active-background;
178+
text-color: @selected-active-foreground;
179+
}
180+
181+
element alternate.normal {
182+
background-color: @normal-background;
183+
text-color: @normal-foreground;
184+
}
185+
186+
element alternate.urgent {
187+
background-color: @urgent-background;
188+
text-color: @urgent-foreground;
189+
}
190+
191+
element alternate.active {
192+
background-color: @active-background;
193+
text-color: @active-foreground;
194+
}

.config/rofi/themes/simonvic_window_reverse.rasi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ scrollbar{
127127
element {
128128
children: [element-icon, element-text];
129129
orientation: horizontal;
130-
background-color: rgba(0,0,0,0.2);
130+
background-color: rgba(0,0,0,0);
131131
border-radius: 10px;
132132
padding: 10px 10px 10px 10px;
133133
}

.zshrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ alias feeds="xdg-open .newsboat/urls"
121121
alias themes='bash -c "$(wget -qO- https://git.io/vQgMr)"'
122122
alias todo=~/Documents/Programming/scripts/todo/todo.sh
123123
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
124+
alias xo='xdg-open'
124125

125126
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
126127
if [[ ! -d $ZSH_CACHE_DIR ]]; then

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# simonvic personal full-keyboard driven rice/workflow
2-
![version](https://img.shields.io/badge/version-1.3.1-red)
2+
![version](https://img.shields.io/badge/version-1.3.2-red)
33

44
## Getting started
55
Make sure to visit the [Wiki](https://github.com/simonvic/dotfiles/wiki) to have a ful overview of what my workflow can offer

0 commit comments

Comments
 (0)