-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from simonvic/dev
Update v1.3.2
- Loading branch information
Showing
11 changed files
with
256 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
########################################### | ||
# Made by | ||
# _ _ | ||
# (_) (_) | ||
# ___ _ ____ ___ ____ _ _ _ ____ | ||
# /___)| || \ / _ \ | _ \ | | | || | / ___) | ||
#|___ || || | | || |_| || | | | \ V / | |( (___ | ||
#(___/ |_||_|_|_| \___/ |_| |_| \_/ |_| \____) | ||
|
||
# Check updates and give a look at my dotfiles here: | ||
# https://github.com/simonvic/dotfiles | ||
|
||
########################################### | ||
|
||
# Bing base address | ||
bing="http://www.bing.com" | ||
|
||
# Base url | ||
url=$bing"/HPImageArchive.aspx?" | ||
|
||
# Response Format (json or xml or rss) | ||
url+="&format=rss" | ||
|
||
# Day id (0=today, 1=yesterday ...) | ||
url+="&idx=0" | ||
|
||
# Region (it-IT for Italy, en-US for USA etc. ) | ||
url+="&mkt=it-IT" | ||
|
||
# How many photo to download. | ||
url+="&n=1" | ||
|
||
# Url of the image to be downloaded | ||
imageURL=$bing$(wget --quiet -O - $url | awk -F'src="' '{print $2}' | cut -d '&' -f1) | ||
|
||
wget --quiet -O - $imageURL | feh --bg-fill - | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,3 +141,4 @@ esac | |
[[ $lock ]] && lock && { [[ $suspend ]] && systemctl suspend; } | ||
|
||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
/** | ||
########################################### | ||
# Made by | ||
# _ _ | ||
# (_) (_) | ||
# ___ _ ____ ___ ____ _ _ _ ____ | ||
# /___)| || \ / _ \ | _ \ | | | || | / ___) | ||
#|___ || || | | || |_| || | | | \ V / | |( (___ | ||
#(___/ |_||_|_|_| \___/ |_| |_| \_/ |_| \____) | ||
|
||
# Check updates and give a look at my dotfiles here: | ||
# https://github.com/simonvic/dotfiles | ||
|
||
########################################### | ||
*/ | ||
|
||
/* | ||
* drun-display-format: "{icon} | {name} | {generic} | {exec} | {categories} | {comment}"; | ||
*/ | ||
|
||
configuration { | ||
show-icons: false; | ||
} | ||
|
||
* { | ||
/* | ||
* DEBUG | ||
|
||
border: 1px solid; | ||
border-color: blue; | ||
margin: 5px; | ||
background-color: red; | ||
*/ | ||
|
||
|
||
text-color: @foreground; | ||
accent: #F0544C; | ||
active-background: @background; | ||
active-foreground: @foreground; | ||
normal-background: @background; | ||
normal-foreground: @foreground; | ||
urgent-background: #9E2A5E; | ||
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: @accent; | ||
selected-active-foreground: #FFFFFF; | ||
selected-normal-background: @accent; | ||
selected-normal-foreground: #FFFFFF; | ||
selected-urgent-background: #9D596B; | ||
selected-urgent-foreground: @foreground; | ||
|
||
foreground: #EEEEEE; | ||
} | ||
|
||
window { | ||
children: [mainbox]; | ||
fullscreen: false; | ||
width: 40%; | ||
location: center; | ||
anchor: south; | ||
y-offset: 25%; | ||
transparency: "real"; | ||
background-color: rgba(0,0,0,0.3); | ||
} | ||
|
||
mainbox { | ||
children: [listview, message, inputbar]; | ||
background-color: rgba(0,0,0,0.1); | ||
spacing: 0; | ||
} | ||
|
||
|
||
inputbar { | ||
children: [prompt, entry]; | ||
background-color: rgba(0,0,0,0.2); | ||
border-radius: 10px; | ||
padding: 10; | ||
margin: 1% 2%; | ||
} | ||
|
||
prompt{ | ||
font: "WorkSans Regular 16"; | ||
background-color: transparent; | ||
padding: 5px; | ||
} | ||
|
||
textbox { | ||
background-color: rgba(0,0,0,0.2); | ||
margin: 0% 2%; | ||
padding: 5px; | ||
border-radius: 10px; | ||
} | ||
|
||
message { | ||
background-color: transparent; | ||
} | ||
|
||
entry{ | ||
font: "WorkSans Regular 16"; | ||
background-color: transparent; | ||
border: 0 0 2px 0 solid; | ||
border-color: @accent; | ||
vertical-align: 1; | ||
} | ||
|
||
listview { | ||
children: [element]; | ||
orientation: vertical; | ||
background-color: transparent; | ||
columns: 1; | ||
fixed-columns: true; | ||
lines: 5; | ||
fixed-height: false; | ||
spacing: 0; | ||
padding: 2% 2%; | ||
scrollbar: true; | ||
reverse: true; | ||
} | ||
|
||
scrollbar{ | ||
background-color: rgba(0,0,0,0.2); | ||
handle-width: 5px; | ||
handle-color: @accent; | ||
margin: 0px 10px; | ||
} | ||
|
||
|
||
element { | ||
children: [element-icon, element-text]; | ||
orientation: horizontal; | ||
background-color: transparent; | ||
border-radius: 10px; | ||
padding: 10px 10px 10px 10px; | ||
} | ||
|
||
element-text{ | ||
font: "WorkSans Regular 11"; | ||
padding: 0% 0% 0% 0%; | ||
} | ||
|
||
element-icon{ | ||
size: 40; | ||
} | ||
|
||
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; | ||
border-color: @active-background; | ||
} | ||
|
||
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: @normal-background; | ||
text-color: @normal-foreground; | ||
} | ||
|
||
element alternate.urgent { | ||
background-color: @urgent-background; | ||
text-color: @urgent-foreground; | ||
} | ||
|
||
element alternate.active { | ||
background-color: @active-background; | ||
text-color: @active-foreground; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters