Add rofi and some adjustments
This commit is contained in:
@@ -5,7 +5,7 @@ My personal configurations, managed with the 'dotdrop' submodule.
|
||||
|
||||
Accent-Color: #00d3a8
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
| Usage | Name |
|
||||
@@ -15,12 +15,13 @@ Accent-Color: #00d3a8
|
||||
| WM | i3 (work), i3-gaps (home) |
|
||||
| Terminal | xterm |
|
||||
| Font | Inconsolata Nerd Font Mono |
|
||||
| VIM-Theme | Nord |
|
||||
| VIM-Bar | airline |
|
||||
| Vim-Theme | Nord |
|
||||
| Vim-Bar | airline |
|
||||
| Xresources | Nord |
|
||||
| Backlight | light |
|
||||
| Notifications | dunst |
|
||||
| Audio Control | playerctl |
|
||||
| Application Launcher | rofi |
|
||||
| Bar | polybar |
|
||||
| Transparency | picom |
|
||||
| Wallpaper | teh |
|
||||
|
||||
@@ -66,6 +66,9 @@ dotfiles:
|
||||
d_dunst:
|
||||
src: dunst
|
||||
dst: ~/.config/dunst
|
||||
d_rofi:
|
||||
src: rofi
|
||||
dst: ~/.config/rofi
|
||||
|
||||
profiles:
|
||||
laptop:
|
||||
@@ -80,6 +83,7 @@ profiles:
|
||||
- wallpaper
|
||||
- polybar
|
||||
- dunst
|
||||
- rofi
|
||||
work:
|
||||
include:
|
||||
- zsh
|
||||
@@ -135,3 +139,6 @@ profiles:
|
||||
dunst:
|
||||
dotfiles:
|
||||
- d_dunst
|
||||
rofi:
|
||||
dotfiles:
|
||||
- d_rofi
|
||||
|
||||
@@ -14,12 +14,7 @@
|
||||
|
||||
! Font
|
||||
XTerm.vt100.faceName: xft:Inconsolata:antialias=true
|
||||
{%@@ if profile == "work" @@%}
|
||||
XTerm.vt100.faceSize: 12
|
||||
{%@@ endif @@%}
|
||||
{%@@ if profile == "laptop" @@%}
|
||||
XTerm.vt100.faceSize: 13
|
||||
{%@@ endif @@%}
|
||||
|
||||
! Remove Scrollbar
|
||||
XTerm.vt100.scrollBar: false
|
||||
@@ -29,9 +24,3 @@ Xterm.vt100.scrollBar.widht:1
|
||||
XTerm.vt100.translations: #override \n\
|
||||
Ctrl <Key> minus: smaller-vt-font() \n\
|
||||
Ctrl <Key> plus: larger-vt-font()
|
||||
|
||||
! some urxvt term settings
|
||||
URxvt.font: xft:Inconsolata Nerd Font Mono:size=11:antialias=true
|
||||
URxvt.transparent: true
|
||||
URxvt.shading: 50
|
||||
URxvt.scrollBar: false
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
# The transparency of the window. Range: [0; 100].
|
||||
# This option will only work if a compositing window manager is
|
||||
# present (e.g. xcompmgr, compiz, etc.).
|
||||
transparency = 20
|
||||
transparency = 10
|
||||
|
||||
# The height of the entire notification. If the height is smaller
|
||||
# than the font height and padding combined, it will be raised
|
||||
@@ -65,7 +65,7 @@
|
||||
frame_width = 5
|
||||
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#262626"
|
||||
frame_color = "#18191E"
|
||||
|
||||
# Define a color for the separator.
|
||||
# possible values are:
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
### Text ###
|
||||
|
||||
font = Inconsolata Nerd Font Mono 11
|
||||
font = Inconsolata 11
|
||||
|
||||
# The spacing between lines. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
|
||||
@@ -53,11 +53,10 @@ bindsym $mod+Return exec xterm
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
bindsym $mod+Shift+d exec dmenu_run
|
||||
# Rofi
|
||||
bindsym $mod+space exec "rofi -show"
|
||||
bindsym $mod+d exec "rofi -show ssh"
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
@@ -99,7 +98,7 @@ bindsym $mod+e layout toggle split
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
#bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
@@ -234,6 +233,9 @@ bindsym $mod+Shift+BackSpace exec "xlock -mode matrix -info ''"
|
||||
# Custom Workspaces
|
||||
# exec --no-startup-id "chromium-browser"
|
||||
|
||||
for_window [class="spotify"] move container to workspace 7
|
||||
for_window [class="telegram"] move container to workspace 8
|
||||
for_window [class="discord"] move container to workspace 8
|
||||
for_window [class="Chromium"] move container to workspace 9
|
||||
|
||||
# Monitors
|
||||
@@ -246,6 +248,7 @@ workspace $ws10 output $monitor2
|
||||
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
|
||||
# i3-gaps
|
||||
smart_gaps on
|
||||
gaps inner 5
|
||||
|
||||
@@ -3,6 +3,7 @@ opacity-rule = [
|
||||
"90:class_g = 'XTerm' && !focused",
|
||||
"95:class_g = 'XTerm' && focused",
|
||||
"95:class_g = 'discord'",
|
||||
"90:class_g *?= 'Rofi'",
|
||||
];
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
|
||||
@@ -19,7 +19,7 @@ foreground = ${self.white}
|
||||
|
||||
###############################################################################
|
||||
[font]
|
||||
inconsolata = "Inconsolata Nerd Font Mono:pixelsize=11;0"
|
||||
inconsolata = "Inconsolata:pixelsize=11;0"
|
||||
|
||||
###############################################################################
|
||||
[bar/laptop]
|
||||
@@ -271,3 +271,10 @@ click-left = "pkill -n polybar ; systemctl poweroff"
|
||||
type = custom/text
|
||||
content = "Cancel"
|
||||
click-left = "pkill -n polybar"
|
||||
|
||||
###############################################################################
|
||||
[module/load]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/load.sh
|
||||
interval = 5.0
|
||||
|
||||
|
||||
7
dotfiles/polybar/load.sh
Executable file
7
dotfiles/polybar/load.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
function load() {
|
||||
echo -n "$(cat /proc/loadavg | awk -F ' ' '{print $1,$2,$3}')"
|
||||
}
|
||||
|
||||
load
|
||||
11
dotfiles/rofi/config.rasi
Normal file
11
dotfiles/rofi/config.rasi
Normal file
@@ -0,0 +1,11 @@
|
||||
configuration {
|
||||
modi: "drun,run,ssh";
|
||||
//combi-modi: "drun,ssh,run";
|
||||
show-icons: true;
|
||||
theme: "marc.rasi";
|
||||
terminal: "xterm";
|
||||
font: "Inconsolata 13";
|
||||
lines: 7;
|
||||
width: 30;
|
||||
yoffset: -300;
|
||||
}
|
||||
136
dotfiles/rofi/marc.rasi
Normal file
136
dotfiles/rofi/marc.rasi
Normal file
@@ -0,0 +1,136 @@
|
||||
* {
|
||||
selected-normal-foreground: rgba ( 255, 255, 255, 100 % );
|
||||
foreground: rgba ( 193, 193, 193, 100 % );
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: rgba ( 18, 19, 30, 100 % );
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
selected-urgent-foreground: rgba ( 255, 24, 68, 100 % );
|
||||
blue: rgba ( 38, 139, 210, 100 % );
|
||||
urgent-foreground: rgba ( 255, 24, 68, 100 % );
|
||||
alternate-urgent-background: rgba ( 18, 19, 30, 100 % );
|
||||
active-foreground: rgba ( 128, 203, 196, 100 % );
|
||||
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||
selected-active-foreground: rgba ( 128, 203, 196, 100 % );
|
||||
alternate-active-background: rgba ( 18, 19, 30, 100 % );
|
||||
background: rgba ( 18, 19, 30, 100 % );
|
||||
bordercolor: rgba ( 00, 211, 168, 100 % );
|
||||
alternate-normal-foreground: @foreground;
|
||||
normal-background: rgba ( 18, 19, 30, 100 % );
|
||||
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||
selected-normal-background: rgba ( 57, 66, 73, 100 % );
|
||||
border-color: rgba ( 00, 211, 168, 100 % );
|
||||
spacing: 2;
|
||||
separatorcolor: rgba ( 30, 37, 41, 100 % );
|
||||
urgent-background: rgba ( 18, 19, 30, 100 % );
|
||||
selected-urgent-background: rgba ( 57, 66, 73, 100 % );
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
alternate-active-foreground: @active-foreground;
|
||||
active-background: rgba ( 18, 19, 30, 100 % );
|
||||
selected-active-background: rgba ( 57, 66, 73, 100 % );
|
||||
}
|
||||
#window {
|
||||
background-color: @background;
|
||||
border: 5;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#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;
|
||||
}
|
||||
#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: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 4px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#mode-switcher {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
Reference in New Issue
Block a user