basic sway binds, git, rofi

This commit is contained in:
eneller
2024-03-21 18:46:12 +01:00
parent 62f344a83d
commit eb1c5081d9
12 changed files with 361 additions and 556 deletions

View File

@@ -1,5 +1,8 @@
# vim: filetype=i3config
# Logo key. Use Mod1 for Alt.
set $mod Mod4
bindsym $mod+F12 reload
focus_follows_mouse no
# Variables to set
set $terminal alacritty
@@ -7,14 +10,6 @@ set $browser firefox
set $files thunar
set $editor code
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $smallmenu rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/sway/rofi/launcher1.rasi
set $grandmenu rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/sway/rofi/launcher2.rasi
set $cheat kitty -e micro ~/.config/sway/cheatsheet.md
### Idle configuration
@@ -50,17 +45,13 @@ bindsym $mod+F8 exec $files
bindsym $mod+F9 exec lollypop
bindsym $mod+F10 exec spotify
bindsym $mod+F11 exec rofi -show drun
bindsym $mod+F12 exec rofi -show drun
## xfce4-terminal
bindsym f12 exec xfce4-terminal --drop-down
bindsym $mod+Shift+Return exec thunar
# Start a terminal
bindsym $mod+Return exec kitty
bindsym $mod+t exec kitty
bindsym Ctrl+Alt+Return exec foot
bindsym Ctrl+Alt+t exec $terminal
bindsym $mod+Return exec "rofi -show"
bindsym $mod+Shift+Space exec $terminal
# archlinux tweak tool
bindsym Ctrl+Alt+e archlinux-tweak-tool
@@ -72,18 +63,7 @@ bindsym $mod+Shift+x exec archlinux-logout
## Lock Screen
bindsym Ctrl+Alt+l exec ~/.config/sway/scripts/lockman.sh
# Kill focused window
bindsym $mod+q kill
bindsym $mod+Shift+q kill
# Launcher menu
bindsym $mod+d exec $grandmenu
# Launcher menu
bindsym $mod+Shift+d exec $smallmenu
# Cheatsheet
bindsym $mod+Shift+i exec $cheat
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@@ -92,8 +72,6 @@ bindsym $mod+Shift+i exec $cheat
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+r reload
# conky
bindsym $mod+c exec conky-toggle
@@ -137,16 +115,16 @@ bindsym Ctrl+Alt+s exec spotify
# Moving around:
#
# Move your focus around
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
#
# Workspaces:
#
@@ -175,33 +153,18 @@ bindsym Ctrl+Alt+s exec spotify
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
bindsym $mod+Prior container prev
bindsym $mod+Shift+Prior move container to workspace prev
bindsym $mod+Next workspace next
bindsym $mod+Shift+Next move container to workspace next
bindsym $mod+Tab workspace back_and_forth
# Azerty
# Switch to workspace
#bindsym $mod+Ampersand workspace number 1
#bindsym $mod+Eacute workspace number 2
#bindsym $mod+Quotedbl workspace number 3
#bindsym $mod+Apostrophe workspace number 4
#bindsym $mod+Parenleft workspace number 5
#bindsym $mod+Section workspace number 6
#bindsym $mod+Egrave workspace number 7
#bindsym $mod+Exclam workspace number 8
#bindsym $mod+ccedilla workspace number 9
#bindsym $mod+agrave workspace number 10
# moving workspaces between screens:
bindsym $mod+Left move workspace to output left
bindsym $mod+Up move workspace to output up
bindsym $mod+Right move workspace to output right
bindsym $mod+Down move workspace to output down
# Move focused container to workspace
#bindsym $mod+Shift+Ampersand move container to workspace number 1
#bindsym $mod+Shift+Eacute move container to workspace number 2
#bindsym $mod+Shift+Quotedbl move container to workspace number 3
#bindsym $mod+Shift+Apostrophe move container to workspace number 4
#bindsym $mod+Shift+Parenleft move container to workspace number 5
#bindsym $mod+Shift+Section move container to workspace number 6
#bindsym $mod+Shift+Egrave move container to workspace number 7
#bindsym $mod+Shift+Exclam move container to workspace number 8
#bindsym $mod+Shift+ccedilla move container to workspace number 9
#bindsym $mod+Shift+agrave move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
@@ -215,13 +178,13 @@ bindsym Ctrl+Alt+s exec spotify
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+t layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
bindsym $mod+d floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle

View File

@@ -27,5 +27,5 @@ exec_always {
}
input "5824:10203:MoErgo_Glove80_Left_Keyboard" {
xkb_layout "us"
xkb_layout "eu"
}

View File

@@ -1,10 +0,0 @@
/* colors */
* {
al: #00000000;
bg: #1F1F1FFF;
bga: #ffb30033;
bar: #1F1F1FFF;
fg: #FFFFFFFF;
ac: #f15495ff;
}

View File

@@ -1,98 +0,0 @@
configuration{
modi: "run,drun,window";
lines: 5;
font: "Iosevka 12";
show-icons: true;
icon-theme: "Paper Mono";
terminal: "st";
drun-display-format: "{icon} {name}";
location: 0;
disable-history: false;
hide-scrollbar: true;
display-drun: "  Apps ";
}
@theme "everblush"
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}

View File

@@ -1,117 +0,0 @@
/*
*
* Original Author : Aditya Shakya
* Author : DN-debug
*
*/
configuration {
font: "Noto sans 12";
show-icons: true;
icon-theme: "";
display-drun: "";
drun-display-format: "{name}";
disable-history: true;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @al;
text-color: #eeeeee;
}
window {
transparency: "real";
background-color: #101010A9;
text-color: #eeeeee;
border: 0px;
border-color: @ac;
border-radius: 5px;
height: 60%;
width: 60%;
location: northwest;
x-offset: 20%;
y-offset: 20%;
}
entry {
background-color: #000000;
text-color: white;
expand: false;
horizontal-align: 50%;
placeholder: "Type to search";
margin: 0% 0% 0% 20%;
padding: 1.5% 5.5%;
blink: true;
}
inputbar {
children: [ entry ];
background-color: #00000000;
text-color: @bg;
expand: false;
border: 0% 0% 0% 0%;
border-radius: 0px;
border-color: @ac;
margin: 0% 0% 0% 0%;
padding: 1.5%;
}
listview {
background-color: @al;
padding: 0px;
columns: 5;
lines: 5;
spacing: 0%;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @al;
border: 0% 0% 0% 0%;
border-radius: 0% 0% 0% 0%;
border-color: @al;
children: [ inputbar, listview ];
spacing: 0%;
padding: 0%;
}
element {
background-color: @al;
text-color: #eeeeee;
orientation: horizontal;
border-radius: 5%;
padding: 2% 1% 2% 1%;
}
element-icon {
size: 48px;
border: 0px;
}
element-text {
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0.5% 0.5% -0.5% 0.5%;
}
element selected {
background-color: @sa;
text-color: #ffffff;
border: 0% 0% 0% 0%;
border-radius: 12px;
border-color: @al;
}
element-text selected {
text-color: @ac;
}

View File

@@ -1,117 +0,0 @@
/*
*
* Original Author : Aditya Shakya
* Author : DN-debug
*
*/
configuration {
font: "Noto sans 12";
show-icons: true;
icon-theme: "";
display-drun: "";
drun-display-format: "{name}";
disable-history: true;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @al;
text-color: #eeeeee;
}
window {
transparency: "real";
background-color: #101010A9;
text-color: #eeeeee;
border: 0px;
border-color: @ac;
border-radius: 5px;
height: 90%;
width: 96%;
location: northwest;
x-offset: 2%;
y-offset: 5%;
}
entry {
background-color: #000000;
text-color: white;
expand: false;
horizontal-align: 50%;
placeholder: "Type to search";
margin: 0% 0% 0% 37%;
padding: 1.5% 5.5%;
blink: true;
}
inputbar {
children: [ entry ];
background-color: #00000000;
text-color: @bg;
expand: false;
border: 0% 0% 0% 0%;
border-radius: 0px;
border-color: @ac;
margin: 0% 0% 0% 0%;
padding: 1.5%;
}
listview {
background-color: @al;
padding: 0px;
columns: 5;
lines: 5;
spacing: 0%;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @al;
border: 0% 0% 0% 0%;
border-radius: 0% 0% 0% 0%;
border-color: @al;
children: [ inputbar, listview ];
spacing: 0%;
padding: 0%;
}
element {
background-color: @al;
text-color: #eeeeee;
orientation: horizontal;
border-radius: 5%;
padding: 2% 1% 2% 1%;
}
element-icon {
size: 48px;
border: 0px;
}
element-text {
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0.5% 0.5% -0.5% 0.5%;
}
element selected {
background-color: @sa;
text-color: #ffffff;
border: 0% 0% 0% 0%;
border-radius: 12px;
border-color: @al;
}
element-text selected {
text-color: @ac;
}