Browse Source

x11 again

main
Michael Pappe 4 months ago
parent
commit
90678a6a74
  1. 2
      .config/emacs
  2. 2
      .config/htop/htoprc##default
  3. 2
      .config/kitty/kitty.conf
  4. 4
      .config/nvim/init.vim
  5. 107
      .config/polybar/config
  6. 87
      .config/rofi/config.rasi
  7. 1
      .config/sway/conf.d/windows.conf
  8. 2
      .config/systemd/user/fusuma.service
  9. 2
      .config/systemd/user/xsettingsd.service

2
.config/emacs

@ -1 +1 @@
Subproject commit ecdf2b0b08f4abc84c3fea59ae981f153fc26ef5
Subproject commit ef7113d6c4b169795cee292601a3b20c5a0f643c

2
.config/htop/htoprc##default

@ -17,7 +17,7 @@ highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=1
show_merged_command=0
tree_view=0
tree_view_always_by_pid=0
header_margin=1

2
.config/kitty/kitty.conf

@ -1,5 +1,5 @@
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
linux_display_server auto
#linux_display_server auto
touch_scroll_multiplier 6.0
#: Fonts {{{

4
.config/nvim/init.vim

@ -33,7 +33,7 @@ set number " Line numbering
au TermOpen * setlocal listchars= nonumber norelativenumber
set cursorline
set modeline
set guifont=MesloLGSDZ\ Nerd\ Font:h13,PowerlineSymbols:h13
" airline
let g:airline_powerline_fonts = 1
let g:airline#extensions#wordcount#filetypes = 'pandoc\|text\|' "Add support when pandoc is activated
@ -68,7 +68,7 @@ Plug 'digitaltoad/vim-pug'
"Plug 'rbgrouleff/bclose.vim'
call plug#end()
colorscheme base16-onedark
colorscheme base16-gruvbox-dark-pale
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>

107
.config/polybar/config

@ -1,11 +1,11 @@
[colors]
;{{{
background = ${xrdb:polybar.background:#11282c34}
background-alt = ${colors.primary}
background-alp = #112d2d2d
background = #11262626
background-alt = #FF262626
background-alp = #aa2d2d2d
foreground = ${xrdb:foreground:#c3c3c3}
foreground-alt = ${colors.background}
foreground = #EBDBB2
foreground-alt = #CC838383
primary = ${xrdb:color7:#c3c3c3}
secondary = ${xrdb:color12:#83adad}
@ -20,32 +20,31 @@ monitor = LVDS-1
width = 100%
height = 20
radius = 0
wm-restack = bspwm
wm-restack = i3
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 1
line-size = 0
line-color = #f00
padding-left = 1
padding-right = 1
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
font-0 = MesloLGSDZ Nerd Font Mono:size=10;2
#font-1 = Symbols Nerd Font:size=10:2
#font-2 = Symbols Nerd Font:size=12:2
font-0 = meslolgsdz nerd font mono:size=10;2
font-1 = Material Design Icons Desktop:size=10;2
font-2 = Material Design Icons Desktop:size=12;2
font-2 = Material Design Icons Desktop:size=13;2
font-3 = meslolgsdz nerd font mono:size=14;3
modules-left = i3
modules-center =
modules-right = wlan battery alsa date
modules-left = i3 right
modules-center = left date right
modules-right = left wlan battery alsa
tray-position = right
tray-padding = 0
tray-background = ${colors.background}
tray-background = ${colors.background-alt}
enable-ipc = true
@ -59,7 +58,6 @@ border-bottom-color = ${colors.primary}
;{{{
type = internal/i3
format = <label-state> <label-mode>
;index-sort = true
wrapping-scroll = true
; Only show workspaces on the same output as the bar
pin-workspaces = true
@ -69,18 +67,19 @@ label-mode-padding = 1
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-background = ${colors.background}
label-focused-background = ${colors.background-alt}
label-focused-foreground = ${colors.foreground}
label-focused-underline = ${colors.secondary}
label-focused-padding = 1
label-focused-border-size = 1
label-focused-border-size = 0
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.background}
label-unfocused-foreground = ${colors.foreground-alt}
label-unfocused-background = ${colors.background-alt}
label-unfocused-padding = 1
; visible = Active workspace on unfocused monitor
label-visible = %icon%
label-visible-background = ${self.label-focused-background}
@ -89,7 +88,7 @@ label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.background}
label-urgent-background = ${colors.background-alt}
label-urgent-foreground = ${colors.alert}
label-urgent-underline = ${colors.alert}
label-urgent-padding = ${self.label-focused-padding}
@ -138,16 +137,13 @@ label = %gb_used:8:9GB%
type = internal/network
interface = wlp2s0
interval = 1.5
format-connected-background = ${colors.background}
format-disconnected-background = ${colors.background}
format-connected-prefix = %{T2}󰖩 %{T-}
format-disconnected-prefix = %{T2}󰖪 %{T-}
format-connected-background = ${colors.background-alt}
format-disconnected-background = ${colors.background-alt}
label-connected = %signal%%
#label-connected = %essid%
format-connected = 󰖩
label-connected-foreground = ${colors.shade-1}
label-connected-maxlen = 38
label-disconnected = "!!No Net!!"
#label-disconnected = %ifname%
label-disconnected-foreground = ${colors.alert}
format-connected-padding = 1
format-disconnected-padding = 1
@ -157,11 +153,14 @@ format-disconnected-padding = 1
;{{{
type = internal/date
interval = 1
date = %{T2}󰥔 %{T-} %H:%M
;date = %{T2}󰥔 %{T-} %H:%M
date = %d.%m - %H:%M
date-alt = %{T2}󰸗%{T-} %d %b
label = %date%
label-foreground = ${colors.foreground}
format-background = ${colors.background}
format-background = ${colors.background-alt}
;format-background = ${colors.background}
format-padding = 2
;}}}
@ -169,12 +168,12 @@ format-padding = 2
;{{{
type = internal/alsa
interval = 1
format-background = ${colors.background}
format-volume-background = ${colors.background}
format-muted-background = ${colors.background}
format-background = ${colors.background-alt}
format-volume-background = ${colors.background-alt}
format-muted-background = ${colors.background-alt}
format-volume = <ramp-volume>
format-muted = %{T2} 󰖁 %{T-}
format-muted = %{T2}󰖁%{T-}
label-volume = "%percentage:3%%"
label-volume-foreground = ${colors.shade-1}
@ -183,9 +182,9 @@ label-muted = muted
ramp-volume-active-font = 2
ramp-volume-foreground = ${colors.primary}
ramp-volume-0 = " 󰕿 "
ramp-volume-1 = " 󰖀 "
ramp-volume-2 = " 󰕾 "
ramp-volume-0 = "󰕿"
ramp-volume-1 = "󰖀"
ramp-volume-2 = "󰕾"
format-padding = 1
;}}}
@ -198,22 +197,21 @@ battery = BAT0
adapter = ADP1
full-at = 90
label-charging-foreground = ${colors.shade-1}
label-discharging-foreground = ${colors.shade-1}
label-full-foreground = ${colors.shade-1}
label-charging-foreground = ${colors.foreground}
label-discharging-foreground = ${colors.foreground}
label-full-foreground = ${colors.foreground}
format-charging-background = ${colors.background}
format-discharging-background = ${colors.background}
format-full-background = ${colors.background}
format-charging-background = ${colors.background-alt}
format-discharging-background = ${colors.background-alt}
format-full-background = ${colors.background-alt}
format-charging-padding = 1
format-discharging-padding = 1
format-full-padding = 1
format-low = ${colors.alert}
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full-prefix = %{T2}󰁹 %{T-}
format-full-prefix-foreground = ${colors.primary}
format-low = ${colors.alert}
format-full = 
format-charging = <animation-charging>
format-discharging = <ramp-capacity>
ramp-capacity-0 = %{T2}󰁺 %{T-}
ramp-capacity-1 = %{T2}󰁼 %{T-}
@ -260,6 +258,17 @@ ramp-2 = %{T2}󱃂%{T-}
ramp-foreground = ${colors.primary}
;}}}
[module/left]
type = custom/text
content = %{T4}%{T-}
content-foreground = ${colors.background-alt}
content-background = ${colors.background}
[module/right]
type = custom/text
content = %{T4}%{T-}
content-foreground = ${colors.background-alt}
content-background = ${colors.background}
[settings]
screenchange-reload = true

87
.config/rofi/config.rasi

@ -1,6 +1,85 @@
/** Basic config file **/
configuration {
show-icons: true;
icon-theme: "Papirus";
modi: "drun,run,ssh";
display-drun: "";
display-run: "";
display-ssh: "";
terminal: "/usr/bin/kitty";
run-command: "{cmd}";
run-shell-command: "{terminal} {cmd}";
show-icons: true;
}
* {
columns: 1;
background-color: #262626ED;
border-color: #00000000;
text-color: #DAB997;
font: "MesloLGS Nerd Font 10";
}
#window {
border: 0;
border-radius: 0px;
padding: 8;
}
#mainbox {
background-color: #00000000;
children: [inputbar, listview];
spacing: 5px;
padding: 0px 0;
border: 1px;
}
#listview {
background-color: #00000000;
fixed-height: 0;
border: 0px;
spacing: 5px;
scrollbar: false;
padding: 0px 0px 0px;
}
#element {
background-color: #00000000;
border: 0;
border-radius: 15px;
padding: 3 0 3 4 ;
}
#element selected {
background-color: #00000000;
text-color: #85ADAD;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
background-color: #00000000;
}
#case-indicator {
background-color: #00000000;
spacing: 0;
}
#entry {
background-color: #00000000;
spacing: 0;
}
#prompt {
background-color: #00000000;
color: #85AD85;
spacing: 0;
}
#textbox-prompt-colon {
background-color: #00000000;
expand: false;
str: "" ;
margin: 0.3em 1.0em 0.3em 0.3em ;
}

1
.config/sway/conf.d/windows.conf

@ -32,6 +32,7 @@ assign [class="Com.github.johnfactotum.Foliate"] → $ws9
for_window [app_id="pavucontrol-qt"] floating enable
for_window [app_id="antimicrox"] floating enable
for_window [app_id="openmw"] floating enable
for_window [app_id="retroarch"] floating enable
for_window [class="org.kde.kdeconnect.daemon"] floating enable
for_window [app_id="org.kde.kdeconnect-indicator"] floating enable
for_window [title="File Operation Progress"] floating enable

2
.config/systemd/user/fusuma.service

@ -10,6 +10,6 @@ TimeoutSec=5s
Slice=app.slice
[Install]
WantedBy=sway-session.target
WantedBy=i3-session.target
#[Install]
#WantedBy=graphical.target

2
.config/systemd/user/xsettingsd.service

@ -7,4 +7,4 @@ Type=simple
ExecStart=/usr/bin/xsettingsd
[Install]
WantedBy=sway-session.target
WantedBy=i3-session.target
Loading…
Cancel
Save