Compare commits

..

2 Commits

Author SHA1 Message Date
Bertrand Benjamin e332226281 Feat(sway): path and autotiling-rs 2024-02-12 08:09:30 +01:00
Bertrand Benjamin 0ef904f5c1 Feat(sway): replace theme 2024-02-09 08:39:16 +01:00
6 changed files with 60 additions and 81 deletions

View File

@ -15,4 +15,4 @@ configuration {
sidebar-mode: false;
auto-select: false;
}
@theme "/home/lafrite/.local/share/rofi/rofi-themes-collection/themes/spotlight-dark.rasi"
@theme "~/.local/share/rofi/themes/nord/nord.rasi"

View File

@ -135,15 +135,13 @@ bindsym $mod+Shift+Right move right
#
# Workspaces:
#
set $ws1 1: 󰖟
set $ws2 2:
set $ws1 1:
set $ws2 2:
set $ws3 3: 
set $ws4 4: 
set $ws5 5: 
set $ws6 6: 
set $ws7 7: 
set $ws8 8: 󰖟
set $ws9 9: 
set $ws4 4: 
set $ws5 5: 
set $ws6 6: 
set $ws7 7: 
bindsym $mod+ampersand workspace $ws1
bindsym $mod+eacute workspace $ws2
@ -152,8 +150,8 @@ bindsym $mod+apostrophe workspace $ws4
bindsym $mod+parenleft workspace $ws5
bindsym $mod+minus workspace $ws6
bindsym $mod+egrave workspace $ws7
bindsym $mod+underscore workspace $ws8
bindsym $mod+ccedilla workspace $ws9
bindsym $mod+underscore workspace 8
bindsym $mod+ccedilla workspace 9
bindsym $mod+1 move container to workspace $ws1
bindsym $mod+2 move container to workspace $ws2
@ -162,8 +160,8 @@ bindsym $mod+4 move container to workspace $ws4
bindsym $mod+5 move container to workspace $ws5
bindsym $mod+6 move container to workspace $ws6
bindsym $mod+7 move container to workspace $ws7
bindsym $mod+8 move container to workspace $ws8
bindsym $mod+9 move container to workspace $ws9
bindsym $mod+8 move container to workspace 8
bindsym $mod+9 move container to workspace 9
bindsym $mod+Ctrl+greater move workspace to output right

View File

@ -5,7 +5,7 @@ exec_always /usr/libexec/goa-daemon --replace
exec gammastep-indicator
exec mako
exec "avizo-service"
exec_always autotiling-rs
exec_always ~/.local/bin/sway/autotiling-rs
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

View File

@ -2,8 +2,8 @@
"layer": "top",
"output": "eDP-1",
"height": 30,
"modules-left": ["sway/mode","sway/window" ],
"modules-center": ["sway/workspaces" ],
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "battery", "tray", "clock"],
"sway/window": {
"max-length": 50

View File

@ -1,91 +1,70 @@
* {
border: none;
border-radius: 0;
font-family: Droid Nerd Font Mono;
font-size: 14px;
min-height: 0;
border: none;
border-radius: 0;
font-family: Droid Nerd Font Mono;
font-size: 14px;
min-height: 0;
}
@import "gruvbox.css";
window#waybar {
background: @background;
color: @foreground;
background: @background;
color: @white_b;
}
#workspaces button {
padding: 0 2px;
background: transparent;
color: @foreground;
border-bottom: 3px solid transparent;
padding: 0 2px;
background: transparent;
color: @white_b;
border-bottom: 3px solid transparent;
}
#workspaces button.active {
background: @orange_b;
#workspaces button.focused {
background: @orange;
border-bottom: 3px solid @orange_b;
}
#workspaces button.visible {
background: @orange;
border-radius: 2px;
border-top: 3px solid @orange_b;
}
#mode,
#clock,
#battery {
padding: 0 10px;
margin: 0 5px;
#mode, #clock, #battery {
padding: 0 10px;
margin: 0 5px;
}
#mode {
background: @red;
border-bottom: 3px solid @foreground;
}
#window {
padding: 0 10px;
background: @red;
border-bottom: 3px solid @white_b;
}
#clock {
color: @foreground;
color: @white_b;
}
#battery {
color: @foreground;
color: @white_b;
}
#battery.charging {
color: @green;
color: @gree;
}
@keyframes blink {
to {
background-color: @foreground;
color: @background;
}
to {
background-color: @white_b;
color: @background;
}
}
#idle_inhibitor,
#pulseaudio,
#custom-openvpn,
#network,
#cpu,
#memory,
#temperature,
#backlight,
#battery,
#clock,
#tray {
padding: 0 6px;
margin: 0 3px;
#idle_inhibitor, #pulseaudio, #custom-openvpn, #network, #cpu, #memory, #temperature, #backlight, #battery, #clock, #tray {
padding: 0 6px;
margin: 0 3px;
}
#battery.warning:not(.charging) {
background: @red;
color: @foreground;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
background: @red;
color: @white_b;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}

View File

@ -47,10 +47,7 @@ alias rm='rm -i'
alias cat='bat -pp'
alias less='bat -p'
# Newsboat
alias newsboat='tmux new -As newsboat newsboat'
export PATH="$HOME/.local/bin/:$PATH"
# Autosuggestions
# git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/
source ~/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
@ -75,7 +72,7 @@ bindkey -M vicmd 'j' history-substring-search-down
source ~/.config/zsh/auto-ls/auto-ls.zsh
# Pyenv
eval "$(pyenv init --path)"
# eval "$(pyenv init --path)"
source ~/.config/zsh/completion.zsh
@ -90,10 +87,15 @@ _fzf_complete_pass() {
}
# yarn global commands
export PATH="$(yarn global bin):$PATH"
# export PATH="$(yarn global bin):$PATH"
# zk
export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/"
# export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/"
# tea
PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh"
# PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh"
# Newsboat
# alias newsboat='tmux new -As newsboat newsboat'