Commit fac1d9bd authored by Franciszek Madej's avatar Franciszek Madej 🤞

add sway better

parent 10a7bea0
......@@ -64,7 +64,7 @@
# the top and down respectevly.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "0x8-16+58"
geometry = "0x16-20+60"
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
......@@ -154,7 +154,7 @@
# Looks!
frame_width = 1
frame_color = "#fba922"
frame_color = "#f5f5f5"
[shortcuts]
......@@ -180,18 +180,18 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1d1f21"
foreground = "#c5c8c6"
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 10
[urgency_normal]
background = "#1d1f21"
foreground = "#c5c8c6"
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 10
[urgency_critical]
background = "#1d1f21"
foreground = "#c5c8c6"
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 0
......
......@@ -117,12 +117,15 @@ syntax on
""" Plugin settings here. """
""""""""""""""""""""""""""""""
set guifont=DejaVu\ Sans\ Mono:h11
set linespace=4
" More colors :)
let base16colorspace=256 " Access colors present in 256 colorspace
colorscheme base16-chalk
colorscheme base16-ocean
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#formatter = 'default'
let g:airline_theme = 'base16_tomorrow'
let g:airline_theme = 'base16_ocean'
let g:airline_section_z = '%l:%v' " Simple line and row counter
" if you want to disable auto detect, comment out those two lines
......
......@@ -5,12 +5,12 @@ rofi.font: Aileron 9
! rofi.color-enabled: true
! Property Name BG Border Separator
rofi.color-window: #151515, #151515, #fba922
rofi.color-window: #2b303b, #2b303b, #fba922
! Property Name BG FG BG-alt Head-BG Head-FG
rofi.color-normal: #151515, #c5c8c6, #151515, #fba922, #1d1f21
rofi.color-active: #151515, #fba922, #fba922, #fba922, #1d1f21
rofi.color-urgent: #151515, #fba922, #fba922, #fba922, #1d1f21
rofi.color-normal: #2b303b, #c0c5ce, #2b303b, #fba922, #1d1f21
rofi.color-active: #2b303b, #c0c5ce, #2b303b, #fba922, #1d1f21
rofi.color-urgent: #2b303b, #c0c5ce, #2b303b, #fba922, #1d1f21
! Set the desired separator style
rofi.separator-style: none
......@@ -22,5 +22,5 @@ rofi.display-combi:
rofi.display-drun:
! Icons
rofi.show-icons: true
! rofi.show-icons: true
rofi.drun-icon-theme: Papirus
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
###################################
# #
# hello there! #
# #
# 1. variables #
# 2. keybinds #
# #
###################################
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
# base16_ocean colors
set $color_0 #2B303B
set $color_1 #BF616A
set $color_2 #A3BE8C
set $color_3 #EBCB8B
set $color_4 #8FA1B3
set $color_5 #B48EAD
set $color_6 #96B5B4
set $color_7 #C0C5CE
set $color_8 #65737E
set $color_F #EFF1F5
# ocean bg and white text
set $bg $color_0
set $fg $color_7
# light green border on multiple windows
# yellow to highlight selected window
# red to highlight window with something urgent
set $border $color_6
set $active $color_3
set $urgent $color_1
# keybinds
# linux key (okay, windows key) as modifier + vim classic
set $mod Mod4
set $left h
set $down j
set $up k
......@@ -20,38 +46,24 @@ set $term termite
# Your preferred application launcher
set $menu rofi -show combi
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/kosciak/.config/misc/wallpapers/portal_in.png fill
output * bg /home/kosciak/.config/misc/wallpapers/ocean_4k.png fill
gaps inner 20
default_border pixel 2
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
# color config
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### Key bindings
#
# Basics:
# type border bg text indicator child_border
client.focused $active $active $fg $fg $active
client.unfocused $border $border $fg $fg $border
client.focused_inactive $border $border $fg $fg $border
client.urgent $urgent $urgent $fg $fg $urgent
gaps inner 16
default_border pixel 2
# for_window [class="^.*"] border pixel 2
smart_borders yes
#
# start a terminal
bindsym $mod+Return exec $term
......@@ -185,25 +197,27 @@ mode "resize" {
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
exec dunst
exec swayidle -w timeout 300 'swaylock' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock'
bar {
font pango:Fira Code, FontAwesome 10
position top
status_command i3status-rs ~/.config/sway/status-rust.toml
colors {
separator #151515
background #151515
statusline #dddddd
focused_workspace #ddb26f #ddb26f #ffffff
active_workspace #333333 #333333 #ffffff
inactive_workspace #151515 #151515 #888888
urgent_workspace #fb9fb1 #fb9fb1 #ffffff
}
swaybar_command waybar
# font pango:Aileron, FontAwesome 10
# position top
# status_command i3status-rs ~/.config/sway/status-rust.toml
gaps 16
# colors {
# separator #151515
# background #2b303b
# statusline #c0c5ce
# focused_workspace #ddb26f #ddb26f #ffffff
# active_workspace #333333 #333333 #ffffff
# inactive_workspace #2b303b #2b303b #888888
# urgent_workspace #fb9fb1 #fb9fb1 #ffffff
# }
}
include /etc/sway/config.d/*
[theme]
name = "plain"
[theme.overrides]
idle_bg = "#151515"
good_bg = "#151515"
info_bg = "#151515"
idle_fg = "#d0d0d0"
separator_bg = "#151515"
idle_bg = "#2b303b"
good_bg = "#2b303b"
info_bg = "#2b303b"
warning_bg = "#2b303b"
critical_bg = "#2b303b"
idle_fg = "#c0c5ce"
separator_bg = "#c0c5ce"
separator = ""
[icons]
......@@ -21,9 +24,6 @@ format_swap = "{SUp}%"
block = "cpu"
interval = 1
[[block]]
block = "sound"
[[block]]
block = "battery"
upower = true
......
......@@ -24,7 +24,7 @@ if ! zgen saved; then
zgen load joepvd/zsh-hints
zgen load vladmrnv/statify
if [ "$(uname -o)" != "Android" ]; then
zgen load marzocchi/zsh-notify
# zgen load marzocchi/zsh-notify
fi
# completions
......
......@@ -2,34 +2,5 @@
export QT_QPA_PLATFORMTHEME="qt5ct"
setxkbmap pl &
~/documents/scripts/autolock &
dunst &
# compton --dbus &
# unclutter &
mpDris2 &
indicator-kdeconnect &
# redshift &
if [ "$(hostname)" = "lucian" ]; then
feh --bg-center ~/.config/misc/wallpapers/portal_out.png &
polybar toplane-x200 &
sudo rfkill block bluetooth &
elif [ "$(hostname)" = "zilean" ]; then
polybar toplane-zilean &
sudo blackwidowcontrol -i &
# feh --bg-fill ~/.config/misc/wallpapers/mountain.jpg &
hsetroot -solid "#151515" &
firefox &
elif [ "$(hostname)" = "diana" ]; then
polybar toplane-diana &
firefox &
discord &
fi
telegram-desktop &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment