[MAJOR] moving to hyprland?

This commit is contained in:
Afonso Franco 2023-05-16 04:01:32 +01:00
parent cb73fd1282
commit 35c93f1a97
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
3 changed files with 146 additions and 119 deletions

View file

@ -1,22 +1,23 @@
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
monitor = eDP-1,1920x1080@60,0x0,1 monitor = eDP-1,1920x1080@60,0x0,1
workspace = eDP-1,1
#Startup config
exec-once=waybar
exec-once=swaybg -i ~/Nextcloud/Documents/backgrounds/Alice/purple_cactus_background.png
exec-once=playerctld
exec-once=nm-applet
exec-once=firefox
exec-once=alacritty
input { input {
kb_layout = us kb_layout = us,pt
kb_variant = kb_variant =
kb_model = kb_model =
kb_options = kb_options = caps:escape , grp:win_space_toggle
kb_rules = kb_rules =
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = no natural_scroll = yes
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
@ -119,16 +120,16 @@ bind = $mainMod, h, resizeactive, -50 0
bind = $mainMod, l, resizeactive, 50 0 bind = $mainMod, l, resizeactive, 50 0
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, moveworkspacetomonitor, 1 current bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, moveworkspacetomonitor, 2 current bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, moveworkspacetomonitor, 3 current bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, moveworkspacetomonitor, 4 current bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, moveworkspacetomonitor, 5 current bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, moveworkspacetomonitor, 6 current bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, moveworkspacetomonitor, 7 current bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, moveworkspacetomonitor, 8 current bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, moveworkspacetomonitor, 9 current bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, moveworkspacetomonitor, 10 current bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9] # Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1

View file

@ -1,12 +1,6 @@
configuration { configuration {
modi: "drun,filebrowser";
font: "FiraCode Nerd Font Mono 16"; font: "FiraCode Nerd Font Mono 16";
show-icons: true; show-icons: true;
drun-display-format: "{icon} {name}";
disable-history: false;
hide-scrollbar: true;
display-drun: " Apps";
sidebar-mode: true;
} }
@theme "~/.config/rofi/themes/teal.rasi" @theme "~/.config/rofi/themes/teal.rasi"

View file

@ -1,112 +1,144 @@
* { * {
bg-col: #303446; transparent: #00000000;
bg-col-light: #303446; foreground: #F2F2F2FF;
border-col: #303446; background-selected: #F2F2F245;
selected-col: #44475a; background-active: #F2F2F230;
blue: #8caaee; background-white: #F2F2F211;
fg-col: #c6d0f5; background-black: #00000000;
fg-col2: #e78284; urgent: #E91E6366;
grey: #737994; urgent-selected: #E91E6377;
border-radius: 18px;
width: 600;
font: "FiraCode Nerd Mono 14";
}
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
} }
window { window {
height: 360px; background-color: @transparent;
border: 1px; text-color: #6e6a86;
border-color: black; x-offset: 5px;
background-color: @bg-col; y-offset: -50px;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 4px;
} }
prompt { prompt {
background-color: @blue; enabled: false;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 10px;
} }
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 6px;
margin: 10px 0px 0px 10px;
columns: 1;
background-color: @bg-col;
}
element {
padding: 5px;
border-radius:6px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 40px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button { button {
padding: 10px; action: "ok";
background-color: @bg-col-light; str: " ";
text-color: @grey; font: "FiraCode Nerd Font Mono 16";
vertical-align: 0.5; expand: false;
text-color: #6e6a86; background-color: @transparent; vertical-align: 0.5;
horizontal-align: 0.5; horizontal-align: 0.5;
} }
button selected { entry {
background-color: @bg-col; font: "FiraCode Nerd Font 14";
text-color: @blue; background-color: #26233a;
text-color: #6e6a86;
expand: true;
vertical-align: 0.5;
horizontal-align: 0;
placeholder: "Global Search";
placeholder-color: @foreground;
blink: true;
} }
message { entry-wrapper {
background-color: @bg-col-light; orientation: horizontal;
margin: 2px; margin: 0 12px 0 12px;
padding: 2px; spacing: 24px;
border-radius: 5px; vertical-align: 0.5;
background-color: #26233a;
children: [ button, entry ];
} }
textbox { inputbar {
padding: 6px; padding: 14px;
margin: 10px 0px 0px 10px; background-color: #26233a;
text-color: @blue; text-color: @foreground;
background-color: @bg-col-light; expand: false;
border-radius: 12px;
position: north;
children: [ entry-wrapper ];
}
listview {
background-color: #26233aFB;
padding: 12px 0 12px 0;
spacing: 0;
cycle: true;
dynamic: true;
scrollbar: true;
}
mainbox {
width: 200px;
expand: true;
spacing: 12px;
padding: 5px;
background-color: @background-black;
children: [ inputbar, listview ];
}
scrollbar {
background-color: @background-white;
handle-width: 0;
margin: 0 0 5px 0;
border-radius: 9px;
}
element {
background-color: @transparent;
text-color: @foreground;
orientation: horizontal;
border: 0;
border-color: @background-white;
border-radius: 9px;
spacing: 24px;
margin: 0px 12px 0px 12px;
padding: 10px 24px 10px 24px;
}
element-icon {
size: 24px;
border: 0;
border-color: @transparent;
background-color: transparent;
}
element-text {
font: "FiraCode Nerd Font Mono 12";
expand: true;
horizontal-align: 0;
vertical-align: 0.5;
color: #4AA19B;
background-color: transparent;
}
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
text-color: @foreground;
border-radius: 9px;
}
element normal.active,
element alternate.active {
background-color: @background-active;
text-color: @foreground;
}
element selected {
background-color: #403d5220;
text-color: @foreground;
}
element selected.urgent {
background-color: @urgent-selected;
text-color: @foreground;
}
element selected.active {
background-color: #403d5220;
color: @foreground-selected;
} }