Fixed rofi-config, added simpleclip to emacs, added workspace 0 for i3
This commit is contained in:
@@ -103,9 +103,14 @@
|
||||
# or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
|
||||
# not able to restore color definitions on exit, simply restart your terminal to restore colors.
|
||||
gradient = 1
|
||||
# GMK Noel
|
||||
gradient_color_1 = '#FFFFFF'
|
||||
gradient_color_2 = '#EEB9C1'
|
||||
gradient_color_3 = '#B3DCE1'
|
||||
gradient_color_4 = '#66B9D2'
|
||||
# Cool Blues
|
||||
gradient_color_1 = '#2193b0'
|
||||
gradient_color_2 = '#6dd5ed'
|
||||
; gradient_color_1 = '#2193b0'
|
||||
; gradient_color_2 = '#6dd5ed'
|
||||
# Quepal
|
||||
; gradient_color_1 = '#11998e'
|
||||
; gradient_color_2 = '#38ef7d'
|
||||
|
||||
@@ -21,7 +21,7 @@ focus_follows_mouse no
|
||||
|
||||
# Configure
|
||||
# border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 1
|
||||
new_window pixel 3
|
||||
new_float normal
|
||||
hide_edge_borders none
|
||||
|
||||
@@ -39,6 +39,7 @@ set $ws6 6:
|
||||
set $ws7 7:
|
||||
set $ws8 8:
|
||||
set $ws9 9:
|
||||
set $ws0 0: 0
|
||||
|
||||
|
||||
# switch to workspace
|
||||
@@ -51,6 +52,7 @@ bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws0
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||
@@ -62,6 +64,7 @@ bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+9 move container to workspace $ws9
|
||||
bindsym $mod+Ctrl+0 move container to workspace $ws0
|
||||
|
||||
# Move to workspace with focused container
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||
@@ -73,6 +76,7 @@ bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||
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+9 move container to workspace $ws9; workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
@@ -96,7 +100,6 @@ for_window [title="^Steam Keyboard$"] floating enable
|
||||
###############################################################################
|
||||
|
||||
# exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps; setxkbmap -option grp:lalt_lshift_toggle
|
||||
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
|
||||
exec --no-startup-id picom
|
||||
exec --no-startup-id nextcloud --background
|
||||
exec --no-startup-id udiskie
|
||||
@@ -106,12 +109,13 @@ exec --no-startup-id dunst
|
||||
exec --no-startup-id ~/.scripts/startup.sh
|
||||
exec --no-startup-id llk
|
||||
exec --no-startup-id emacs --daemon
|
||||
exec --no-startup-id syncthing
|
||||
|
||||
###############################################################################
|
||||
################################# Keybindings #################################
|
||||
###############################################################################
|
||||
# Lock
|
||||
bindsym $mod+Shift+0 exec python ~/.scripts/i3lock.py
|
||||
bindsym $mod+Shift+space exec --no-startup-id python ~/.scripts/i3lock.py
|
||||
|
||||
# shutdown
|
||||
bindsym $mod+Shift+s exec poweroff
|
||||
@@ -124,7 +128,7 @@ bindsym $mod+Return exec termite -e byobu
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+d exec --no-startup-id rofi -X -show run
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run -config /home/tuan/.config/rofi/config
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id ~/.scripts/screen.sh up
|
||||
@@ -163,6 +167,12 @@ bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# move focused workspace
|
||||
bindsym $mod+Mod1+h move workspace to output left
|
||||
bindsym $mod+Mod1+j move workspace to output down
|
||||
bindsym $mod+Mod1+k move workspace to output up
|
||||
bindsym $mod+Mod1+l move workspace to output right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
@@ -178,7 +188,7 @@ bindsym $mod+q split toggle
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+Mod1+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
# bindsym $mod+space focus mode_toggle
|
||||
|
||||
@@ -7,6 +7,6 @@ map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d); ~/Templates/L
|
||||
map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf
|
||||
map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Elektro_-_Rechnung_$(date +%g-%m)_-Elektro.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
|
||||
map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
|
||||
map nu shell touch L_$(basename %f .pdf)\.md
|
||||
map nu shell touch $(basename %f .pdf)\.org
|
||||
map ntu shell cp ~/Templates/LaTeX/UniversityAssignmets/assignment.tex .
|
||||
map nw shell sed "s/# $/# $(pwd | rev | cut -d/ -f1 | rev)/" ~/.vim/templates/writeup.md > ./writeup.md
|
||||
|
||||
@@ -1,6 +1,123 @@
|
||||
rofi.theme: sidebar
|
||||
#! State 'bg' 'fg' 'bgalt' 'hlbg' 'hlfg'
|
||||
#rofi.color-normal: #263238,#cfd8dc,#263238,#37474f,#03a9f4
|
||||
#rofi.color-urgent: #263238,#cfd8dc,#263238,#37474f,#03a9f4
|
||||
#rofi.color-active: #e91e63,#cfd8dc,#e91e63,#37474f,#03a9f4
|
||||
rofi.show-icons: true
|
||||
/*******************************************************************************
|
||||
* ROFI Color theme
|
||||
* User: deadguy
|
||||
* Copyright: deadguy
|
||||
* Color-Theme: Materia
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
background-color: #263238;
|
||||
text-color: #cfd8dc;
|
||||
selbg: #03a9f4;
|
||||
actbg: #37474f;
|
||||
urgbg: #e91e63;
|
||||
|
||||
selected-normal-foreground: @selbg;
|
||||
normal-foreground: @text-color;
|
||||
selected-normal-background: @actbg;
|
||||
normal-background: @background-color;
|
||||
|
||||
selected-urgent-foreground: @background-color;
|
||||
urgent-foreground: @text-color;
|
||||
selected-urgent-background: @urgbg;
|
||||
urgent-background: @background-color;
|
||||
|
||||
selected-active-foreground: @selbg;
|
||||
active-foreground: @text-color;
|
||||
selected-active-background: @actbg;
|
||||
active-background: @selbg;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#window {
|
||||
location: north;
|
||||
anchor: north;
|
||||
height: 22%;
|
||||
width: 59%;
|
||||
orientation: vertical;
|
||||
children: [mainbox];
|
||||
}
|
||||
|
||||
#mainbox {
|
||||
spacing: 0.8em;
|
||||
children: [ entry,listview ];
|
||||
}
|
||||
|
||||
#button { padding: 5px 2px; }
|
||||
|
||||
#button selected {
|
||||
background-color: @active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: 0.5em;
|
||||
dynamic: false;
|
||||
cycle: true;
|
||||
}
|
||||
|
||||
#element { padding: 10px; }
|
||||
|
||||
#entry {
|
||||
expand: false;
|
||||
text-color: @normal-foreground;
|
||||
vertical-align: 1;
|
||||
padding: 5px;
|
||||
|
||||
}
|
||||
|
||||
#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: 0 5px solid 0 0;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
132
config/.config/rofi/material.rasi
Normal file
132
config/.config/rofi/material.rasi
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* ROFI color theme
|
||||
*
|
||||
* Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme)
|
||||
*
|
||||
* User: Tomaszal
|
||||
* Copyright: Tomas Zaluckij
|
||||
*/
|
||||
|
||||
* {
|
||||
base00: #263238;
|
||||
base01: #2E3C43;
|
||||
base02: #314549;
|
||||
base03: #546E7A;
|
||||
base04: #B2CCD6;
|
||||
base05: #EEFFFF;
|
||||
base06: #EEFFFF;
|
||||
base07: #FFFFFF;
|
||||
base08: #F07178;
|
||||
base09: #F78C6C;
|
||||
base0A: #FFCB6B;
|
||||
base0B: #C3E88D;
|
||||
base0C: #89DDFF;
|
||||
base0D: #82AAFF;
|
||||
base0E: #C792EA;
|
||||
base0F: #FF5370;
|
||||
|
||||
/*base0D: #00BCD4;*/
|
||||
|
||||
spacing: 0;
|
||||
background-color: transparent;
|
||||
|
||||
font: "Roboto Mono 13";
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
/*fullscreen: true;*/
|
||||
background-color: #263238CC; /*base00 + CC (80% opacity)*/
|
||||
}
|
||||
|
||||
mainbox {
|
||||
children: [inputbar, message, mode-switcher, listview];
|
||||
spacing: 30px;
|
||||
/*margin: 20%;*/
|
||||
padding: 30px 0;
|
||||
border: 1px;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 0 30px;
|
||||
children: [prompt, textbox-prompt-colon, entry, case-indicator];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @base0D;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0 1ch 0 0;
|
||||
text-color: @base0D;
|
||||
}
|
||||
|
||||
entry {
|
||||
text-color: @base07;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
text-color: @base0F;
|
||||
}
|
||||
|
||||
mode-switcher, message {
|
||||
border: 1px 0;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
button, textbox {
|
||||
background-color: @base03;
|
||||
text-color: @base07;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: @base0D;
|
||||
}
|
||||
|
||||
listview {
|
||||
scrollbar: true;
|
||||
margin: 0 10px 0 30px;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
background-color: @base03;
|
||||
handle-color: @base0D;
|
||||
handle-width: 10px;
|
||||
border: 0 1px;
|
||||
border-color: @base0D;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 5px;
|
||||
highlight: bold underline;
|
||||
}
|
||||
|
||||
element normal {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @base0D;
|
||||
}
|
||||
|
||||
element alternate {
|
||||
/*background-color: @base03;*/
|
||||
}
|
||||
|
||||
element normal normal, element selected normal, element alternate normal {
|
||||
text-color: @base07;
|
||||
}
|
||||
|
||||
element normal urgent, element selected urgent, element alternate urgent {
|
||||
text-color: @base0F;
|
||||
}
|
||||
|
||||
element normal active, element selected active, element alternate active {
|
||||
text-color: @base0B;
|
||||
}
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
/*******************************************************************************
|
||||
* ROFI Color theme
|
||||
* User: deadguy
|
||||
* Copyright: deadguy
|
||||
* Color-Theme: Materia
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
background-color: #263238;
|
||||
text-color: #cfd8dc;
|
||||
selbg: #03a9f4;
|
||||
actbg: #37474f;
|
||||
urgbg: #e91e63;
|
||||
|
||||
selected-normal-foreground: @selbg;
|
||||
normal-foreground: @text-color;
|
||||
selected-normal-background: @actbg;
|
||||
normal-background: @background-color;
|
||||
|
||||
selected-urgent-foreground: @background-color;
|
||||
urgent-foreground: @text-color;
|
||||
selected-urgent-background: @urgbg;
|
||||
urgent-background: @background-color;
|
||||
|
||||
selected-active-foreground: @selbg;
|
||||
active-foreground: @text-color;
|
||||
selected-active-background: @actbg;
|
||||
active-background: @selbg;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#window {
|
||||
location: north;
|
||||
anchor: north;
|
||||
height: 22%;
|
||||
width: 59%;
|
||||
orientation: vertical;
|
||||
children: [mainbox];
|
||||
}
|
||||
|
||||
#mainbox {
|
||||
spacing: 0.8em;
|
||||
children: [ entry,listview ];
|
||||
}
|
||||
|
||||
#button { padding: 5px 2px; }
|
||||
|
||||
#button selected {
|
||||
background-color: @active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
|
||||
#inputbar {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
#listview {
|
||||
spacing: 0.5em;
|
||||
dynamic: false;
|
||||
cycle: true;
|
||||
}
|
||||
|
||||
#element { padding: 10px; }
|
||||
|
||||
#entry {
|
||||
expand: false;
|
||||
text-color: @normal-foreground;
|
||||
vertical-align: 1;
|
||||
padding: 5px;
|
||||
|
||||
}
|
||||
|
||||
#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: 0 5px solid 0 0;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user