Update Dotfiles

This commit is contained in:
CramMK
2020-07-09 19:44:35 +02:00
parent 819926be4c
commit 1524c5a7fa
9 changed files with 93 additions and 77 deletions

View File

@@ -103,37 +103,37 @@ font:
style: Regular
# Bold font face
bold:
#bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
family: InconsolataLGC Nerd Font Mono
#family: InconsolataLGC Nerd Font Mono
# The `style` can be specified to pick a specific face.
style: Bold
#style: Bold
# Italic font face
italic:
#italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family: InconsolataLGC Nerd Font Mono
#family: InconsolataLGC Nerd Font Mono
# The `style` can be specified to pick a specific face.
style: Italic
#style: Italic
# Bold italic font face
bold_italic:
#bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
family: InconsolataLGC Nerd Font Mono
#family: InconsolataLGC Nerd Font Mono
# The `style` can be specified to pick a specific face.
style: Bold Italic
#style: Bold Italic
# Point size
size: 11.0

View File

@@ -86,7 +86,7 @@
### Text ###
font = Inconsolata 11
font = InconsolataLGC Nerd Font Mono 9
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.

View File

@@ -1,7 +1,7 @@
set $mod Mod4
# Font for Window Titles
font pango:Inconsolata 8
font pango:InconsolataLGC Nerd Font Mono 8
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
@@ -113,7 +113,7 @@ bindsym $mod+Shift+r restart
### Design ###
new_window 1pixel
for_window [class="^.*"] border pixel 4
for_window [class="^.*"] border pixel 2
# Colors from https://www.nordtheme.com/
set $nord0 "#2e3440"

View File

@@ -46,10 +46,9 @@ enable-ipc = false
# FONTS PROVIDED WITH DOTFILES
# https://github.com/stark/siji
font-0 = "Inconsolata:pixelsize=11;2"
font-0 = "InconsolataLGC Nerd Font Mono:pixelsize=9;2"
font-1 = "IPAGothic:fontformat=truetype:antialias=false:pixelsize=11"
font-2 = "Siji:size=7;2"
font-3 = "InconsolataLGC Nerd Font Mono:pixelsize=12;4"
bottom = false
fixed-center = true

View File

@@ -1,12 +1,66 @@
configuration {
modi: "drun";
hide-scrollbar: true;
show-icons: true;
font: "Inconsolata 13";
lines: 7;
display-drun: "";
theme: "nord.rasi";
width: 750;
fullscreen: true;
bw: 0;
show-icons: true;
font: "Inconsolata Nerd Font Mono 11";
drun-display-format: "{icon} {name}";
display-run: " ";
display-drun: " ";
display-window: "";
modi: "drun";
}
* {
background-color: #2E3440;
bg-alt: #3B4252;
fg: #ECEFF4;
nord-blue-light: #88C0D0;
nord-yellow: #EBCB8B;
border: 0;
lines: 12;
padding: 0;
margin: 0;
spacing: 0;
}
window {
width: 30%;
transparency: "real";
}
mainbox {
children: [inputbar, listview];
}
listview {
columns: 1;
}
element {
padding: 12;
orientation: vertical;
text-color: @fg;
}
element selected {
background-color: @bg-alt;
text-color: @nord-blue-light;
}
inputbar {
background-color: @background;
children: [prompt, entry];
}
prompt {
enabled: true;
font: "InconsolataLGC Nerd Font Mono 16";
padding: 5 -12 0 12;
text-color: @nord-yellow;
}
entry {
padding: 12;
text-color: @nord-yellow;
}

View File

@@ -0,0 +1,12 @@
configuration {
modi: "drun";
hide-scrollbar: true;
show-icons: true;
font: "Inconsolata 13";
lines: 7;
display-drun: "";
theme: "nord.rasi";
width: 750;
fullscreen: true;
bw: 0;
}

View File

@@ -1,49 +0,0 @@
#!/bin/bash
# options to be displyed
option0="activate all monitors"
option1="monitor <monitor0> off"
option2="monitor <monitor1> off"
option3="monitor <monitor0> primary"
option4="monitor <monitor1> primary"
option5="monitor <monitor1> same as <monitor0>"
option6="monitor <monitor1> right of <monitor0>"
option7="monitor <monitor1> left of <monitor0>"
option8="monitor <monitor1> above <monitor0>"
option9="monitor <monitor1> below <monitor0>"
option10="rotate monitor <monitor1> right"
option11="rotate monitor <monitor1> left"
option12="rotate monitor <monitor1> normal"
# Variable passed to rofi
options="$option0\n$option1\n$option2\n$option3\n$option4\n$option5\n$option6\n$option7\n$option8\n$option9\n$option10\n$option11\n$option12"
selected="$(echo -e "$options" | rofi -lines 13 -dmenu -p "xrandr")"
case $selected in
$option0)
xrandr --auto;;
$option1)
xrandr --output <monitor0> --off;;
$option2)
xrandr --output <monitor1> --off;;
$option3)
xrandr --output <monitor0> --primary;;
$option4)
xrandr --output <monitor1> --primary;;
$option5)
xrandr --output <monitor1> --same-as <monitor0>;;
$option6)
xrandr --output <monitor1> --right-of <monitor0>;;
$option7)
xrandr --output <monitor1> --left-of <monitor0>;;
$option8)
xrandr --output <monitor1> --above <monitor0>;;
$option9)
xrandr --output <monitor1> --below <monitor0>;;
$option10)
xrandr --output <monitor1> --rotate left;;
$option11)
xrandr --output <monitor1> --rotate right;;
$option12)
xrandr --output <monitor1> --rotate normal;;
esac

View File

@@ -45,11 +45,11 @@ i3lock \
--datestr="%B %d, %Y" \
--timepos="ix:iy-10" \
\
--timesize=19 \
--datesize=15 \
--timesize=17 \
--datesize=13 \
\
--time-font=Inconsolata \
--date-font=Inconsolata \
--time-font="InconsolataLGC Nerd Font Mono" \
--date-font="InconsolataLGC Nerd Font Mono" \
\
--veriftext="" \
--noinputtext="" \